Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Deployment of Flume environment

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Document location:

Http://flume.apache.org/FlumeUserGuide.html#system-requirements

Java Runtime Environment-Java 1.8 or later (JAVA version must be 1.8 or higher)

Memory-Sufficient memory for configurations used by sources, channels or sinks (need enough memory for channel and source)

Disk Space-Sufficient disk space for configurations used by channels or sinks (sufficient memory is required if Channel is of type File)

Directory Permissions-Read/Write permissions for directories used by agent (related folders must have read and write permissions)

(2) configuration and installation of the environment

1. Install jdk:

Download jdk

Extract to / opt

Configure java into the system environment variable: vim ~ / .bash_profile, edit the environment variable, and source ~ / .bash_profile let the configuration take effect.

Export JAVA_HOME=JDK decompression path

Export PATH=$JAVA_HOME/bin:$PATH

Authentication: java-version

two。 Download Flume

Download jdk

Extract to / opt

Configure Flume into the system environment variable: vim ~ / .bash_profile. After editing the environment variable, source ~ / .bahs_profile makes the configuration take effect.

Export FLUME_HOME=FLUME decompression path

Export PATH=$FLUME_HOME/bin:$PATH

Configure flume

Cd $FLUME_HOME/conf/, will have flume-env.sh.temlate in the conf directory

Cp flume-env.sh.template flume-env.sh

Vim flume-env.sh

In flume-env.sh, you can see # export JAVA_HOME, as an example, configure the JAVA_HOME address in the configuration file

Detection

Flume-ng version

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report