centos搭建hadoop2.6.5

时间:2022-09-09 05:09:33

参考链接:
双机信任:
http://www.cnblogs.com/mchina/archive/2013/03/15/2956017.html
http://blog.csdn.net/hangzhi22/article/details/52560831
安装JDK

rpm -ivh jdk-7-linux-x64.rpm  

vim  /etc/profile  
export JAVA_HOME=/usr/java/jdk1.7.0  
export JRE_HOME=/usr/java/jdk1.7.0/jre  
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH  
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar  

安装相关依赖

yum install svn ncurses-devel gcc* lzo-devel zlib-devel autoconf automake libtool cmake openssl-devel