1.下载
https://hadoop.apache.org/releases.html
2.环境变量配置
在/etc/profile.d中配置
1.新建hadoop.sh
vi /etc/profile.d/hadoop.sh
export HADOOP_HOME=/usr/hadoop/hadoop-3.3.6
export PATH=$PATH:$HADOOP_HOME/sbin:$HADOOP_HOME/bin
2.授予文件执行权限
chmod u+x /etc/profile.d/hadoop.sh
3.刷新环境变量
source /etc/profile
标签:profile,配置,hadoop,Hadoop,etc,HOME,环境变量,HADOOP
From: https://www.cnblogs.com/fanqisoft/p/17857272.html