"Nichols, Jason" wrote:
>
> On my Mandrake 5.3 login screen, I can see my computer name, which is
> currently localhost@localdomain. How can I change that? Also, will that
> interfere with Apache's operation? I want to do some web development
> locally.
It's typically extremely easy to rename a machine. Red Hat's meddling
makes it a bit more difficult, truthfully. Still, it's only a couple
files to edit.
First, edit /etc/sysconfig/network. You'll see a line that begins
HOSTNAME=. Change the last part to what you want your new hostname to
be.
Second, edit /etc/HOSTNAME. Delete the localhost.localdomain and put in
the same hostname you put in the first file.
Third, edit /etc/hosts. Here's what you'll want to make the 127.0.0.1
line look like:
127.0.0.1 <New host/domainname> localhost <new host>
localhost.localdomain
This will keep everything working correctly as well as show your new
hostname at the prompts.
Enjoy!
--
Steve Philp
[EMAIL PROTECTED]