下载
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