1.下载
https://archive.apache.org/dist/flume/1.7.0/apache-flume-1.7.0-bin.tar.gz
2.解压缩
[root@hadoop src]# tar zxvf apache-flume-1.7.0-bin.tar.gz
3.修改名称
[root@hadoop src]# mvapache-flume-1.7.0-bin.tar.gz flume
4.修改配置文件
flume-env.sh
export JAVA_HOME=/usr/local/src/jdk
5.环境变量
#FLUME_HOME
export FLUME_HOME=/usr/local/src/flume
export PATH=$PATH:$FLUME_HOME/bin
6.检测安装
[root@hadoop src]# flume-ng