红联Linux门户
Linux帮助

ubuntu安装hadoop_cdh5.4.1步骤

发布时间:2015-09-06 22:25:37来源:linux网站作者:安伦_Alan

1、配置ip并修改主机名

sudo vi /etc/hostname


2、主机名解析

sudo vi /etc/hosts

scp hosts hadoop@datanode1:/etc

scp hosts hadoop@datanode2:/etc

scp hosts hadoop@datanode3:/etc


3、关闭防火墙

sudo ufw disable


4、免密码登陆

cd /home/hadoop

sudo mkdir .ssh

cd .ssh

ssh-keygen -t rsa

cp id_rsa.pub authorized_keys


5、同步公钥文件

scp authorized_keys hadoop@datanode1:/home/hadoop/.ssh

scp authorized_keys hadoop@datanode1:/home/hadoop/.ssh

scp authorized_keys hadoop@datanode1:/home/hadoop/.ssh


Ubuntu15中安装hadoop2.7单机模式:http://www.linuxdiyf.com/linux/13027.html

ubuntu15.04安裝hadoop2.6.0及eclipse开发环境配置:http://www.linuxdiyf.com/linux/12474.html

Ubuntu15.04单机/伪分布式安装配置Hadoop与Hive试验机:http://www.linuxdiyf.com/linux/11858.html

Ubuntu下安装Hadoop(单机版):http://www.linuxdiyf.com/linux/11372.html