>How do I change the hostname?
>In particular, what is the difference between /etc/hosts and
>/etc/sysconfig/network files?
> Where should I make the changes?
change
/etc/sysconfig/netowrk
and make the hostname=server.domain.com
change localhostnames
add the new hostname to the file
Tom Brown schrieb:
>>
>> How do I change the hostname?
>> In particular, what is the difference between /etc/hosts and
>> /etc/sysconfig/network files? Where should I make the changes?
>>
>
> /etc/hosts has nothing to do with the hostname this is just a way to
> resolve a name to an IP where DNS
>
>
> How do I change the hostname?
> In particular, what is the difference between /etc/hosts and
> /etc/sysconfig/network files? Where should I make the changes?
>
/etc/hosts has nothing to do with the hostname this is just a way to
resolve a name to an IP where DNS is not available or some o
All right.. So the /etc/sysconfig/network is the right place for changing
hostname.
The change in /etc/hosts is to map new hostname with IP address.
Thanks,
CS.
On Mon, Jun 15, 2009 at 12:57 PM, Rudi Ahlers wrote:
> On Mon, Jun 15, 2009 at 7:51 PM, Carlos Santana wrote:
> > Howdy,
> >
> > How d
On Mon, Jun 15, 2009 at 7:51 PM, Carlos Santana wrote:
> Howdy,
>
> How do I change the hostname?
> In particular, what is the difference between /etc/hosts and
> /etc/sysconfig/network files? Where should I make the changes?
>
> Thanks,
> CS.
>
> ___
> C
Howdy,
How do I change the hostname?
In particular, what is the difference between /etc/hosts and
/etc/sysconfig/network files? Where should I make the changes?
Thanks,
CS.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listin
6 matches
Mail list logo