티스토리 뷰

EN/Fedora 18

Fedora 18 Set Hostname

ServerWorld 2016.04.23 18:53

Fedora 18 Set Hostname


Set Hostname

 

The example for setting Hostname of your system.


1. Change hostname with a commnad (but if rebooting, it will be back).


[root@otaec ~]# hostname # show current hostname

otaec.server.world


[root@otaec ~]# hostname otaec02.server.world # change hostname


[root@otaec ~]# hostname 

otaec02.server.world# changed



2. Change hostname permanently.


[root@otaec ~]# vi /etc/hostname

# change

otaec02.server.world


[root@otaec ~]# exit

Fedora release 18 (Spherical Cow)

Kernel 3.7.2-201.fc18.x86_64 on an x86_64 (ttyS0)

otaec02 login:# changed

저작자 표시 비영리 변경 금지
신고

'EN > Fedora 18' 카테고리의 다른 글

Fedora 18 Clamav - Anti-Virus  (0) 2016.04.23
Fedora 18 SSL Certificates  (0) 2016.04.23
Fedora 18 Set Hostname  (0) 2016.04.23
Fedora 18 Set keymap  (0) 2016.04.23
Fedora 18 Set keymap  (0) 2016.04.23
Fedora 18 Set time-zone  (0) 2016.04.23
댓글