Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

How do you change the computer name in Ubuntu OS


  • Please log in to reply
3 replies to this topic

#1 alcujas

alcujas

  • Members
  • 13 posts
  • OFFLINE
  •  
  • Local time:06:03 AM

Posted 17 April 2012 - 12:33 PM

When I was installing Ubuntu on my notebook computer I permitted the software to name my computer for me and I would like to change the name of the notebook computer to something more simple.

BC AdBot (Login to Remove)

 


#2 whoabuddy

whoabuddy

    Bleepin' Verbose


  • Malware Response Instructor
  • 2,036 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Cottonwood, AZ
  • Local time:02:03 AM

Posted 17 April 2012 - 01:13 PM

Hello alcujas,

Do you know what version of Ubuntu you are running? Unfortunately there is not a simple menu option for this, however I found a walk through that can help you with this process.

http://www.liberiangeek.net/2011/03/change-hostname-computer-name-ubuntu-11-04-natty/

Important Note: This procedure modifies system files, so please backup your system before continuing.

To update the host name in Ubuntu (tested in 11.04):

  • open terminal (ctrl+alt+t)
  • type gksu gedit /etc/hostname and press enter
  • enter your password to modify the file
  • update host name to new host name and save, close file
  • open terminal (ctrl+alt+t)
  • type gksu gedit /etc/hosts and press enter
  • update the line with 127.0.0.1 and your old host name to the new host name
  • save and close the file, save any open windows, restart
To check the current host name:

  • open terminal (ctrl+alt+t)
  • type hostname and press enter
I found a few other sites with pictures of the same procedure, and I confirmed that this works on Ubuntu 11.04, that is what I am running :) Let me know if you have any questions!

Best Regards,
whoabuddy
Meditate. Elevate. Appreciate. | "Life is a journey, love is the destination, happiness is the path!"
If I am helping you and have not responded within 48 hours, please send me a PM.
Vi Veri Universum Vivus Vici (VVVVV)
Excellent Security Advice
Proud member of UNITE

#3 alcujas

alcujas
  • Topic Starter

  • Members
  • 13 posts
  • OFFLINE
  •  
  • Local time:06:03 AM

Posted 30 April 2012 - 03:35 PM

Thank you for this information. I will give it a try and post back my results.

#4 whoabuddy

whoabuddy

    Bleepin' Verbose


  • Malware Response Instructor
  • 2,036 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Cottonwood, AZ
  • Local time:02:03 AM

Posted 06 May 2012 - 12:48 PM

Just checking in, have you had a chance to try the steps above?
Meditate. Elevate. Appreciate. | "Life is a journey, love is the destination, happiness is the path!"
If I am helping you and have not responded within 48 hours, please send me a PM.
Vi Veri Universum Vivus Vici (VVVVV)
Excellent Security Advice
Proud member of UNITE




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users