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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing computer name 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hey,
This should be an easy question, I'd like to change my computer's name (from localhost to something more descriptive =) I don't have linuxconf instealled.

Thanks in advance
 
change the /etc/hosts file
first line :
your_ip_address host_name_of_server
second line :
127.0.0.1 localhost ---------------------------------------------------------------------
I have not failed, I've just found 10,000 ways that don't work
---------------------------------------------------------------------
Peter Van Eeckhoutte
peter.ve@pandora.be
*:->* Did this post help? Click below to let me know !
 
Hi,

For redhat you can change the HOSTNAME variable in /etc/sysconfig/network .

Rgds
 
Try this,
#hostname your.choosen.hostname
and edit /etc/hosts like peterve comment above
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top