rz -be
tar -xvzf hadoop-2.7.1.tar.gz
vi /etc/profile
export JAVA_HOME=/home/skinglzw/jdk1.8.0_101
export HADOOP_INSTALL=/home/skinglzw/hadoop-2.7.1
export PATH=$JAVA_HOME/bin:$PATH:$HADOOP_INSTALL/bin:$HADOOP_INSTALL/sbin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
本文出自 “我是程序我最大” 博客,请务必保留此出处http://skinglzw.blog.51cto.com/10729606/1845776
原文地址:http://skinglzw.blog.51cto.com/10729606/1845776