In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
1. Install JDK
Refer to the installation of jdk, briefly here.
two。 Install Flume2.1. Download Flume
Download address: http://flume.apache.org/download.html
Click the link: apache-flume-1.7.0-bin.tar.gz download.
2.2. Extract the installation package
$tar zxvf apache-flume-1.7.0-bin.tar.gz
2.3. Move the installation files to the installation directory
$cp-rapache-flume-1.7.0-bin / software/
2.4. Create a soft link
$cd / software/
$ln-sapache-flume-1.7.0-bin/ flume
2.5. Environment variable configuration 2.5.1. Modify / etc/profile file
Export FLUME_HOME=/software/flume
Export PATH=$FLUME_HOME/bin:$ZOOKEEPER_HOME/bin:$HBASE_HOME/bin:$HIVE_HOME/bin:$JAVA_HOME/bin:$HADOOP_HOME/bin:$HADOOP_HOME/sbin:$PATH
Export CLASSPATH=.:$FLUME_HOME/lib/*:$HBASE_HOME/lib/*:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
Restart the configuration after modification so that the environment variable takes effect immediately: $source / etc/profile
2.5.2. Create and modify configuration files in the conf directory
$cp flume-conf.properties.template flume-conf.properties
$cp flume-env.sh.template flume-env.sh
Modify the flume-env.sh file
Set the JAVA_HOME environment variable
Export JAVA_HOME=/software/jdk
2.6. Verify that Flume is installed successfully
$flume-ngversion
If successful, the following message appears, otherwise it is unsuccessful.
Flume 1.7.0
Source code repository: https://git-wip-us.apache.org/repos/asf/flume.git
Revision: 511d868555dd4d16e6ce4fedc72c2d1454546707
Compiled by bessbd on Wed Oct 12 20:51:10 CEST 2016
From source with checksum 0d21b3ffdc55a07e1d08875872c00523
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.