Zookeeper
无密登录
01 输入cd
输入
ssh-keygen -t rsa
所有需要输入的地方全部回车,表示默认。
输入ll -a
cd .ssh
scp id_rsa.pub HA3VM02:/home/hadoop
scp id_rsa.pub HA3VM03:/home/hadoop
进入HA3VM02的linux界面
输入
ssh-keygen -t rsa
cd .ssh
touch authorized_keys
cat …/id_rsa.pub >> ./authorized_keys
cat authorized_keys
进入HA3VM03的linux界面
输入
ssh-keygen -t rsa
cd .ssh
touch authorized_keys
cat …/id_rsa.pub >> ./authorized_keys
cat authorized_keys
返回01的linux界面,
touch authorized_keys
chmod 600 authorized_keys
cat id_rsa.pub >> authorized_keys
zookeeper配置
tar -zxvf zookeeper-3.4.5.tar.gz -C app
cd /home/hadoop/app/zookeeper-3.4.5/co