Learning methods to build, to build three machines
Use the installation package:
will build on a Linux virtual machine as the primary node
1. The master node hangs on / off, find the directory where the master node
2. Copy the two main nodes folder and rename slave1 and slave2
3. Load two new files in the folder in a virtual machine as a new virtual machine and run and rename
4.slave1 → su → cd / etc / sysconfig / network-scripts / → ls → vim ifcfg-eth0 IP address changes
5. reboot card: /etc/init.d/network restart
Linux解决Device eth0 does not seem to be present,delaying initialization问题:
https://www.linuxidc.com/Linux/2018-08/153408.htm
6. The network adapter is provided → → remove a network adapter
7. Add a network adapter
8. Check whether the Internet: curl www.baidu.com
Error resolve centos curl: (6) Could not resolve host:
https://www.jianshu.com/p/c57027fa159a
9.slave2 Ibid.
Use SecureCRT connection
1. Copy the last configuration of the terminal and rename
Right is further disposed
3. The three connections are open, check the IP address respectively
4, respectively, to see if access to the Internet
curl www.baidu.com
of ping www.baidu.com