1.下载压缩包
2.上传到linux:/opt/software
3.解压
cd /opt/software
tar -zxvf apache-flume-1.6.0-bin.tar.gz -C /opt/moudule
4.重命名
cd /opt/module/flume/conf
mv flume-env.sh.template flume-env.sh
5.修改配置
vi flume-env.sh
修改内容如下:
export JAVA_HOME=/opt/module/jdk1.8.0_144