码迷,mamicode.com
首页 > 其他好文 > 详细

Install Hadoop 2.5 on CentOS 6.5

时间:2014-09-11 15:31:13      阅读:147      评论:0      收藏:0      [点我收藏+]

标签:hadoop

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

标签:hadoop

原文地址:http://hj192837.blog.51cto.com/655995/1551085

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!