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可以连接
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可以连接
相关文章推荐
- 使用VirtualBox安装Ubuntu9.10,搭建java开发环境总结
- Windows上运行Eclipse使用virtualbox搭建的Ubuntu的hadoop集群服务
- VirtualBox下安装3台Ubuntu虚拟机,并搭建Hadoop
- VMWare9下基于Ubuntu12.10搭建Hadoop-1.2.1集群
- VirtualBox环境下基于多台ubuntu虚拟机的Hadoop分布式计算环境搭建
- Ubuntu hadoop1.2.1 单机版搭建图文详解
- VirtualBox环境下基于多台ubuntu虚拟机的Hadoop分布式计算环境搭建
- 使用VirtualBox安装Ubuntu系统搭建hadoop环境
- VMWare9下基于Ubuntu12.10搭建Hadoop-1.2.1集群—整合Zookeeper和Hbase
- VMWare10下基于Ubuntu14搭建Hadoop-1.2.1集群
- VirtualBox环境下基于多台ubuntu虚拟机的Hadoop分布式计算环境搭建
- VMWare9下基于Ubuntu12.10搭建Hadoop-1.2.1集群—整合Zookeeper和Hbase
- 在window上使用VirtualBox搭建Ubuntu15.04全分布Hadoop2.7.1集群
- Ubuntu Server 12.04 搭建 hadoop 集群版环境——基于VirtualBox
- 虚拟机下ubuntu10.04搭建hadoop1.2.1
- Virtualbox安装Ubuntu13.04并搭建Hadoop环境(单机模式+伪分布模式)
- Ubuntu下搭建Hadoop开发环境
- 无中生有-利用VirtualBox搭建HADOOP
- 开始hadoop前的准备:ubuntu学习笔记-基本环境的搭建(ssh的安装,SecureCRT连接,vim的安装及使用、jdk的安装)
- 分布式Hadoop的搭建(Ubuntu)