sudo vi /etc/hosts
192.168.117.50 master
192.168.117.60 slave1
192.168.117.70 slave2
192.168.117.80 slave3
添加以上内容,避免有重复机器名出现
sudo vi /etc/hosts
192.168.117.50 master
192.168.117.60 slave1
192.168.117.70 slave2
192.168.117.80 slave3
添加以上内容,避免有重复机器名出现