1. download & extract the latest package
2. rename the configure files
mv
flume-conf.properties.template file flume-conf.properties mv
flume-env.sh.template flume-env.sh |
3. vi flume-env.sh
export
JAVA_HOME= "`dirname
$(readlink /etc/alternatives/java)`/../" export
FLUME_HOME= "/home/usernmae/flume" export
CLASSPATH=$CLASSPATH:/FLUME_HOME/lib export
PATH=$PATH:/FLUME_HOME/bin |
4. check flume installation
bash- 4.1 $
./bin/flume-ng version Flume 1.6 . 0 Source
code repository: https: //git-wip-us.apache.org/repos/asf/flume.git Revision:
2561a23240a71ba20bf288c7c2cda88f443c2080 Compiled
by hshreedharan on Mon May 11 11 : 15 : 44 PDT
2015 From
source with checksum b29e416802ce9ece3269d34233baf43f |
Labels: