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
- cd /root/lnmp0.4/
-
- wget -c http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.29.tar.gz
-
- tar zvxf pure-ftpd-1.0.29.tar.gz
-
- cd pure-ftpd-1.0.29
-
- cp /usr/local/mysql/lib/mysql/*.* /usr/lib/
-
- ./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
-
- make && make install
-
- mkdir /usr/local/pureftpd/etc/
-
- cp configuration-file/pure-config.pl /usr/local/pureftpd/sbin/
-
- cp configuration-file/pure-ftpd.conf /usr/local/pureftpd/etc/
-
- chmod +x /usr/local/pureftpd/sbin/pure-config.pl
Step 2: Download the FTP Management Program of June
- apt-get install unzip
-
- wget -c http://soft.vpser.net/ftp/pure-ftpd/User_manager_for-PureFTPd_v2.1_CN.zip
-
- unzip User_manager_for-PureFTPd_v2.1_CN.zip
-
- mv ftp /home/wwwroot/
-
- chmod 777 -R /home/wwwroot/ftp/
-
- chown www -R /home/wwwroot/ftp/
-
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