原创内容,转载请注明出处:https://www.myzhenai.com.cn/post/1812.html https://www.myzhenai.com/thread-16208-1-1.html
https://download.pureftpd.org/pub/pure-ftpd/ https://download.pureftpd.org/pub/pure-ftpd/releases/
# yum -y install pam-devel # groupadd pure-ftpd # useradd -g pure-ftpd -d /var/empty -s /etc pure-ftpd # wget https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.36.tar.gz # tar -xzvf pure-ftpd-1.0.36.tar.gz # cd pure-ftpd-1.0.36 # ./configure --prefix=/usr/local/pure-ftpd/ --with-mysql --with-language=simplified-chinese --with-everything # make && make check && make install # mkdir -p /usr/local/pure-ftpd/etc # cp pureftpd-mysql.conf /etc/ # cp configuration-file/pure-config.pl /usr/local/pure-ftpd/bin/ # chmod u+x /usr/local/pure-ftpd/bin/pure-config.pl # cp configuration-file/pure-ftpd.conf /usr/local/pure-ftpd/etc/ # cp configuration-file/pure-config.pl /usr/local/sbin/ # chmod 755 /usr/local/sbin/pure-config.pl # cp configuration-file/pure-ftpd.conf /etc/ # cp contrib/redhat.init /etc/rc.d/init.d/pureftpd # chmod u+x /etc/rc.d/init.d/pureftpd # chkconfig --add pureftpd # chkconfig --level 2345 pureftpd on # ln -s /usr/local/pure-ftpd/sbin/pure-ftpd /usr/sbin/ # /usr/local/pure-ftpd/bin/pure-config.pl /usr/local/pure-ftpd/etc/pure-ftpd.conf # /usr/local/pure-ftpd/bin/pure-pw useradd ftpusername -u pure-ftpd -d /var/www/ # /usr/local/pure-ftpd/sbin/pure-ftpd -j -lpuredb:/etc/pureftpd.pdb & # /usr/local/pure-ftpd/bin/pure-pw mkdb # vi /usr/local/pure-ftpd/etc/pure-ftpd.conf # cp /usr/local/pure-ftpd/etc/pure-ftpd.conf /etc/ /usr/local/pure-ftpd/sbin/pure-ftpd & # service pureftpd restart
sicnature ---------------------------------------------------------------------
I P 地 址: 3.15.140.19
区 域 位 置: 美国
系 统 信 息:
Original content, please indicate the source:
同福客栈论坛 | 蟒蛇科普 | 海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
Welcome to reprint. Please indicate the source http://myzhenai.com/post/1812.html
没有评论