搜尋此網誌

2016/11/3

[linux]Centos/Redhat 6/7 更改hostname方式

Centos/Redhat 6
vi /etc/sysconfig/network

CentOS/RedHat 7
hostnamectl set-hostname 名稱