编辑 vim /etc/hosts 配置host映射
给 zjj101 映射到:10.11.8.101
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.11.8.101 zjj101
配置完了不用做别的配置,保存完了就生效了.