Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Name of Linux Server 1

Status
Not open for further replies.

JimReiley

MIS
Dec 10, 2004
58
US
I have a test RedHat 4 server that I use to emulate my office environment. I would like to change the name of the server from it's current name (LINUX) to the same name as the server in my office. Can this be done and if so, how?

Thanks.
 
use the 'hostname' command to make a temporary change that is lost at reboot.

modify the /etc/hostame file to make the change take effect after a reboot.

D.E.R. Management - IT Project Management Consulting
 
Change the "HOSTNAME=" value in /etc/sysconfig/network to have the change survive reboots.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top