全球主机交流论坛

标题: 安装pureftpd 出现错误 [打印本页]

作者: wjhhxl    时间: 2011-1-18 11:53
标题: 安装pureftpd 出现错误
我之前安装过一次,但始终用不了,于是又安装一次,现在出现这个错误
我安装的是论坛推荐的lnmp0.5自带的那个pureftpd软件。


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/”: 是一个目录
Archive:  User_manager_for-PureFTPd_v2.1_CN.zip
replace ftp/CHANGELOG? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
error:  invalid response [
]
replace ftp/CHANGELOG? [y]es, [n]o, [A]ll, [N]one, [r]ename:
作者: 小夜    时间: 2011-1-18 11:57
我装pureftpd,都是用这个脚本:
  1. wget -c http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.29.tar.gz
  2. tar zvxf pure-ftpd-1.0.29.tar.gz
  3. cd pure-ftpd-1.0.29
  4. cp /usr/local/mysql/lib/mysql/*.* /usr/lib/
  5. ./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
  6. make && make install
  7. mkdir /usr/local/pureftpd/etc/
  8. cp configuration-file/pure-config.pl /usr/local/pureftpd/sbin/
  9. cp configuration-file/pure-ftpd.conf /usr/local/pureftpd/etc/
  10. chmod +x /usr/local/pureftpd/sbin/pure-config.pl
复制代码

作者: Globalization    时间: 2011-1-18 12:05
不懂技术
作者: wjhhxl    时间: 2011-1-18 12:06
感谢,
请问安装到最后一步,是要创建一个文件 /usr/local/etc/pureftpd-mysql.conf
,并把灰色内容复制上去吗?

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 B)
  The entire content for the file pureftpd-mysql.conf you can find below, just copy and past the content to a new pureftpd-mysql.conf file. The red color text marks the changes that are made based on the values you choused in step 4 of this configuration process.
作者: leven    时间: 2011-1-18 12:06
make直接失败了,后面肯定挂
提示找不到makefile,看看是不是configure错误
作者: southwind    时间: 2011-1-18 12:11
原帖由 wjhhxl 于 2011-1-18 12:06 发表
感谢,
请问安装到最后一步,是要创建一个文件 /usr/local/etc/pureftpd-mysql.conf
,并把灰色内容复制上去吗?

Step A)
  Edit the configuration file pure-ftpd.conf and make sure that following line with the attr ...

需要复制替换
作者: cookie    时间: 2011-1-18 12:13
复制到pureftpd-mysql.conf中,如果没有pureftpd-mysql.conf这个文件就 建立1个
作者: jker    时间: 2011-1-18 12:15
我每次对照步骤,都安成功
作者: cmlz    时间: 2011-1-18 12:34
只用SFTP路过
作者: xtmp    时间: 2011-1-18 13:55
对于有些系统,lnmp0.5自带的pureftp自动安装脚本是不能够正常安装完成的
原因在于自动安装脚本里面少了一行代码




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