全球主机交流论坛

标题: 安装FTP,请大家帮忙看一下第一步是什么意思。 [打印本页]

作者: wjhhxl    时间: 2011-1-30 17:47
标题: 安装FTP,请大家帮忙看一下第一步是什么意思。
实在是不会了。
安装PUREFTPD,始终不成功。这第一步是什么意思,
还有第三步,如何重启FTP呢。
Step A)
  Edit the configuration file pure-ftpd.conf and make sure that following line with the attribute 'MySQLConfigFile' is enabled and points to the right location.
# MySQL configuration file (see README.MySQL)
MySQLConfigFile /usr/local/etc/pureftpd-mysql.conf
  

Step C)
  Start or restart your FTP server to activate those changes.  


还有第三步,该怎么重启FTP。谢谢。
作者: jiangchunlin    时间: 2011-1-30 17:53
提示: 作者被禁止或删除 内容自动屏蔽
作者: wjhhxl    时间: 2011-1-30 17:59
原帖由 jiangchunlin 于 2011-1-30 17:53 发表
http://www.vpser.net/manage/lnmp-pureftpd-cp.html


谢谢,有一件事很诡异,就是我安装完后,没有/usr/local/pureftpd/ 这个文件夹,你说急不急人。
作者: jiangchunlin    时间: 2011-1-30 18:01
提示: 作者被禁止或删除 内容自动屏蔽
作者: wjhhxl    时间: 2011-1-30 18:03
也没有,真郁闷、
作者: wjhhxl    时间: 2011-1-30 18:06
make: *** 没有指明目标并且找不到 makefile。 停止。
cp: 无法 stat “configuration-file/pure-config.pl”: 没有那个文件或目录
chmod: 无法访问 “/usr/local/pureftpd/sbin/pure-config.pl”: 没有那个文件或目录
cp: 无法创建普通文件“/usr/local/pureftpd/”: 是一个目录
cp: 无法创建普通文件“/usr/local/pureftpd/”: 是一个目录

安装时出现的错误
作者: wjhhxl    时间: 2011-1-30 18:07
找了个以前的贴子
发现只能这样安装
不能用军哥提供的安装包方法安装

wget -c http://download.pureftpd.org/pub ... -ftpd-1.0.29.tar.gz
tar zvxf pure-ftpd-1.0.29.tar.gz
cd pure-ftpd-1.0.29
cp /usr/local/mysql/lib/mysql/*.* /usr/lib/
./configure --prefix=/usr/local/pureftpd CFLAGS=-O2 --with-mysql=/usr/local/mysql --with-quotas --with-cookie --with-virtualhosts --with-virtualroot --with-diraliases --with-sysquotas --with-ratios --with-altlog --with-paranoidmsg --with-shadow --with-welcomemsg  --with-throttling --with-uploadscript --with-language=simplified-chinese
make && make install
mkdir /usr/local/pureftpd/etc/
cp configuration-file/pure-config.pl /usr/local/pureftpd/sbin/
cp configuration-file/pure-ftpd.conf /usr/local/pureftpd/etc/
chmod +x /usr/local/pureftpd/sbin/pure-config.pl




欢迎光临 全球主机交流论坛 (https://sunk.eu.org/) Powered by Discuz! X3.4