First, check your own and whether there is proftpd. Enter proftpd in the terminal. If Ubuntu does not tell you that there is no proftpd in the system, you need to use apt-get for installation. Well, just do what he says. Sudoapt-getinstallproftpdproftpd is very small and almost complete instantly. The cn99 source is very fast. Then, check the documentation to learn that proftpd has two operating modes: Standalone and inetdstandal. First, check whether proftpd is available on your own. Enter proftpd in the terminal. If Ubuntu does not tell you that there is no proftpd in the system, you need to use apt-get for installation. Well, just do what he says.
Sudo apt-get install proftpd
Proftpd is very small and almost complete instantly. The cn99 source is very fast.
View the documentation and learn that proftpd has two operating modes: Standalone and inetd.
Standalone is more cost-effective and suitable for large traffic volumes. inetd will start a process for each request. It does not consume resources when it is not used at ordinary times. I just use it myself, so I chose the inetd mode.
Cat/etc/inetd. conf
No results are returned.
For more information, see the document. Now linux basically replaces inetd with xinetd. However, xinetd cannot be found in the system. En ~, Understand:
Sudo apt-get install xinetd
It was completed instantly.
Go to the/etc/xined. d directory and see several configured projects. We are adding an ftp.
Sudo vim ftp
Service ftp
{
Flags = REUSE
Socket_type = stream
Instances = 50
Wait = no
User = root
Server =/usr/sbin/proftpd
Log_on_success = HOST PID
Log_on_failure = HOST ATTEMPT
}
What does it mean? In fact, I do not understand it. I want to go to the xinetd homepage to see if the page cannot be found.
Then configure proftpd itself.
Proftpd configuration file in/etc/proftpd. conf
The name "pro" looks very "professional ". The documents on the official homepage are also complex.
Now I have enabled anonymous user logon.
Xml Code
....
....
....
This section should be at the end of proftpd. conf.
For this configuration file, if you have used apache httpd, it should look familiar.
Restart xinetd.
Sudo service xinetd restart
The result shows that there is no service command.
Similarly:
Sudo apt-get debian-helper-scripts
After restarting the server, check that ftp can be logged on. If you cannot log on, you can try to see where the problem is.
Directly call xinetd start in the/etc/init. d directory to see what information is available, if there is no useful information.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.