In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "what the proftpd structure is like". The content is simple and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn this article "what the proftpd structure is like."
The structure of proftpd
The architecture of this proftpd server is also very simple! There is only one main profile, so let's talk about the files that proftpd needs to pay attention to.
Proftpd.conf: this is the main proftpd profile! In the example of RPM installation, his goal is / etc/proftpd.conf, in my case, it is placed in / usr/local/proftpd/etc/proftpd.conf! The settings for all the proftpd we have asked for in the future are all set in this file. The configuration method of his profile is already well written in this proftpd.conf file. And proftpd also provides a lot of documentation. If your proftpd is installed in RPM, the files are placed in / usr/share/doc/proftpd- "version" / Configuration.html, or / usr/local/src/proftpd- "version" / Configuration.html in Tarball security. However, the fact that the documentation is too complicated ~ just need to know some of the main settings! This is what we want to achieve in the future!
Proftpd: this is the daemon running file for the main proftpd! We have to start him! In addition, this is the service file name for the TCP Wrappers (/ etc/hosts.deny (allow)) setting. In addition, when proftpd starts, it will access the profile, that is, proftpd.conf, but we can also specify other files to configure proftpd! If so, it is necessary to start proftpd like this: [root@test root] # proftpd-c profile name
[root@test root] # proftpd-c / usr/local/proftpd/etc/proftpd.conf
Ftpcount: at present, the number of connections using proftpd on the host can be reached ftpcount directly under the instruction line!
Ftpshut: specify how long before the proftpd service will be terminated! Sometimes we need to protect the FTP host, right? That's why you need to turn it off! You can use this ftpshut directive to do this before turning off the ftp service. His interpretation is as follows: [root@test root] # ftpshut [- l sub-division]-d [sub-sub] time "message"
Parameters specify:
-l: no one who tries to create a new FTP connection is accepted before the FTP server shuts down the service
-d: how many minutes before the FTP server shuts down the service, so that the established FTP connection is forced to stop
Time: at what time or how many minutes, the FTP server will shut down the FTP service! There are several formats:
+ number: FTP will shut down after number sharing
MMHH: FTP will shut down in today's MM:HH time
Message: the information shown to user!
Example:
Example 1:
# after another 180 minutes, the FTP will shut down, and the first 20 minutes after the shutdown will no longer accept new connections
# strengthen the connection 10 minutes before the shutdown with the established connection, and show it on the client side:
# FTP will shutdown at time
[root@test root] # ftpshut-l 20-d 10 + 180 "This FTP will shutdown at time"
In fact, ftpshut will create a file, that is, / etc/shutmsg, can you still get this file? In the previous chapter, the most simple ftpaccess settings for Wu FTP host settings, check the items mentioned in item 8, hehe! Heh hee! So this is the file! If you want to restart the FTP service, just delete this file or change the relevant number of this file! Please turn to the previous chapter to check!
Ftpwho: it can be used to see how many people currently use the proftpd service. The simple method can be downloaded directly to ftpwho, as shown below:
[root@test root] # ftpwho
Standalone FTP daemon [8451]:
Badbird [0m11s] 0m6s (idle)
Service class-1 user
The above is all the content of this article "what is the structure of proftpd?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.