RE: how to set hostname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Actually you have to change this file 

/etc/sysconfig/network

you can also use: 

redhat-config-network

-Patrick



-----Original Message-----
From: Rushan Sobar [mailto:Rushan@xxxxxxxxxx] 
Sent: March 24, 2005 4:05 AM
To: General Red Hat Linux discussion list
Subject: Re: how to set hostname

----- Original Message ----- 
From: "Muhammad Rizwan" <rizwan@xxxxxxxxxxxx>
To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx>
Sent: Thursday, March 24, 2005 10:38 AM
Subject: how to set hostname


> Hello
> 
> How to set hostname of Red Hat box. I used "hostname NAME" but after
> rebooting machine, i see the old hostname instead of new one.
> 
> Thanks.
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

ssh or telnet to your box
edit the follow file

/etc/hosts

Regards
Rushan

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



CONFIDENTIALITY NOTICE
This message contains confidential information intended only for the use of
the individual or entity named as recipient. Any dissemination, distribution
or copying of this communication by anyone other than the intended recipient
is strictly prohibited. If you have received this message in error, please
immediately notify us and delete your copy. Thank you.

AVIS DE CONFIDENTIALITÉ
Les informations contenues aux présentes sont de nature privilégiée et
confidentielle. Elles ne peuvent être utilisées que par la personne ou
l'entité dont le nom paraît comme destinataire. Si le lecteur du présent
message n'est pas le destinataire prévu, il est par les présentes prié de
noter qu'il est strictement interdit de divulguer, de distribuer ou de
copier ce message. Si ce message vous a été transmis par mégarde, veuillez
nous en aviser immédiatement et supprimer votre copie. Merci.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux