Fedora 20
Sponsored Link

Set Hostname
2013/12/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 20 (Heisenbug)
Kernel 3.11.10-301.fc20.x86_64 on an x86_64 (ttyS0)
dlp02 login:
# just changed

Matched Content