OnlyElite
02-04-2001, 07:04 PM
I installed red hat linux 7.0 and when i logg into gnome the prompt read "log into localhot.localdomain" and it's very annoying. is there anyway to change my hostname to something more interesting.
thanx
thanx
|
Click to See Complete Forum and Search --> : How do i change the hostname of my box OnlyElite 02-04-2001, 07:04 PM I installed red hat linux 7.0 and when i logg into gnome the prompt read "log into localhot.localdomain" and it's very annoying. is there anyway to change my hostname to something more interesting. thanx Ryeker 02-04-2001, 07:10 PM You can set the hostname easily with linuxconf. You can also modify /etc/hosts and change your host name there. OnlyElite 02-04-2001, 07:16 PM I tried both and when I edit the host file it gave me an error everytime I start gnome. Does anyone have any other solutions. -=OnlyElite=- OnlyElite 02-04-2001, 07:17 PM I tried both and when I edit the host file it gave me an error everytime I start gnome. Does anyone have any other solutions. -=OnlyElite=- The King Ant 02-04-2001, 08:33 PM Make sure that you leave the line "127.0.0.1 localhost localhost.localdomain" in your /etc/hosts file X_console 02-04-2001, 08:39 PM First, change /etc/HOSTNAME then /etc/hosts. Let's say you want to change your hostname to plantlife.com Then your /etc/hosts would look like this: 127.0.0.1 plantlife.com plantlife And in your /etc/HOSTNAME: plantlife.com Now type as root, "hostname -F /etc/HOSTNAME" That's it. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |