Fedora 18
Sponsored Link

Set Hostname
2013/01/18
 
The example for setting Hostname of your system.
[1] Change hostname with a commnad (but if rebooting, it will be back).
[root@dlp ~]#
# show current hostname

dlp.srv.world
[root@dlp ~]#
hostname dlp02.srv.world
# change hostname

[root@dlp ~]#
dlp02.srv.world
# changed

[2] Change hostname permanently.
[root@dlp ~]#
vi /etc/hostname
# change

dlp02.srv.world
[root@dlp ~]#
Fedora release 18 (Spherical Cow)
Kernel 3.7.2-201.fc18.x86_64 on an x86_64 (ttyS0)
dlp02 login:
# changed

Matched Content
 
Tweet