• Happy Coding

manual of the day… change hostname on Debian

Change hostname on Debian

I wanted to change the hostname on my Debian Etch installation. The following worked:

sudo vi /etc/hostname

Change the hostname and save file and then

sudo /etc/init.d/hostname.sh start
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Ma.gnolia
  • MisterWong
  • Reddit
  • SphereIt
  • StumbleUpon
  • Technorati
  • TwitThis
  • Yigg
  • LinkedIn
  • Print this article!
  • Tumblr
  • Pownce
Share your opinion! Post your thoughts.