Set Hostname2013/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 ~]# hostname rx-8.srv.world # change hostname [root@dlp ~]# rx-8.srv.world # changed |
[2] | Change hostname permanently. |
[root@dlp ~]#
vi /etc/sysconfig/network # change HOSTNAME= rx-8.srv.world
[root@dlp ~]#
CentOS release 6.3 (Final)
rx-8.srv.world.info login: Kernel 2.6.32-279.5.2.el6.x86_64 on an x86_64 # changed |
Sponsored Link |