赞
踩
1.首先找到你的flume安装包
2.上传文件到opt目录下
3.tar -zxf flume-ng-1.6.0-cdh5.14.2.tar.gz
4.mv apache-flume-1.6.0-cdh5.14.2-bin/ soft/flume160
5.yum install -y nc
6.cd soft/flume160/conf/
7.cp flume-env.sh.template flume-env.sh
8.vim flume-env.sh
9.vim /etc/profile
- #flume environment
- export FLUME_HOME=/opt/soft/flume160
- export PATH=$PATH:$FLUME_HOME/bin
10.source /etc/profile
11.flume-ng version
12.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。