Things to do after deploying a Ubuntu server

Disable ipv6

Create /etc/sysctl.d/60-ipv6-disable.conf with the following contents:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Run service procps restart

If Ubuntu 18.04 then view https://ip-life.net/disable-ipv6-on-ubuntu-18-04/


Change timezone

Source: https://askubuntu.com/a/594186

timedatectl set-timezone Asia/Kolkata

# or use

dpkg-reconfigure tzdata

Change hostname

To do this read: https://graspingtech.com/change-hostname-ubuntu-16-04/

Install pigz

https://harry.plus/blog/install-pigz-parallel-implementation-of-gzip/

Update vim

sudo add-apt-repository ppa:jonathonf/vim
sudo apt update && sudo apt upgrade