Re: Really stupid Q - hostname
From: Nico Kadel-Garcia (nkadel_at_comcast.net)
Date: 10/09/03
- Next message: Frank Burns: "Re: How long does DD take? 180GB?"
- Previous message: noone: "Re: Logging in via serial console ( Help with agetty )"
- In reply to: repo: "Re: Really stupid Q - hostname"
- Next in thread: Paul Lutus: "Re: Really stupid Q - hostname"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 08 Oct 2003 20:31:57 -0400
repo wrote:
> On Wed, 08 Oct 2003 23:23:14 +0000, tc wrote:
>
>
>>I know... this is a really stupid question.....
>>
>>BUT; how do I change the system name from localhost on a RH 7.3 system
>>???
>>
>>
>>thx for any help !
>>
>>feeling foolish in W Canada.......................
>
>
> edit /etc/sysconfig/network
> change localhost into a name you like (eq mymachine)
> edit/etc/hosts
> make sure it contains at least
> 127.0.0.1 localhost localhost.localdomain
> 127.0.0.1 mymachine linuxfan.mymachine
> where linuxfan is a name you choose.
Don't do this. If your machines's hostname winds up published in your
local DNS or NIS hosts configuration, it will point various connections
to localhost instead of to the machine's IP address and break things at
awkward moments.
This approach is only appropriate if your desired hostname is not
published to anyone else in your network.
- Next message: Frank Burns: "Re: How long does DD take? 180GB?"
- Previous message: noone: "Re: Logging in via serial console ( Help with agetty )"
- In reply to: repo: "Re: Really stupid Q - hostname"
- Next in thread: Paul Lutus: "Re: Really stupid Q - hostname"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|