2014年2月26日 星期三

CentOS 更改主機名稱

步驟及目錄路徑如下
(1) /etc/hosts 內的 Hostname
(2) /etc/sysconfig/network 內的 Hostname
(3) 使用hostname 命令確認