1、下载Hadoop安装包##
http://archive.apache.org/dist/hadoop/common
2、解压安装Hadoop
将hadoop-2-7.4.tar.gz包上传到/root/export/software目录
cd /root/export/software
mkdir /root/exprot/servers
tar -zxvf hadoop-2.7.4.tar.gz -C /root/export/servers/
3、配置Hadoop系统环境变量
export HADOOP_HOME=/root/export/servers/hadoop-2.7.4
export PATH=$PATH:$HADOOP_HOME/bin:$HADOOP_HOME/sbin
4、验证Hadoop环境
hadoop version