Jump to content

Change PC name


Recommended Posts

Hi! This is not a really installation problem. But i just only want to know how to change the pc name. I mean, my pc is called Localhost and i want to change it. How can i do that?

Thanx!!

Link to comment
Share on other sites

In a terminal, as the root user:

 

hostname <your_new_hostname>

 

Alternately:

 

Menu -> System -> Configuration -> Configure Your Computer -> Network & Internet -> Alter Miscellaneous Internet Settings -> Host Name

 

The following commands executed in a terminal should now show your new hostname:

 

$ uname -n

$ hostname

 

The HostName setting is stored in files /etc/sysconfig/network and /etc/hosts.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...