Debian5 LNMP compilation and installation pureftpd Manual

Source: Internet
Author: User

PureftpdIt is a fast, high-quality, and fully functional ftp server. The most important thing is that it supports setting the Default Client encoding. Today I will give you a detailed introduction: debian5 detailed process of LNMP compilation and installation of pureftpd.

VPS is switched to DS2, with relatively small memory and less memory saved by Debian, so it is switched to Debian 5 + LNMP system.

However, the built-in pureftpd. sh script of June lnmp is fully supported in centos 32/64 and cannot be installed in debian64. After a long time, the installation was successful. Note:

Step 1: Download and compile pureftpd

 
 
  1. cd /root/lnmp0.4/  
  2.  
  3. wget -c http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.29.tar.gz  
  4.  
  5. tar zvxf pure-ftpd-1.0.29.tar.gz  
  6.  
  7. cd pure-ftpd-1.0.29  
  8.  
  9. cp /usr/local/mysql/lib/mysql/*.* /usr/lib/  
  10.  
  11. ./configure --prefix=/usr/local/pureftpd CFLAGS=-O2 --with-mysql=/usr/local/mysql --with-quotas --with-cookie --with-virtualhosts --with-virtualroot --with-diraliases --with-sysquotas --with-ratios --with-altlog --with-paranoidmsg --with-shadow --with-welcomemsg --with-throttling --with-uploadscript --with-language=simplified-chinese  
  12.  
  13. make && make install  
  14.  
  15. mkdir /usr/local/pureftpd/etc/  
  16.  
  17. cp configuration-file/pure-config.pl /usr/local/pureftpd/sbin/  
  18.  
  19. cp configuration-file/pure-ftpd.conf /usr/local/pureftpd/etc/  
  20.  
  21. chmod +x /usr/local/pureftpd/sbin/pure-config.pl  

Step 2: Download the FTP Management Program of June

 
 
  1. apt-get install unzip  
  2.  
  3. wget -c http://soft.vpser.net/ftp/pure-ftpd/User_manager_for-PureFTPd_v2.1_CN.zip  
  4.  
  5. unzip User_manager_for-PureFTPd_v2.1_CN.zip  
  6.  
  7. mv ftp /home/wwwroot/  
  8.  
  9. chmod 777 -R /home/wwwroot/ftp/  
  10.  
  11. chown www -R /home/wwwroot/ftp/  
  12.  

The compilation is complete. For details about How to Use http: // you/ftp/install. php for installation, refer to "install lnmp preftpd page administrator".

TIPS:

You can complete the next step during installation. Then, you can use phpmyadmin to change the ftp password. Modify/ftp/config. php and the pureftpd-mysql.conf file to change the default password. Note: After the installation is complete, restart the pureftpd service to take effect.

Based on the description in the article, we can know that it is not difficult to compile and install pureftpd in Debian5 LNMP. configure it by yourself!

  • Pureftpd ubuntu Configuration Guide
  • Use Pureftpd + PureDB to build a simple Linux ftp website
  • Folder permission for Pureftpd configuration in ubuntu
  • Common configurations of Pureftpd in ubuntu
  • Pureftpd strategy
  • Setting of Pureftpd. conf
  • Introduction to Pureftpd
  • VsFTPd server beginner's Guide

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.