#!/bin/bashcd /usr/local/src#wget http://download.pureftpd.org/pub/pure-ftpd/releases/ pure-ftpd-1.0.32.tar.gztar -zxvf pure-ftpd-1.0.32.tar.gzcd pure-ftpd-1.0.32./configure -- Prefix=/usr/local/pureftpd --without-inetd --with-altlog --with-puredb --with-throttling --with-peruserlimits --with-tlsmake && make installmkdir -p /usr/local/pureftpd/etc/cp ./configuration-file/pure-ftpd.conf /usr/local/pureftpd /etc/pure-ftpd.confcp ./configuration-file/pure-config.pl /usr/local/pureftpd/sbin /pure-config.plchmod 755 /usr/local/pureftpd/sbin/pure-config.pl/usr/local/ Pureftpd/sbin/pure-config.pl /usr/local/pureftpd/etc/pure-ftpd.conf#mkdir /data/pureftp/ chown -r www:www /data/pureftp/usr/local/pureftpd/bin/pure-pw useradd upload -uwww -d /data/pureftp//usr/local/pureftpd/bin/pure-pw mkdbyum install -y lftplftp [email protected]
This article is from the "Xiangjiang River Blowing Crazy" blog, please make sure to keep this source http://xjcf00.blog.51cto.com/10170403/1642576
Installing the Pureftp Script