Spark environment setup

Environment: Vmware12+CentOS7

one,

1. Install CentOS7, JKD8 .

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、

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325122906&siteId=291194637