安装flume
1.安装
1.上传安装包
apache-flume-1.7.0-bin.tar.gz,官网下载
2.解压
[root@hadoop01 software]# tar -zxvf apache-flume-1.7.0-bin.tar.gz -C /opt/module/
3.修改apache-flume-1.7.0-bin的名称为flume
[root@hadoop01 software]# mv apache-flume-1.7.0-bin flume
2.配置
1.将flume/conf下的flume-env.sh.template文件修改为flume-env.sh,并配置flume-env.sh文件
[root@hadoop01 software]# mv flume-env.sh.template flume-env.sh
[root@hadoop01 software]# vim flume-env.sh
export JAVA_HOME=/opt/module/jdk1.8.0_144
3.查看版本
root@hadoop01 flume]# bin/flume-ng version
Flume 1.7.0
Source code repository: https://git-wip-us.apache.org/repos/asf/flume.git
Revision: 511d868555dd4d16e6ce4fedc72c2d1454546707
Compiled by bessbd on Wed Oct 12 20:51:10 CEST 2016
From source with checksum 0d21b3ffdc55a07e1d08875872c00523