LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   setting hostname (https://www.linuxquestions.org/questions/linux-general-1/setting-hostname-69743/)

akamol 07-03-2003 12:48 AM

setting hostname
 
I have RH Linux 8.0 . My Hostname is Metro9 , now i want to change the hostname
to Metro1. I have tried the hostname -v command for setting the hostname, it does work
but after rebooting , again original hostname comes ...please help.

Crashed_Again 07-03-2003 02:09 AM

hmmm...have you tried editing /etc/hosts ? I don't see why it would get over-rided at boot but maybe going directly to the source would help.

akamol 07-03-2003 03:48 AM

I got it. I have changed the hostname in /etc/hosts as well as in /etc/sysconfig/network file.
It worked.


All times are GMT -5. The time now is 10:47 PM.