[root@- ~]# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
[b]Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.2 (Santiago)
Release: 6.2
Codename: Santiago[root@- ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=edc-etl-col61
[root@- ~]# cat /etc/hosts | grep HOSTNAME=edc-etl-col61
[root@- ~]# cat /etc/hosts | grep edc-etl-col61
10.48.178.162 edc-etl-col61
[root@- ~]#请问下如何修改 root@后面的-主机名 为edc-etl-col61 需要重启系统吗?为什么主界名会不一致?
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
[b]Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.2 (Santiago)
Release: 6.2
Codename: Santiago[root@- ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=edc-etl-col61
[root@- ~]# cat /etc/hosts | grep HOSTNAME=edc-etl-col61
[root@- ~]# cat /etc/hosts | grep edc-etl-col61
10.48.178.162 edc-etl-col61
[root@- ~]#请问下如何修改 root@后面的-主机名 为edc-etl-col61 需要重启系统吗?为什么主界名会不一致?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货