Install and configure the pureftpd Service

Source: Internet
Author: User
Install and configure the pureftpd service-Linux Enterprise Application-Linux server application information. For more information, see the following. 1. Check whether the FTP service is installed: # rpm? Q vsftpd

2. Directly uninstalled after installation: # rpm? Vstfpd-2.0.6-3.fc9.i386 e

3. Download: proftpd-1.3.1.tar.gz

4, unzip: tar xvzf proftpd-1.3.1.tar.gz

5../configure? Prefix =/usr/proftp

6. make

(Error: in the file that contains from cap_alloc.c: 12:

Libcap. h: 57: 3: error: # error "Kernel Does not match library"

Libcap. h: 58: 3 error: # error "file" libcap. h "--> fix and recompile libcap") (this error indicates kernel mismatch)

7. Download another version: pure-ftpd-1.0.21.tar.gz

8. Unzip: tar xvzf pure-ftpd-1.0.21.tar.gz

9./configure? Prefix =/usr/local/proftp (installation directory)

10. make (compile)

11. make install)

12. cp configuration-file/pure-config.pl/usr/local/pureftpd/sbin (command generation configuration script file)

13. chmod + x/usr/local/pureftpd/sbin/pure-config.pl (command to set script file permissions)

14. mkdir/ftproot (command to create the FTP main directory)

15. Go to the pure-ftp decompression directory and edit the redhat. init file in the contrib subdirectory. Modify it to: fullpath =/usr/local/pureftpd/sbin/$ prog

Pureftpwho =/usr/local/pureftpd/sbin/pure-ftpwho

16. Run cp contrib. /redhat. init/etc /. init. d/pure-ftpd command to redhat. copy the init file to the/ect directory and rename it to pure-ftpd.

17. Run the chmod + x/etc/init. d/pure-ftpd command to set the file to executable.

18. Run chkconfig? The add pure-ftp command adds the pure-ftpd service to the system so that pure-ftpd can run automatically as the system starts.

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.