Ubuntu

  • timezone
1
2
timedatectl list-timezones
timedatectl set-timezone UTC
  • Install ansible for python3
1
2
3
sudo apt-get install python3-pip
echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.zshrc
pip3 install --user XXX
  • Change default editor
1
sudo update-alternatives --config editor
  • Set default locale
1
2
3
sudo vi /etc/locale.gen
sudo locale-gen
sudo update-locale LANG=en_US.UTF-8
  • select the fastest mirror
1
2
3
sudo apt install python3-pip
pip3 install apt-select
apt-select -C US -c -t 3 -m up-to-date
  • i3@vnc
1
2
3
4
5
6
sudo apt install awesome tightvncserver xfonts-75dpi xfonts-100dpi t1-cyrillic
cat > ~/.vnc/xstartup <<EOF
#!/bin/sh
xrdb $HOME/.Xresources
exec awesome
EOF