Change hostname in RHEL5

Posted by Chief on Dec 1, 2009 in Reference
No Comments

Want to change your hostname to be the fully qualified name?
Edit: /etc/sysconfig/network and replace HOSTNAME=<old> with something new.

You’ll need to restart your network connection:
(sudo /sbin/ifdown eth0; sudo /sbin/ifup eth0);

[edit] this actually didn’t appear to work… [/edit]

Tags: , , , , , ,

Copyright © 2010 cat brain.log | less All rights reserved.
Shades v1.2 theme from BuyNowShop.com.