1.解压apache-flume-1.7.0-bin.tar.gz到/opt/module/目录下
[honey@hadoop102 software]$ tar -zxf apache-flume-1.7.0-bin.tar.gz -C /opt/module/
2.修改apache-flume-1.7.0-bin的名称为flume
[honey@hadoop102 module]$ mv apache-flume-1.7.0-bin flume
3.将flume/conf下的flume-env.sh.template文件修改为flume-env.sh,并配置flume-env.sh文件
[honey@hadoop102 conf]$ mv flume-env.sh.template flume-env.sh
[honey@hadoop102 conf]$ vi flume-env.sh
export JAVA_HOME=/opt/module/jdk1.8.0_144
网友评论