How to set a Linux hostname without rebooting

Learn how to quickly set a Linux hostname without having to reboot the server. Long ago, in an operating system far, far away, the act of changing a hostname in Linux required a reboot. This wasn’t too big of a deal, especially considering most production machines rarely change hostnames. However, there are times when changing a hostname is advantageous—say in a testing environment, or when a machine has been repurposed for another use. .

Link: How to set a Linux hostname without rebooting
via http://www.techrepublic.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s