flume 集群安装
./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.0vi /etc/profile增加flume环境变量配置#set flume envriomentexport FLUME_HOME=/usr/local/app/apache-flume-1.6.0export 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
若是本人原创文章,请标明:本文来自博客园,作者:huiy_小溪,转载请注明原文链接:https://www.cnblogs.com/huiy/p/5404402.html。
反之,请标明原创作者,文章链接,所属平台。