change hostname
RedHat AS 2.1->
How to change hostname from "localhost" to anything I want? |
Just hit netconfig/netcfg in a console. Follow the network config program and the reboot.
/Zappa |
If it's the same as the normal "desktop" RH's, if you're Gnome or Kde you can change it from the menu item "network" or in a shell as root type "neat" or at the shell type "hostname <mynewhostname>" (although this method doesn't seem to stick for me) or edit the file "/etc/sysconfig/network" and change it in their.
Don't remove any references to localhost know in the "/etc/hosts" though unless ya want grief. |
To set the hostname in RedHat,
you must edit the line HOSTNAME= in /etc/sysconfig/network i got the above from a previous post asking the same question. i just check and i have that file and it has 2 lines: NETWORKING=yes HOSTNAME=gigahurts |
All times are GMT -5. The time now is 06:10 PM. |