- 下载需要的版本并且上传到centos
这里我下载的是flume1.7.0,地址:http://www.apache.org/dyn/closer.lua/flume/1.7.0/apache-flume-1.7.0-bin.tar.gz
- 解压并改名
[root@hlh001 software]# tar -zxvf apache-flume-1.7.0-bin.tar.gz -C /opt/module/
[root@hlh003 module]# mv apache-flume-1.7.0-bin flume
三、配置环境变量
[root@hlh003 module]# vim /etc/profile
#flumehome
export FLUME_HOME=/opt/module/flume
export PATH=$PATH:$FLUME_HOME/bin
[root@hlh003 module]# source /etc/profile
四、验证flume环境
[root@hlh003 module]# flume-ng version
Flume 1.7.0
来源:https://blog.csdn.net/weixin_44772799/article/details/99555346