coolnix 개인블로그 - 리눅스, PHP, AWS,워드프레스 정보

태그: hostname

Host Name 호스트네임 변경방법

Host Name 호스트네임 변경방법

1. hosts file [root@my-linux]# vi /etc/hosts 127.0.0.1 my-linux localhost.localdomain localhost 2. network file [root@my-linux]# vi /etc/sysconfig/network ETWORKING=yes NETWORKING_IPV6=no HOSTNAME=NewName 3.system kenel hostname file [root@my-linux]# NewName > /proc/sys/kernel/hostname