LINUX /UNIX LOVERS BLOG
Pages
Home
Monday, February 7, 2011
Change hostname in Redhat Linux?
hostname "newhostname"
vi /etc/hosts => Update the entry with the newhostname
vi /etc/sysconfig/network => Change hostname entry
vi /etc/motd => If hostname entry is given here
service network restart
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment