How to Change System ( Localhost ) name in Ubuntu 11.04 ?

Hi Guys,

Just want to share this small tip as it may help someone around the world. You just need to edit two files to change it.

      Step 1 : Open /etc/hostname with root permission . You can use gedit to open -> “sudo gedit /etc/hostname”

Change the system name to the name you prefer.

      Step 2 : Open /etc/hosts with root permission . You can use gedit to open -> “sudo gedit /etc/hosts”

Again change the system name to the name you prefer.

      Step 3 : Restart your system to apply the changes.

This applies to the most of the Linux distributions. Your suggestions/comments are invited.

Regards,

Balachandar KM

Advertisements

2 thoughts on “How to Change System ( Localhost ) name in Ubuntu 11.04 ?

Leave a Reply

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

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 )

Google+ photo

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

Connecting to %s