在Windows系统中修改hosts文件,新增以下内容;
192.168.xxx.xxx bigdata_node1
192.168.xxx.xxx bigdata_node2
192.168.xxx.xxx bigdata_node3
3台Linux的/etc/hosts文件中,填入如下内容。
192.168.xxx.xxx bigdata_node1
192.168.xxx.xxx bigdata_node2
192.168.xxx.xxx bigdata_node3
后续安装的集群化软件,多数需要远程登录以及远程执行命令,我们可以简单起见,配置三台Linux服务器之间的免密码互相SSH登陆。
ssh-keygen -t rsa -b 4096
一路回车到底即可。
ssh-copy-id bigdata_node1
ssh-copy-id bigdata_node2
ssh-copy-id bigdata_node3
ssh bigdata_node2

exit

错误提示:/usr/bin/ssh-copy-id: ERROR: Host key verification failed.
ls ~/.ssh



结束!!!!!!
hy:31
若不接受自己的卑微与渺小,我们很难发自内心地去尊重他人。