环境采用的是DS2刀,操作系统是centos 32bit,如果您是debian系统,请观注本博,稍后会整理更新。
首先是phpmyadmin的安装:
wget -c http://soft.vpser.net/datebase/phpmyadmin/phpmyadmin.tar.gz
tar zxvf phpmyadmin.tar.gz
mv phpmyadmin /usr/local/lsws/DEFAULT/html/
请注意litespeed安装路径。通过 http://1.2.3.4/phpmyadmin/ 管理。
然后安装pureftpd,我是参考LNMP的安装过程修改:
cd /root
wget -c http://www.vpsmm.com/soft/pureftpd.tar.gz
tar zxvf pureftpd.tar.gz
chmod +x /root/pureftpd
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
wget -c http://www.vpsmm.com/soft/pureftpd.conf.tar.gz
tar zxvf pureftpd.conf.tar.gz
mv pure-ftpd.conf /usr/local/pureftpd
下载军哥的FTP管理程序
yum -y 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 /usr/local/lsws/DEFAULT/html/
chmod 777 -R /usr/local/lsws/DEFAULT/html/ftp/
编译完成,通过 http://you/ftp/install.php 安装参考《lnmp之preftpd页面管理程序安装》。
平时pureftpd管理命令:
/root/pureftpd start
/root/pureftpd stop
/root/pureftpd restart