1. Node Preparation 192.168.137.129 spslave2 192.168.137.130 spmaster 192.168.137.131 spslave1 2. Modify Host name
3. Configure password-free login first to the user's home directory (CD ~), ls view the file, one of which is ". SSH", which is the file price that holds the key. The key we generate will be placed in this folder later. Now execute command generation key: Ssh-keygen-t rsa-p "" (using RSA encryption method to generate the key) returns, prompts three times to enter the information, we directly return. Go to the folder CD. SSH (you can perform LS view files after entering a folder) appends the generated public key id_rsa.pub content to Authorized_keys, executing the command:
cat id_rsa.pub >> authorized_keys Copy Each node's Authorized_keys contents to each other's file, and then ssh to each other to connect to each other
4. Installation configuration JDK
All nodes are installed JDK1.7, after the installation is complete, set environment variables:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.