Centos6下pure-ftpd1.0.36编译安装和配置

2014年04月23日

原创内容,转载请注明出处:http://www.myzhenai.com.cn/post/1812.html http://www.myzhenai.com/thread-16208-1-1.html
http://download.pureftpd.org/pub/pure-ftpd/ http://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 http://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 ---------------------------------------------------------------------
Your current IP address is: 54.80.247.119
Your IP address location: 美国
Your IP address country and region: 美国 美国
Your current browser is:
Your current system is:
Original content, please indicate the source:
同福客栈论坛 | 海南仙岛海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
Welcome to reprint. Please indicate the source http://www.myzhenai.com.cn/post/1812.html

没有评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注