码迷,mamicode.com
首页 > Web开发 > 详细

flume 集群安装

时间:2016-04-18 15:26:34      阅读:369      评论:0      收藏:0      [点我收藏+]

标签:

./pssh -h ./host/all.txt -P mkdir /usr/local/app
./pssh -h ./host/all.txt -P tar zxf /usr/local/software/apache-flume-1.6.0-bin.tar.gz -C /usr/local/app
./pssh -h ./host/all.txt -P mv /usr/local/app/apache-flume-1.6.0-bin /usr/local/app/apache-flume-1.6.0
vi /etc/profile
增加flume环境变量配置
#set flume envrioment
export FLUME_HOME=/usr/local/app/apache-flume-1.6.0
export PATH=$FLUME_HOME/bin:$PATH
./pscp -h ./host/all.txt /etc/profile /etc
./pssh -h ./host/all.txt -P source /etc/profile
./pssh -h ./host/flume.txt -P ln -s /usr/local/app/apache-flume-1.6.0/ ~/flume
./pslurp -h ./host/flume-agent.txt -L /usr/local/app/realconfig/agent.conf ~/flume/conf/agent.conf realconfig
./pslurp -h ./host/flume-collector.txt -L /usr/local/app/realconfig/collector.conf ~/flume/conf/collector.conf realconfig

flume 集群安装

标签:

原文地址:http://www.cnblogs.com/huiy/p/5404402.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!