1.修改本机主机名

vi /etc/sysconfig/network

修改hostname

HOSTNAME=s0

 

 

2.配置主机映射

vi /etc/hosts

修改内容如下

192.168.32.100 s0

 

相关文章: