You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

allow sudo without password

echo "`whoami`    ALL=(ALL:ALL) NOPASSWD: ALL" |sudo tee /etc/sudoers.d/`whoami`

Update OS

apt update
apt upgrade -y

Nginx with http2

apt install -y nginx

docker

apt install -y docker-compose-v2 docker.io

nfs client

apt install -y nfs-common


nice tools

apt install -y btop 
apt install -y ncdu duf
apt install -y net-tools #netstat
apt install -y tree
apt install -y iotop

switch from nano to vim

sudo update-alternatives --config editor


hardware monitoring tools

apt install -y smartmontools lm-sensors 
#apt install -y fancontrol

set timezone

#tzselect
echo 'Europe/Kyiv' > /etc/timezone

set history

cat <<EOF >> /etc/bash.bashrc
HISTTIMEFORMAT="%Y-%m-%d %T "
HISTSIZE=20000
HISTCONTROL=ignoredups:erasedups
shopt -s histappend
EOF


  • No labels