티스토리 뷰

EN/OpenSUSE 11

OpenSUSE 11 Set Hostname

식빵TV 2016.05.12 15:12

OpenSUSE 11 Set Hostname



Set Hostname

 

This is the example for setting Hostname of your system.



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

# show current hostname

localhost:~ # hostname 

localhost


# change hostname

localhost:~ # hostname otaec 

localhost:~ # hostname 

otaec     # just changed



2. Change hostname permanently.


localhost:~ # vi /etc/HOSTNAME

# set hostname with FQDN

otaec.srv.world

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