Change hostname in RHEL5

Posted by Chief on Dec 1, 2009 in Reference | Subscribe

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: , , , , , ,

Leave a Reply

XHTML: You can use these tags:' <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

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