Announcement

Collapse
No announcement yet.

Changing Hostname

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Changing Hostname

    I have changed the hostname of my recent Kubuntu 11.04 install by using Alt-F2 "kdesudo kate /etc/hostname" then rebooted my laptop. It has worked just fine and I can see the new hostname. However the /etc/hosts file still reflects the old name. Should I change it there as well?

    #2
    Re: Changing Hostname

    Yes, if you want consistency.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Re: Changing Hostname

      i think you also could have just used the "hostname" command to set both of those entries.

      [code=run in konsole]
      sudo hostname new_host_name
      [/code]

      Mark Your Solved Issues [SOLVED]
      (top of thread: thread tools)

      Comment


        #4
        Re: Changing Hostname

        Originally posted by sithlord48
        i think you also could have just used the "hostname" command to set both of those entries.

        [code=run in konsole]
        sudo hostname new_host_name
        [/code]
        Thanks but my understanding from reading other threads in this forum is that that is just a temporary change. I wanted to change it permanently.

        Comment

        Working...
        X