Previous: Configuring hostname, Up: System Configuration [Contents]
You can edit your /etc/hosts file, which is the static lookup table for host names. By default, there are two entries for localhost which are OKAY. You can replace the ’localhost’ part of these entries to your hostname.
127.0.0.1 localhost.localdomain localhost ::1 localhost.localdomain localhost ip6-localhost