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-650bfad26ac67734979258/] After this you need to set preserve hostname setting in /etc/cloud/cloud.cfg From [crayon-650bfad26ac6d022295660/] TO [crayon-650bfad26ac6f011751429/] 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-650bfad26b2dd883275848/] Content of this file is [crayon-650bfad26b2e1531616217/] I have edited this file like … [Read more...]