当前位置:网站首页>下载安装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
边栏推荐
- The development context of Ba Kong Yuan universe industry
- 学习识别对话式问答中的后续问题
- Causes and solutions to the phenomenon of PCBA monument in SMT patch processing
- Post ordered clue binary tree
- 2021-04-28
- 事物/现象/事情/东西/情况/表象
- Qt之自定义带游标的QSlider
- Flex & Bison 开始
- DPVS fullnat mode deployment
- Graduation season | fitting the best self in continuous exploration
猜你喜欢

Web学习之TypeScript

Anaconda beginner's notes

jarvisoj_level2_x64

Preorder and middle order traversal of forest

随便画画的

Example: use C # Net to teach you how to develop wechat official account (21) -- using wechat to pay online collection: H5 method

【超能云终端创领先机】如何在48小时内交付一座方舱医院?

Post ordered clue binary tree

Wireshark's analysis of IMAP packet capturing

Analyze the five root causes of product development failure
随机推荐
QT excellent open source project 9: qtox
信号处理函数内必须使用可重入函数
机器视觉:照亮“智”造新“视”界
学习识别对话式问答中的后续问题
10.2.2、Kylin_ Kylin installation, uploading and decompressing, verifying environment variables, starting and accessing
Web學習之TypeScript
DPVS fullnat mode deployment
原型和原型链的理解
CaMKIIa和GCaMP6f是一樣的嘛?
Openresty chapter 01 introduction and installation configuration
事物/现象/事情/东西/情况/表象
Methods of modifying elements in JS array
213. house raiding II
Login interceptor
Flex & Bison 开始
Explain from a process perspective what happens to the browser after entering a URL?
Redisson 3.17.4 发布
ciscn_2019_en_2
mysql cluster
Circuit board edge removal - precautions for V-CUT splitting machine