Friday, December 19, 2008

Host Names in Linux

Configure the Hostname

On the shoulders of giants, this an excerpt from very detailed post on postfix (smtp software) at

The computer that these examples are taken from is "", and it exists on IP address The short name is just squeezel. Another computer, on IP address "" is "".


# Do not remove the following line, or various programs
# that require network functionality will fail. localhost.localdomain localhost squeezel tape

You may also want to edit "/etc/sysconfig/network" and add or check the following.

Finally, to put all changes into effect now, run the following command with root privileges.

   $ hostname

Some of the settings in the postfix "" file depend upon the hostname.

No comments:

Post a Comment