How to configure a ProFTPD Server

Source: Internet
Author: User
Article Title: Teach you how to configure a ProFTPD server. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open-source and other basic categories of proftpd (Professional FTP daemon), is developed for Wu-FTP weaknesses. In addition to improved security, it also has many features that Wu-FTP does not have. For example, it can run in Stand-alone and xinetd modes. ProFTP is not only easy to configure, but also available for MySQL and Quota modules. They can be used perfectly together to achieve non-system account management and user disk restrictions.
Step 1: basic operations
If you have installed the wuftpd server, uninstall it first. Download the latest ProFTPD version.
1. [root @ ftpd/] # bunzip proftpd-1.3.0.tar.bz2 2. 3. [root @ ftpd/] # cp proftpd-1.3.0.tar/usr/src/4. 5. [root @ ftpd/] # cd/usr/src 6. 7. [root @ ftpd src] # tar xvf proftpd-1.3.0.tar; f0 R$ F8 I 'q * @ F 8. 9. [root @ ftpd src] # cd proftpd-1.3.0 10. 11. [root @ pftd proftpd-1.3.0] #. /configure; make install 12. so far, you have compiled and installed proftpd. There is a default proftpd configuration file proftpd. conf in the/usr/local/etc/directory.
Step 2 ,. Understand the configuration file
The following is the default configuration file after installation:
1. serverName "ProFTPD Default Installation" 2. 3. serverType standalone 4. 5. defaultServer on 6. 7. serverIdent off 8. 9. port 21 10. 11. umask 022 12. 13. maxInstances 14. 15. user nobody 16. 17. group nogroup 18. 19. allowOverwrite on 20. 21. user ftp 22. 23. group ftp 24. 25. userAlias anonymous ftp 26. 27. maxClients 28. 29. displayLogin welcome. msg 30. 31. displayFirstChdir. message 32. 33. denyAll 34. here I will go All eyes are dropped. Readers who are familiar with the configuration methods of Apache servers are easy to understand. There are many similarities between the two.
After configuring the server, you should know the meaning of commands in the configuration file.
Refer to the official Configuration Guide.
The following describes security-related parts.
ServerName: server name. The name of the server that is displayed during logon. The Default value is "ProFTPD Default Installation", which can be modified according to your personal situation.
ServerType: Server work type. ProFTPD can run in Stand-alone and xinetd modes.
DefaultServer: whether to enable virtual FTP. Supported by on and disabled by off.
ServerIdent: Indicates whether to display the FTP software name. on indicates display, off indicates disable.
Port: The Running Port. It is set to the port that the host listens to during login.
Umask: The permission for saving the configuration file is generally 022.
MaxInstances: maximum connection request. Set the number of programs that the server can process at the same time. If the server running type is set to standalone, you can set it to a lower level to avoid DoS attacks by hackers.
User: name of the User who runs the FTP server.
Group: Specifies the name of the user Group that runs the FTP server.
When you log on to the directory (/* is a wildcard character), AllowOverwrite indicates whether to allow the client to overwrite the file. In this case, it is unsafe to select off.

[1] [2] Next page

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.