Configuring hostname in Ubuntu 18.04.2 LTS (Bionic Beaver)

Changing hostname in Ubuntu 18.04.2 LTS is different from previous versions. You can use following command [crayon-5dca955bf2f52198304642/] After this you need to set preserve hostname setting in /etc/cloud/cloud.cfg From [crayon-5dca955bf2f57760975221/] TO [crayon-5dca955bf2f59296949770/] This will preserve new hostname after reboot. … [Read more...]

Configuring Static IP in Ubuntu 18.04.2 LTS (Bionic Beaver)

The method of configuring static ip in Ubuntu 18.04.2 LTS is different from its previous variants. Previously it was to configure in /etc/network/interfaces file, however in Ubuntu 18.04.2 LTS, it is setup in /etc/netplan/50-cloud-init.yaml file. [crayon-5dca955bf355d974103509/] Content of this file is [crayon-5dca955bf3561081238196/] I have edited this file like … [Read more...]