下载解压
./configure --prefix=/opt/dicc/pureftpd --with-puredb
make && make install
创建用户:
mkdir /home/ftp && chown /home/ftp
/opt/dicc/pureftpd/bin/pure-pw useradd ftpuser -u ftp -g ftp -d /home/ftp/ -f /opt/dicc/pureftpd/pureftp.passwd
/opt/dicc/pureftpd/bin/pure-pw mkdb /opt/dicc/pureftpd/pureftp.pdb -f /opt/dicc/pureftpd/pureftp.passwd
启动命令:
/opt/dicc/pureftpd/sbin/pure-ftpd -4 -A -c 10 -C 10 -G -H -i -I 1 -k 95 -K -r -l puredb:/opt/dicc/pureftpd/pureftp.pdb -p 10000:10020 -R -B
阅读(1018) | 评论(0) | 转发(0) |