安装Hadoop的时候,需要配置ssh无密登录
运行ssh localhsot的时候会报错:
ssh:connect to host localhost port 22: Connection refused
因为我个人安装的是Manjaro Linux所以这里给出Manjaro系统的解决办法
因为Manjaro默认是安装了ssh的所以我们只需要将它启动就可以了
参考命令:
# systemctl start sshd.service 立即启动
# systemctl enable sshd.service 开机启动
# systemctl restart sshd.service 重启