Environment: Vmware12+CentOS7
one,
2. Clone 2 CentOS7.
3. Modify the machine name
3.1, use vi, /etc/hostname, need to restart.
4. Modify the domain name
4.1. Using vi, /etc/hostname, add the following code:
192.168.92.142 node01
192.168.92.143 node02
192.168.92.144 node03
Note: ip is in the front, domain name is in the back
5. Set password-free login
5.1. Ideas: Use the sshgen command to generate the public and private keys locally, and then put the public key into the trust list, that is, you can access it without a password.
5.2、