개발/Linux

gsjava CentOS 호스트명 변경

철권 2019. 9. 20. 12:55
728x90

#CentOS 6

[root@localhost ~]# vi /etc/sysconfig/network HOSTNAME=myhost

#CentOS 7

[root@localhost ~]# hostnamectl set-hostname myhost


728x90
반응형