linux安装pureftpd
2019-10-09 本文已影响0人
Acto
1、下载软件
wget ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.46.tar.gz
2、安装pure-ftp
./configure --prefix=/usr/local/pureftpd --with-language=simplified-chinese --with-everything
make && make install
3、配置文件
3.1增删用户并生产数据文件
/usr/local/pureftpd/bin/pure-pw useradd huanglc -u www -d /data/www
/usr/local/pureftpd/bin/pure-pw mkdb
3.2 删除用户
/usr/local/pureftpd/bin/pure-pw userdel huanglc
3.3 查询用户列表
/usr/local/pureftpd/bin/pure-pw list
3.4修改配置
vi /usr/local/pureftpd/etc/pure-ftpd.conf
PureDB /usr/local/pureftpd/etc/pureftpd.pdb
3.5启动
/usr/local/pureftpd/sbin/pure-ftpd /usr/local/pureftpd/etc/pure-ftpd.conf