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

Change timezone


timedatectl set-timezone Asia/Kolkata

# or use

dpkg-reconfigure tzdata

Change hostname

To do this read:

Install pigz

Update vim

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