Help - Search - Members - Calendar
Full Version: How Do I Change Host Name?
Linuxhelp > Support > Technical Support
ctrunk514
With Red Hat 9.0

At the prompt, how does one change the host name of a PC?

What file needs to be edited
Corey
As root (su -), issue the command "hostname" followed by the hostname you want to use.
hughesjr
you will also need to go into /etc/hosts and change the hostname in there.
gangsta_style
And one last thing you also have to edit is the "/etc/sysconfg/network" file. I changed my hostname yesterday, and it doesn't show unless you do this.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.