| Linode Forum https://forum.linode.com/ |
|
| Setting system hostname https://forum.linode.com/viewtopic.php?f=19&t=783 |
Page 1 of 1 |
| Author: | pmmenneg [ Fri Apr 02, 2004 3:43 pm ] |
| Post subject: | Setting system hostname |
A very simple question I am sure, but I can't seem to solve it... My new install of debian small didn't seem to have a hostname set by default, and in installing apps, many are squaking that I don't have a hostname set. So, I tried to set it manually (to localhost, which is fine I assume), but it doesn't seem to hold across reboots. I have added 127.0.0.1 to the hosts file, and created a /tec/HOSTNAME file with localhost in it, but no dice. Any advice? |
|
| Author: | asura [ Fri Apr 02, 2004 3:45 pm ] |
| Post subject: | |
Not sure about debian. Check for a /etc/sysconfig/network file and be sure there is a hostname= somewhere |
|
| Author: | pmmenneg [ Fri Apr 02, 2004 4:29 pm ] |
| Post subject: | |
Got it figured out. Needed to add localhost to the /etc/hostname file. Thanks! |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|