Re: Changing Hostname
"Frank" == Frank Copeland <firstname.lastname@example.org> writes:
Frank> On 26 Oct 02 13:27:32 GMT, Antonio Rodriguez
Frank> <email@example.com> wrote:
>> How do you change your host name after your installation is
>> done? (network settings)
Frank> This works for me:
Frank> # echo "newhostname" >/etc/hostname
Frank> # hostname "newhostname"
Frank> # grep -ir "oldhostname" /etc/*
Frank> Fix up any references to the old hostname that the grep
Frank> reveals. Reload or restart any services affected. Logout
Frank> and login again and you should see the new hostname in
Frank> prompts, etc.
I had to change a hostname a few days ago. The approach above pretty
much worked perfectly (I used a different set of commands, but that is