Changing the Machine/Host Name of a Fedora Box
Published: 2007-09-05
You can find the hostname of you machine using the command:
hostname -f
To temporarily change the hostname issue the command (substituting the NEW_HOST_NAME bit):
hostname NEW_HOST_NAME
If you need to permanently alter the machines hostname you will need to update the following 2 files /etc/sysconfig/network and /etc/hosts. Once you've opened the files it's fairly obvious which bits to update.
vi /etc/sysconfig/network #HOSTNAME=NEW_HOST_NAME vi /etc/hosts # ip.ad.re.ss NEW_HOST_NAME
Then restart your machine.
RECENT ARTICLES
Lightweight blog created on Ruby/GAA/Datastore stack
Put this together a month or two back but never got around to replaci... read more
Using Node JS and Couch DB Stack for Web Dev
With the recent hype surrounding Node.js I thought I'd better get my ... read more
Campaign Monitor API Using PHP and SOAP
Campaign Monitor has a fairly comprehensive API and support docs.&nbs... read more
Google Maps Snippet
Absolute bare basics when it comes the Google Map api but a snippet o... read more
CREDITS
powered by php-wax the php framework