sudo bash
curl -sLo update_speedtest.sh https://raw.githubusercontent.com/dbrosy/scripts/master/update_speedtest.sh
chmod +x update_speedtest.sh
sudo ./update_speedtest.sh
exit
speedtest-cli
curl -fsSL https://raw.githubusercontent.com/dbrosy/scripts/master/ubuntu-server-sudo.sh > /tmp/ubuntu-server-sudo.sh && sudo bash /tmp/ubuntu-server-sudo.sh
🇳🇿
sudo timedatectl set-timezone 'Pacific/Auckland'
🇦🇺
sudo timedatectl set-timezone 'Australia/Sydney'
Apply
sudo dpkg-reconfigure --frontend noninteractive tzdata
sudo apt install docker.io
sudo systemctl enable --now docker
sudo usermod -aG docker $USER
sudo apt install docker-compose
or
curl -fsSL https://raw.githubusercontent.com/dbrosy/scripts/master/install-docker.sh > /tmp/install-docker.sh && bash /tmp/install-docker.sh
cat /proc/sys/kernel/random/entropy_avail
# around 5
sudo apt install -y haveged
systemctl status haveged.service
cat /proc/sys/kernel/random/entropy_avail
# 2400 or more
strace -c docker-compose --version