[root@localhost ~]# vi /etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=test.Vevb.com
3. 重启Network
service network restart
4. 修改hosts文件
[root@localhost ~]# vi /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 192.168.37.131 test.Vevb.com