How To Change Host Name From Ubuntu 18.042 min read
Recently released Ubuntu 18.04. So I want to show how to change the hostname from Ubuntu 18.04. This is not the same as Ubuntu old version. It’s some critical for the new user.
★ How To Configure Static IP address On Ubuntu 18.04
★ How To Install Zabbix Server On Ubuntu 18.04
Step #01: Open hosts file via nay editor.
root@technologyrsslocal:~# vi /etc/hosts
Insert your hostname then save file. Esc : wq press Enter.
Step #02: Then open hostname file.
root@technologyrsslocal:~# vi /etc/hostname
Insert your hostname then save file. Esc : wq press Enter.
Step #03: Change preserve hostname false option.
root@technologyrsslocal:~# vi /etc/cloud/cloud.cfg
Change false option
preserve_hostname: false
Change to
preserve_hostname: true
Then save it.
reboot your machine otherwise can’t change the hostname on Ubuntu 18.04.
You can see my video for more details. Please subscribe my YouTube channel for more update.
- How To Install Zabbix Server 6.4 On AlmaLinux 8 Server - August 9, 2024
- How To Clear RAM Memory Cache Buffer Linux Server - February 29, 2024
- How To Install Apache Cloud Stack Management Server 4.17 On Ubuntu 22.04 - February 1, 2024
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!