修改文件:C:\Windows\System32\drivers\etc\hosts
添加对应的ip 和 主机名
127.0.0.1 localhost
192.168.10.134 s1
192.168.10.135 s2
192.168.10.136 s3
192.168.10.137 s4
192.168.10.138 s5
192.168.10.139 s6
192.168.10.140 s7
192.168.10.141 s8
修改文件:C:\Windows\System32\drivers\etc\hosts
添加对应的ip 和 主机名
127.0.0.1 localhost
192.168.10.134 s1
192.168.10.135 s2
192.168.10.136 s3
192.168.10.137 s4
192.168.10.138 s5
192.168.10.139 s6
192.168.10.140 s7
192.168.10.141 s8
转载于:https://my.oschina.net/weigy/blog/885559