Re: host name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-02-22 at 08:53 +0100, Roger Grosswiler wrote:
> str tux schrieb:
> > List,
> > 
> > I need to change hostname to my box (as well as the prompt [root@fc3
> > root]# - i want to change fc3 to some other name); how to do it? what
> > are the files i need to change?
> > 
> > this should be easy, but for the last hour i'm trying with no success.
> > 
> > thanks.
> > 
> > str
> > 
> use either system-config-network and change the dns-area or in the 
> shell, change the indicators in /etc/hosts from 127.0.0.1. btw never 
> change the localhost at the end, or you will loose your alias for the 
> loopback-adress.
> 
> eg:
> 
> 127.0.0.1 	computername	computername.yourdomain	    localhost

You probably want to edit /etc/sysconfig/network and set HOSTNAME to
computername.yourdomain as well.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux