example for current user (executing from user)
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
grub timouts
vi /etc/default/grub # update GRUB_TIMEOUT=3 # add GRUB_RECORDFAIL_TIMEOUT=3 update-grub grep "timeout=3" /boot/grub/grub.cfg