首页 > 代码库 > Install Hadoop 2.5 on CentOS 6.5

Install Hadoop 2.5 on CentOS 6.5

Hadoop


disable firewall and selinux
rpm -ivh jdk-7u67-linux-x64.rpm
yum -y install wget rsync nmap openssh-clients

cd /usr/local/
tar xvf /root/hadoop-2.5.0.tar.gz
ln -s hadoop-2.5.0 hadoop

vi ~/.bashrc
export JAVA_HOME=/usr/java/jdk1.7.0_67
export HADOOP_HOME=/usr/local/hadoop
export PATH=$PATH:$JAVA_HOME/bin:$HADOOP_HOME/bin

. ~/.bashrc

vi $HADOOP_HOME/etc/hadoop/hadoop-env.sh
export JAVA_HOME=/usr/java/jdk1.7.0_67

export HADOOP_CONF_DIR=${HADOOP_CONF_DIR:-"/usr/local/hadoop"}

本文出自 “Ilovecat(个人笔记)” 博客,请务必保留此出处http://hj192837.blog.51cto.com/655995/1551085

Install Hadoop 2.5 on CentOS 6.5