Ubuntu7.04 install proftpd-Linux Enterprise Application-Linux server application information. The following is a detailed description. Proftpd is what, look at the name to know it should be related to the ftp service, the specific content can be viewed here http://www.proftpd.org/
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.
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.
....
....
....
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.
In this way, start xinetd again, and you can find the xinetd. log file in the/var/log directory. Check what problems occur when xinetd is started.
The next step is to study the proftpd configuration. Several Typical propositions need to be considered:
Virtual directory
User Permissions
Traffic limit
Although I can log on now, it takes a very long time to log on. At first I thought it was a problem with the inetd mode. Then I went online and looked for it, it turns out that proftpd uses DNS every time to find the author's website.
Therefore, you need to add two options:
IdentLookups off
UseReverseDNS off
Chinese garbled characters
When logging on to FlashFxp, we found that all Chinese file names were garbled. Because the character set in my ubuntu is UTF-8. With FileZilla, You can forcibly use UTF-8 in advanced settings of Site Management to see Chinese. You can use FlashFXP. I didn't get the relevant settings early.
The next step is to allow my User Group terry to access files under/media, which is actually the original NTFS partition mounted.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service