LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Computer Name (https://www.linuxquestions.org/questions/linux-general-1/computer-name-67805/)

JustinBee 06-24-2003 06:47 PM

Computer Name
 
How to you change the computer name of a Redhat 8/9 computer? I installed Linux, and it did not ask for a computer name. I wanted to give it a unique name so that I could recognize it on the network.

acid_kewpie 06-24-2003 06:50 PM

"hostname mynewcomputername"

Half_Elf 06-24-2003 08:00 PM

/etc/hostname or /etc/HOSTNAME
just put something in it

JustinBee 06-25-2003 10:18 AM

Thanks guys. that worked.

hemanth_13 06-25-2003 10:37 AM

Changing the hostname in /etc/sysconfig/network will also work

Electboy 06-25-2003 12:57 PM

u have to change both : /etc/sysconfig/network, and /etc/hostname, without one of them Linux will show error


All times are GMT -5. The time now is 05:12 PM.