当前位置:网站首页>下载安装Flume
下载安装Flume
2022-06-25 22:43:00 【盛世如恋】
进入Flume官网 https://flume.apache.org/download.html
下载之后放在linux里的任意目录
我把压缩包放在了/tmp目录下
在/tmp目录下解压该压缩包,并且指定解压后放置在/opt目录下
tar -xvf apache-flume-1.10.0-bin.tar.gz /opt
重命名mv apache-flume-1.10.0-bin flume110
先找到安装jdk路径 echo $JAVA_HOME
复制/usr/local/java/jdk1.8.0_151
,你的可能不一样
修改Flume配置
[[email protected] opt]# cd /opt/flume110/conf
[[email protected] conf]# mv flume-env.sh.template flume-env.sh
修改flume-env.sh文件
vi flume-env.sh
在flume-env.sh添加
export JAVA_HOME=/usr/local/java/jdk1.8.0_151
配置环境变量
vi /etc/profile
FLUME_HOME=/opt/flume110
export PATH=$JAVA_HOME/bin:$PATH:$FLUME_HOME/bin
export HADOOP_HOME ZOOKEEPER_HOME FLUME_HOME
刷新环境变量
source /etc/profile
测试,输入flume-ng version
边栏推荐
- 4 key points to help the product manage the project well
- DPVS fullnat mode management
- Flex & Bison 开始
- Logstash discards log data that does not match the file name exactly
- Atlas200dk brush machine
- What are AOI, X-ray and ICT in SMT industry? What does it do?
- Idea set the template of mapper mapping file
- Redis的安装及启动
- Mining pit record of modified field information in Dameng database
- Leetcode 513. Find the value in the lower left corner of the tree
猜你喜欢
“Method Not Allowed“,405问题分析及解决
使用VS2022编译Telegram桌面端(tdesktop)
Anaconda beginner's notes
Display unassigned virtual address after easyconnect connection
Research and development practice of Kwai real-time data warehouse support system
leetcode.14 --- 最长公共前缀
86. (cesium chapter) cesium overlay surface receiving shadow effect (gltf model)
渗透工具-Burpsuite
【图像检测】基于高斯过程和Radon变换实现血管跟踪和直径估计附matlab代码
Typescript for Web Learning
随机推荐
SQL中只要用到聚合函数就一定要用到group by 吗?
Logstash discards log data that does not match the file name exactly
Typescript for Web Learning
4 key points to help the product manage the project well
Phoenix index
Idea set the template of mapper mapping file
[TSP problem] solving traveling salesman problem based on Hopfield neural network with matlab code
Kylin
原型和原型链的理解
Middle order clue binary tree
Causes and solutions to the phenomenon of PCBA monument in SMT patch processing
How to design the product roadmap?
Tensorrt PB to UF problem
Idea view unit test coverage
mysql cluster
元宇宙中的法律与自我监管
Summary of common terms and knowledge in SMT chip processing industry
The development context of Ba Kong Yuan universe industry
Chapter V exercises (124, 678, 15, 19, 22) [microcomputer principles] [exercises]
Wireshark's analysis of IMAP packet capturing