Flume—FLume安装步骤
Flume安装步骤
1)将apache-flume-1.9.0-bin.tar上传到Linux的/opt/software目录下
2)解压apache-flume-1.9.0-bin.tar到/opt/module目录下。
[ck@hadoop102 software]$ tar -zxf apache-flume-1.9.0-bin.tar.gz -C /opt/module/
3)修改apache-flume-1.9.0-bin的名称为flume-1.9.0
[ck@hadoop102 module]$ mv apache-flume-1.9.0-bin flume-1.9.0
4)将flume/conf下的flume-env.sh.template的文件修改为flume-env.sh,并配置flume-env.sh文件。
[ck@hadoop102 conf]$ mv flume-env.sh.template flume-env.sh [ck@hadoop102 module]$ vi flume-1.9.0/conf/flume-env.sh
export JAVA_HOME=/opt/module/jdk1.8.0_161