1.安装部署
1、解压tar -zxvf apache-flume-1.9.0-bin.tar.gz
2、改名mv apache-flume-1.9.0-bin flume-1.9.0
3、配置环境变量 vi /etc/profile
,source /etc/profile
#flume
export FLUME_HOME=/usr/local/apps/flume-1.9.0
export PATH=$PATH:$FLUME_HOME/bin
4、将conf下的flume-env.sh.template文件修改为flume-env.sh,并配置flume-env.sh文件mv flume-env.sh.template flume-env.sh
,vim flume-env.sh