Fedora 19
Sponsored Link

Set Hostname2013/07/03

 
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 19 (Schrodingers Cat)
Kernel 3.9.8-300.fc19.x86_64 on an x86_64 (ttyS0)
dlp02 login:
# just changed

Matched Content