linux中更动主机名 Home » IDC云服务 » linux中更动主机名 linux中更改主机名 第一步:#hostname oratest 第二步:修改/etc/sysconfig/network中的hostname第三步:修改/etc/hosts文件