2 安装部署flume
本文对flume进行安装部署
flume是什么?传送门:https://www.cnblogs.com/zhqin/p/12230301.html
0、要安装部署在日志所在的服务器,或者把日志发送到日志所在的节点上
安装前准备
1) Flume官网地址
2)文档查看地址
http://flume.apache.org/FlumeUserGuide.html
3)下载地址
http://archive.apache.org/dist/flume/
1、将apache-flume-1.7.0-bin.tar.gz上传到linux的/opt/software目录下
2.解压apache-flume-1.7.0-bin.tar.gz到/opt/module/目录下
[ software]$ tar -zxf apache-flume-1.7.0-bin.tar.gz -C /opt/module/
3.修改apache-flume-1.7.0-bin的名称为flume
[ module]$ mv apache-flume-1.7.0-bin flume
4.将flume/conf下的flume-env.sh.template文件修改为flume-env.sh,并配置flume-env.sh文件
[ conf]$ mv flume-env.sh.template flume-env.sh
[ conf]$ vi flume-env.sh
export JAVA_HOME=/opt/module/jdk1.8.0_144
相关推荐
chenguangchun 2020-07-26
myt0 2020-07-18
IT影风 2020-07-18
chenguangchun 2020-06-28
jiaomrswang 2020-06-26
myt0 2020-06-16
xiaoxiaojavacsdn 2020-06-08
zzjmay 2020-06-07
strongyoung 2020-06-04
ErixHao 2020-05-20
啦啦啦啦啦 2020-05-15
wanfuchun 2020-05-14
onwaygoahead 2020-05-05
xiaoxiaojavacsdn 2020-05-01
chenguangchun 2020-04-18
QAnyang 2020-03-14
wsong 2020-03-13