Debian5+LNMP重新编译安装pureftpd

第一步,下载编译pureftpd

cd /root/lnmp0.4/
下载: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

第二步,FTP管理程序

apt-get install unzip
下载: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/

本文出自 “VPS.GL专注于优质VPS” 博客,转载请与作者联系!

你可能感兴趣的:(LNMP,pureftpd,Debian5)