In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to set xinetd to start proftpd, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Set xinetd to start proftpd:
In fact, most of the current FTP daemon is started by super daemon! So here we also directly use xinetd to set up proftpd! With one more management, it will be safer! ^ _ ^! The setting method is really simple ~ just edit the proftpd under xinetd and some of the contents of proftpd.conf files! [root@test root] # vi / etc/xinetd.d/proftpd
Service ftp {disable = no flags = REUSE socket_type = stream wait = no user = root server = / usr/local/proftpd/sbin/proftpd server_args =-c / usr/local/proftpd/etc/proftpd.conf log_on_success + = DURATION USERID log_on_failure + = USERID}
# the focus of the above lies in the place of bold words! Especially server =.. That line!
# since we are installed using Tarball, it is natural to place directories in our files.
# if you use RPM installation, it's not the same here!
# in addition, the server_args is followed by the file name of the profile!
[root@test root] # vi / usr/local/proftpd/etc/proftpd.conf
# find the following setting value:
ServerType standalone
Group nogroup
# because our system does not have a nogroup group, it must be changed to
# only if there are groups in the system interview! The server can be started by super daemon and
# stand alone, so:
ServerType inetd Group nobody [root@test root] # / etc/rc.d/init.d/xinetd restart [root@test root] # netstat-tlnp tcp 0 0 0.0.0.0 root@test root 21 0.0.0.0 root@test root * LISTEN 8483/xinetd
# hehe! 21 this port has appeared! There is no problem with the theory, but it still needs to be analyzed.
# / var/log/messages the content of this file is fine!
Generally speaking, we still recommend using xinetd to start services, especially server architectures such as FTP. In this case, we use xinetd to start it, but the proftpd profile proftpd.conf must specify the setting value of ServerType. There are two options:
Standalone: it means to start an emergency.
Inetd: indicates the use of super daemon, which is used by both inetd and xinetd.
So, it needs to be repaired here! And then you can start it right!
The above is all the contents of the article "how to set xinetd to start 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.