Change Linux Hostname 2019-01-13 Tech Document Tutorial 13 words 1 min read vi /etc/hostname 1 $hostname vi /etc/hosts 1 2 127.0.0.1 $hostname $ip $hostname reboot Author Linfeng LastMod 2023-09-01