Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Setting system hostname
PostPosted: Fri Apr 02, 2004 3:43 pm 
Offline
Senior Member

Joined: Tue Mar 09, 2004 3:52 am
Posts: 106
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?


Top
   
 Post subject:
PostPosted: Fri Apr 02, 2004 3:45 pm 
Offline
Senior Member
User avatar

Joined: Sat Jan 03, 2004 7:34 pm
Posts: 71
Website: http://www.darkforestmud.net
AOL: asura02003
Location: Oregon
Not sure about debian. Check for a /etc/sysconfig/network file and be sure there is a hostname= somewhere


Top
   
 Post subject:
PostPosted: Fri Apr 02, 2004 4:29 pm 
Offline
Senior Member

Joined: Tue Mar 09, 2004 3:52 am
Posts: 106
Got it figured out. Needed to add localhost to the /etc/hostname file.

Thanks!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group