litespeed安装pureftpd成功后UID,GID而引起530错误问题
首先安装pureftpd转LNMP的安装过程:cd /rootwget -c http://www.vpsmm.com/soft/pureftpd.tar.gztar zxvf pureftpd.tar.gzchmod +x /root/pureftpdwget -c http://download.pureftpd.org/pub/pure-ftpd/rele
·
首先安装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
litespeed安装pureftpd成功后
发现启用[UID]nobody和[GID]nobody,登录FTP出现530验证错误
经过百度谷歌后发现是pureftpd配置文件/usr/local/pureftpd/pure-ftpd.conf有问题
其中一个配置MINUID 这个设定的值100 //意思是UID的数值必须不小于100
而[UID]nobody的数值是99 刚好小于100
所以导致pureftpd的530验证错误
解决方法:修改MINUID的值小于99
重启pureftpd
OK,终于看到连接成功了!~
转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
litespeed安装pureftpd成功后
发现启用[UID]nobody和[GID]nobody,登录FTP出现530验证错误
经过百度谷歌后发现是pureftpd配置文件/usr/local/pureftpd/pure-ftpd.conf有问题
其中一个配置MINUID 这个设定的值100 //意思是UID的数值必须不小于100
而[UID]nobody的数值是99 刚好小于100
所以导致pureftpd的530验证错误
解决方法:修改MINUID的值小于99
重启pureftpd
OK,终于看到连接成功了!~
更多推荐
已为社区贡献7条内容
所有评论(0)