Skip to content

How to Change Host Name on Ubuntu

09/02/2010

Open the terminal and edit /etc/hostname and /etc/hosts. Replace all references to old host name with the new. Finally, execute the following:

martin@mico:~$sudo /etc/init.d/hostname.sh start

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 457 other followers