当前位置:网站首页>Proxy settings such as nifi listsftp
Proxy settings such as nifi listsftp
2022-07-18 05:18:00 【Qingdong】
nifi ListSFTP Wait for proxy settings
Preface
Use nifi When collecting in large quantities , In the protection of the cluster, generally, only the interface function can communicate with the data source provided by the other party .
At this time nifi Cluster collection is likely nifi Network interworking cannot be carried out directly , You need to use an agent To connect to the other server to collect data .
about ListSFTP The essence of , You can see :ListSFTP Work:
see nifi Collection configuration
As shown in the figure below ,nifi There are three proxy settings for collection , I recommend using Proxy Configuration Service To configure ( The reason is that you can set the verified account password , Not the rest .)
nifi Agent optional HTTP HTTPS and socks5 Acting as agent .
socks5 and https/http What's the difference , It's very simple , We act as agents, such as web agents https/http Different protocols are adopted , Similar agreements include ftp/sftp wait .
So to put it simply socks Namely socks The agreement ,https Namely https The agreement . You can use whatever agreement you want
Here we use socks5 To represent SFTP agreement ( You can see the agreement Big man's explanation socks)
Environmental preparation
nifi colony
Proxy node AAA
Data nodes BBB
Set up in the proxy node socks5 service
Because most company servers are not connected to the Internet , Therefore, an offline installation package is prepared for everyone to use .
Resources to address , Such as 404 Please comment on
ss5 Official address
Upload rpm.tar.gz ss5-3.8.9-8.tar.gz To the proxy node AAA Of /data1/app/ Under the table of contents
rpm.tar.gz by ss5 Related dependence of , contain
automake-1.13.4-3.el7.noarch.rpm
gcc-c+±4.8.5-44.el7.x86_64.rpm
openssl-devel-1.0.2k-21.el7_9.x86_64.rpm
cyrus-sasl-devel-2.1.26-23.el7.x86_64.rpm
make-3.82-24.el7.x86_64.rpm
pam-devel-1.1.8-23.el7.x86_64.rpm
gcc-4.8.5-44.el7.x86_64.rpm
openldap-devel-2.4.44-22.el7.x86_64.rpmss5-3.8.9-8.tar.gz by ss5 Latest installation package
Installation dependency
Unzip two tar.gz
cd /data1/app/
tar -zxcf rpm.tar.gz
tar -zxcf ss5-3.8.9-8.tar.gz
install ss5 rely on
cd rpm; rpm -Uvh --force --nodeps *.rpm;
install ss5
Entry directory , Use ss5 Built in check command to generate make Documents required .
cd ss5-3.8.9;
./configure
If the execution is successful, it will display 
Failure display
If it fails, the dependency is not installed , Or the installation version is wrong .
go back to ss5-3.8.9 The catalog goes on make operation
cd /data1/app/ss5-3.8.9
make
make install # There is no output
Screenshot after completion 
ss5 To configure
Follow start ( Start when the system starts ss5)
chmod +x /etc/init.d/ss5
chkconfig --add ss5
chkconfig --level 345 ss5 on
Configure connectable ip And port
vim /etc/opt/ss5/ss5.conf
# find the line, and change it
auth 0.0.0.0/0 - u
permit u 0.0.0.0/0 - 0.0.0.0/0 - - - - -


Then create ss5 Users of
vim /etc/opt/ss5/ss5.passwd
# add to Space separated key value pairs
user name password
userName password

Restart the server
service ss5 restart
If something goes wrong Permission denied
That is to ignore the above steps of forgetting to add permissions .
SS5 verification
If there is QQ perhaps TIM, That's easy Use QQ Login interface SS5 The agent can verify , Such as 
Click test to view SS5 The success of .
nifi Agent configuration
Create a nifi ListFtp
Click on “→” Conduct Proxy Configuration Service Configuration of 

Then click OK , Click on “able” Button on . Then start listSFTP, Pay attention when using listSFTP and FetchSFTP when , Both have to be configured Proxy Configuration Service The operation of .
follow-up
If there is a problem , Please ask questions in the comment area .
边栏推荐
- Information system project manager 10 days before the exam limit sprint + answer (10): summary of comprehensive knowledge
- uni-app 遍历数组 渲染数据 竖状渲染
- Information system project managers must recite the core examination points (I) six elements of the national information system
- Redis02:Linux环境安装Redis
- FreeModbus 在 STM32F1 平台的移植和解析
- Figure 1: four directions and three strategies for digital transformation of state-owned enterprises
- The seventh day of learning C language with small Bai challenge -- Enumeration, structure, community
- Information system project managers must recite the core examination points (IV) the relationship between UML classes
- STM32F103 serial port +dma interrupt to realize data sending and receiving
- What fault simulation does the chaosblade now support for the database? Do the teachers have any information?
猜你喜欢

对接企业微信,客户关系管理也可以很简单!

The 15th day of zero basic Lua --- finally, I'll summarize it

Information system project manager core examination site (VIII) software integration technology

Matlab_ Figure is displayed on the top during debugging

v-bind和v-for

uni-app表单数据不复现

Profiles vs Permission Sets

NiFi ListSFTP精讲

信息系统项目管理师核心考点(七)软件架构风格

电商平台后台管理系统--->系统详细设计(订单管理模块)
随机推荐
关于安全细节 Timing Attack
Chess all in one
Dynamic programming | matrix multiplication
12306抢票工具震撼来袭
ORACLE在修改主键时出现ORA-00955报错解决方法
Information system project managers must recite the core examination sites (10) information system planning
理财平台哪个最安全收益怎么样
Modbus timeout setting
STM32 internal flash operation function
现在ChaosBlade对数据库支持哪些故障的模拟呀?老师们有什么资料吗?
STM32F103 串口 +DMA中断实现数据收发
STM32F103 serial port DMA + idle interrupt to realize variable length data sending and receiving
Core examination site for information system project managers (XI) two key technologies and architectures of the Internet of things
NiFi集群搭建及必要的相关配置
Salesforce邮件发进垃圾邮箱或未收到SF邮件处理方式 (DKIM - New CNAME Version)
信息系统项目管理师考前10天极限冲刺+答案(十):综合知识总结
[kekeguo information management] how to write the procurement management of information management papers
DBeaver连接mysql错误:The server time zone value ‘Öйú±ê׼ʱ¼ä‘ is unrecognized or represents more than
What fault simulation does the chaosblade now support for the database? Do the teachers have any information?
C#编写一个GUI工具并反编译