Mac NIFI 安装

本文档详细介绍了如何下载并安装Apache NiFi 1.8.0版本,包括解压软件包、配置Java环境变量、设置Web界面端口以及修改默认的HTTPS端口。此外,还展示了如何设置NiFi的用户名和密码,并提供了启动NiFi的步骤。对于希望部署和管理NiFi的用户来说,这是一个实用的教程。
摘要由CSDN通过智能技术生成

下载

https://nifi.apache.org/download.html

解压

tar -zxvf nifi-1.8.0-bin.tar.gz

配置java_home

vim bin/nifi-env.sh

配置/查看web界面端口

vim conf/nifi.properties

默认https的端口为8443

# web properties #
#############################################

# For security, NiFi will present the UI on 127.0.0.1 and only be accessible through this loopback interface.
# Be aware that changing these properties may affect how your instance can be accessed without any restriction.
# We recommend configuring HTTPS instead. The administrators guide provides instructions on how to do this.

nifi.web.http.host=
nifi.web.http.port=
nifi.web.http.network.interface.default=

#############################################

nifi.web.https.host=127.0.0.1
nifi.web.https.port=8443
nifi.web.https.network.interface.default=
nifi.web.jetty.working.directory=./work/jetty
nifi.web.jetty.threads=200
nifi.web.max.header.size=16 KB
nifi.web.proxy.context.path=
nifi.web.proxy.host=
nifi.web.max.content.size=
nifi.web.max.requests.per.second=30000

设置用户名密码

./bin/nifi.sh set-single-user-credentials <username> <password>

启动

bin目录下

./nifi.sh start
./nifi.sh run
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值