[ Enlarge Image ]
<< Back
by: fcruz. Linux - Unix Blogs.
The following simple instructions can help you change your linux box / server hostname with ease , the first option is permanent , option number two will change the host name but changes wont be reflected after a reboot. Check it out

As described above, there are 2 ways to change the hostname of a linux box manually or by terminal ( real man do it by terminal )

This first option will save the changes even after a reboot:

Edit:

vi /etc/sysconfig/network

HOSTNAME=.


Second option:


vi /proc/sys/kernel/hostname

but that won't be saved when you reboot.


Usefull yet simple information as usual
Felipe