Go 2 Linux/Unix World !!
Tips n Tricks of Linux/Unix/Solaris.........
Pages
Home
Popular Linux Distribution
Useful Linux Applications
Useful Linux-Links
Contact Me
Wednesday, May 26, 2010
How to make a permanent hostname for a redhat linux system
To make a permanent hostname for a redhat linux system, edit the following file
# vi /etc/sysconfig/network
HOSTNAME=station1.example.com
save this file. Now check the file
/etc/hosts
, it contain the old hostname, change/delete it.
restart the network service.
# service network restart
Logout and then login again.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment