本来我的服务器上默认安装的是1.0.21,不过最近pureftpd发布了新版本,还是决定升级下.
于是马上下载了源码包:
http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.24.tar.bz2
我的configure:
$ ./configure --prefix=/usr/local/pureftpd --with-sysquotas --with-altlog --with-puredb --with-extauth --with-cookie --with-throttling --with-ratios --with-quotas --with-welcomemsg --with-virtualhosts --with-virtualchroot --with-diraliases --with-peruserlimits --with-everything --with-language=simplified-chinese --with-mysql (因为我用的是和mysql绑定).
make, make install 都很顺利.
完了之后,把安装目录下的pureftpd-mysql.conf 和 configuration-file文件夹下的
pure-ftpd.conf 复制到 /etc 下面.
再把 configuration-file文件夹下 pure-config.pl 复制到 /sbin下,操作配置,启动即可.
于是马上下载了源码包:
http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.24.tar.bz2
我的configure:
$ ./configure --prefix=/usr/local/pureftpd --with-sysquotas --with-altlog --with-puredb --with-extauth --with-cookie --with-throttling --with-ratios --with-quotas --with-welcomemsg --with-virtualhosts --with-virtualchroot --with-diraliases --with-peruserlimits --with-everything --with-language=simplified-chinese --with-mysql (因为我用的是和mysql绑定).
make, make install 都很顺利.
完了之后,把安装目录下的pureftpd-mysql.conf 和 configuration-file文件夹下的
pure-ftpd.conf 复制到 /etc 下面.
再把 configuration-file文件夹下 pure-config.pl 复制到 /sbin下,操作配置,启动即可.