您的位置:首页 > 运维架构

VirtualBox Ubuntu hadoop-1.2.1 搭建总结

2017-01-06 02:11 369 查看
Hadoop 单机版 部署好后不能运行,原因有几点:

1.在Ubuntu上搭建应注意 Ubuntu默认root账号没有密码,需要设置。

$ sudo passwd root

2.$ ssh -o StrictHostKeyChecking=no yyy.yyy.yyy.yyy

yyy.yyy.yyy.yyy是本地机器的IP地址。

3.安装ssh

$ apt-get install openssh-server

4.编辑vim /etc/ssh/sshd_config文件

将PermitRootLogin 的值改为yes

将PermitEmptyPasswords改为 no

重启服务 $ server ssh restart

5.尝试xshell以root名连接,如果连接成功,说明hadoop可以连接
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  hadoop ubuntu