利尼克斯 回复于:2004-11-02 15:57:58 |
兄弟真是太好了!来的太及时了! 我正需要这方面的咚咚! 感谢一个! |
phpcool 回复于:2004-11-02 16:12:10 |
有问题大家一起付论! 我现在已经应用了,正处于测试价段,大家可以测测一下速度。 有什么提议欢迎提出来。 ftp主机:218.77.246.4 帐号:test 密码:123456 |
aspbiz 回复于:2004-11-02 16:55:18 |
网速好快呀。 我传了几个搞笑的上去。 |
豌豆丝 回复于:2004-11-02 20:43:18 |
为什么我的FTP只能我自己打开呢,其它人就打不开呢》还有哪里有MYSQL的下载?我安装时选 了MYSQL安装,为啥不能用呢 |
phpcool 回复于:2004-11-02 20:54:22 |
www.mysql.com |
phpcool 回复于:2004-11-03 08:38:22 |
顶上去! |
hgkrt 回复于:2004-11-06 21:07:24 |
无法限制IP 在pureftpd-mysql.conf文件里根本就没有找到限制IP的项目... |
zhangr 回复于:2004-11-06 22:42:23 |
怎么没有使用ssl呢? |
sinboy2002 回复于:2004-11-06 23:04:18 |
我不用pureftpd(proftpd),但还是支持一下好贴子 |
hgkrt 回复于:2004-11-07 09:54:02 |
找到可以限制IP的mysql文档了.. 但是发现一个新的关于限制IP的问题.. 是不是写一个192.168.1.1这样的IP就是只让这个IP登陆 而写192.168这样的话,就是这一段IP都无法登陆?? |
dongdonga 回复于:2004-11-09 11:40:52 |
上去了,不错。正在试自己安装看一看。。。 |
phpcool 回复于:2004-11-09 14:38:15 |
如果是mysql作虚拟用户,有相应的字段来限制IP! 回zhangr的怎么没有使用ssl呢? 俺也找不到相关pureftpd+ssl的资料,如有发给俺一份! ltsnet@bxemail.com |
shaotao27 回复于:2004-11-09 14:51:44 |
好贴不能沉啊 |
andychan 回复于:2004-11-10 14:32:51 |
顶! |
飞云盖天 回复于:2004-11-10 18:29:24 |
这么强的贴,不顶对不起楼主啊~~~~~~~~~~ 不过我很奇怪,他的官方网站最新版本是1.0.20。 ftp.pureftpd.org 你这个版本怎么已经1.0.21啦? |
fuwu.net.cn 回复于:2004-11-11 11:16:57 |
.ftpquota这个文件是做什么用的,能说明一下吗?谢谢! |
hezuyou 回复于:2004-11-11 11:47:04 |
我./configure时提示mysql clint nened mysql support 应当是要sql的支使吧,但是我已经装了sql了亚. |
phpcool 回复于:2004-11-11 12:47:21 |
[quote:07867d80b5="fuwu.net.cn"].ftpquota这个文件是做什么用的,能说明一下吗?谢谢![/quote:07867d80b5] 磁盘限额。 |
phpcool 回复于:2004-11-11 12:48:02 |
[quote:e8f45ab43e=""]我./configure时提示mysql clint nened mysql support 应当是要sql的支使吧,但是我已经装了sql了亚.[/quote:e8f45ab43e] 路径得改成你自己,还有要有mysql客户端包libmysqlclient支持! |
wing-qiang 回复于:2004-11-13 00:43:17 |
诶呀!!大哥,我早点看到就好了!相逢恨晚啊!!谢谢phpcool的指点!!现在还不算太迟:) |
hgkrt 回复于:2004-11-13 03:10:53 |
To :: phpcool 你说有相应的字段来控制IP,但是问题就是怎么控制!! 我现在发现只能输入一个全的IP(比如192.168.1.10),才好用..(这个IP可以登陆) 当你输入一个192.168.*.*这样的段IP后,就不好用了... 毕竟只有限制段IP的控制才现实...因为大家都是动态IP上网的.. 能用的起静态IP的个人还是少数... |
fuwu.net.cn 回复于:2004-11-14 20:04:27 |
pureftpd.passwd 我的怎么没有这个文件? |
jiaxing 回复于:2004-11-15 08:54:04 |
phpcool怎么联系你呀? 老大我又遇到问题了,防火墙只开了20、21端口,我没有防火墙权限怎么办呀。 |
phpcool 回复于:2004-11-15 10:03:22 |
QQ:187328233 (中午/晚上在线) |
twinkleolive 回复于:2004-11-19 14:35:46 |
tar zvxf pureftpd_php_manager.tar.gz cd pureftpd_php_manager 里面没有pureftpd-mysql.conf.sample这个文件,谁能告诉我呀,急 |
peng 回复于:2004-11-19 15:37:36 |
能实现这样的功能吗? 1 只允许用户上传,不能下载. 2 只允许用户上传,下载,但是不能更改. |
fuwu.net.cn 回复于:2004-11-19 21:38:58 |
如何实现对用户密码进行md5加密呀? |
phpcool 回复于:2004-11-20 23:05:12 |
[quote:3fd1997c95="twinkleolive"]tar zvxf pureftpd_php_manager.tar.gz cd pureftpd_php_manager 里面没有pureftpd-mysql.conf.sample这个文件,谁能告诉我呀,急[/quote:3fd1997c95] 文件内容 [code:1:3fd1997c95] # If you want to use the Socket connect methode comment out the # Lines with MMYSQLServer and MYSQLPort. # If you want to use the Port methode comment out the MYSQLSocket line #MYSQLSocket /var/lib/mysql/mysql.sock MYSQLServer localhost MYSQLPort 3306 MYSQLUser root MYSQLPassword 123456 MYSQLDatabase pureftpd MYSQLCrypt md5 MYSQLGetPW SELECT Password FROM ftpd WHERE User="\L" AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R") MYSQLGetUID SELECT Uid FROM ftpd WHERE User="\L" AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R") MYSQLGetGID SELECT Gid FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R") MYSQLGetDir SELECT Dir FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R") MySQLGetBandwidthUL SELECT ULBandwidth FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R") MySQLGetBandwidthDL SELECT DLBandwidth FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R") MySQLGetQTASZSELECT QuotaSize FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R") MySQLGetQTAFS SELECT QuotaFiles FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R") [/code:1:3fd1997c95] |
phpcool 回复于:2004-11-20 23:14:46 |
[quote:5304657089="fuwu.net.cn"]如何实现对用户密码进行md5加密呀?[/quote:5304657089] 以php为例:$password=md5($password);将密码进行md5加密, 然后入库。 在pureftpd-mysql.conf中设 MYSQLCrypt md5 |
studyboy 回复于:2004-11-24 08:30:19 |
pureftpd只是一个低负载需求的ftpd,跑在低配置的bsd上面很超值 如果你真的要很多功能,建议去看看glftpd吧…… 公网用gl的基本上只有ts 教育网里面用gl的很多 |
ydj 回复于:2004-11-24 11:07:52 |
我用楼主的办法,在AIX5下安装时,编译时出现以下错误: log_mysql.c: In function `sqlsubst': log_mysql.c:105: error: syntax error before '.' token log_mysql.c:126: error: `ip_ff' undeclared (first use in this function) log_mysql.c:126: error: (Each undeclared identifier is reported only once log_mysql.c:126: error: for each function it appears in.) make: 1254-004 The error code from the last command is 1. 我的MYSQL版本为:mysql-standard-4.0.21-ibm-aix5.1.0.0-powerpc, GCC的版本为3.2.2,pureftp我试过两个版本,分别为1.0.20和1.0.21,都出同样的问题。请教这是什么原因。 |
phpcool 回复于:2004-11-24 12:40:58 |
我在rh/FreeBSD都没问题,你找找Pureftpd有没有aix版的,这个我也没试过。 |
ydj 回复于:2004-11-24 13:26:08 |
我在编译时,发现可以支持AIX,在README文件中也说明可以支持AIX。现在是对MYSQL组件的支持问题,好象是对MYSQL读取的函数有点问题。但我解决不了。特请教。 |
phpcool 回复于:2004-11-24 14:05:33 |
cp mysql/lib/以ibmysqlclient开头的文件 /usr/lib 然后ldconfig |
ydj 回复于:2004-11-25 09:37:32 |
谢谢楼的回答,你可能还是用LINUX或BSD的概念吧,好象在AIX下没有ldconfig命令呀,我用ld 命令和path设定,都不行,还会在make时出现同样的错,而不能编译成功。就是不能到pureftpd网站,否则,可能到那边去看一下为什么不能在AIX下编译成加上MYSQL模块。 |
sulily 回复于:2004-11-26 15:11:10 |
请教: 我按楼主说的,都很顺利,到登陆管理端的时候,提示: Can't establish DB connection. Access denied for user 'ftp'@'test' (using password: YES) 我建了ftp的用户阿,也允许登陆test主机阿,哪位高手给解释一下被, 谢 谢! |
冷风 回复于:2004-11-26 15:52:49 |
为什么我认证通不过?? 我查了mysql的日志,ftp的确是查询了数据库中对应的用户记录,但是认证为什么没通过呢??密码加密类型不对? |
phpcool 回复于:2004-11-26 16:10:07 |
第一、确认pureftpd-mysql.conf中的数据帐号、密码是否正确。 第二、此帐号是否处于缴活状态。 |
jizhihui 回复于:2004-11-29 19:19:46 |
本人初次接触ftp,按照上面提示,建好了服务器,可是只能用IPv4地址访问,不能用IPv6 本人主机IPv4地址 192.168.0.235 IPv6地址 ::192.168.0.235 用ftp 192.168.0.235可以登录,用ftp ::192.168.0.235,提示 ftp: ::192.168.0.235: unknown host 不知为什么请高手指点 谢谢, |
homesp 回复于:2004-12-11 23:39:30 |
configure后提示PAM header not found 应该怎么办啊 |
phpcool 回复于:2004-12-12 16:34:30 |
你的是什么系统? configure的信息全部贴出来。 |
homesp 回复于:2004-12-12 22:48:06 |
[quote:dd2a0bacf4="phpcool"]你的是什么系统? configure的信息全部贴出来。[/quote:dd2a0bacf4] 我的系统是Mandrakelinux10.1 Official configure的信息如下: ./configure --prefix=/usr/local/pureftpd --with-mysql=/usr/share/mysql --with-paranoidmsg --with-shadow --with-welcomemsg --with-uploadscript --with-quotas --with-cookie --with-pam --with-virtualhosts --with-virtualroot --with-diraliases --with-sysquotas --with-ratios --with-ftpwho --with-throttling --with-language=simplified-chinese checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for library containing strerror... none required checking for perl... /usr/bin/perl checking for python... /usr/bin/python checking for ANSI C header files... yes checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking ioctl.h usability... no checking ioctl.h presence... no checking for ioctl.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/fsuid.h usability... yes checking sys/fsuid.h presence... yes checking for sys/fsuid.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/capability.h usability... no checking sys/capability.h presence... no checking for sys/capability.h... no checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking for sys/mount.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking sys/ptrace.h usability... yes checking sys/ptrace.h presence... yes checking for sys/ptrace.h... yes checking security/pam_appl.h usability... no checking security/pam_appl.h presence... no checking for security/pam_appl.h... no checking security/pam_misc.h usability... no checking security/pam_misc.h presence... no checking for security/pam_misc.h... no checking security/pam_filter.h usability... no checking security/pam_filter.h presence... no checking for security/pam_filter.h... no checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking io.h usability... no checking io.h presence... no checking for io.h... no checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking CoreFoundation/CoreFoundation.h usability... no checking CoreFoundation/CoreFoundation.h presence... no checking for CoreFoundation/CoreFoundation.h... no checking POSIX termios... yes checking whether byte ordering is bigendian... no checking return type of signal handlers... void checking for size_t... yes checking for uid_t in sys/types.h... yes checking for pid_t... yes checking for off_t... yes checking for mode_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct tm.tm_gmtoff... yes checking whether timezone is scalar... yes checking for nlink_t... yes checking for dev_t... yes checking for ino_t... yes checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for long long... yes checking size of long long... 8 checking for mode_t... (cached) yes checking size of mode_t... 4 checking for connect... yes checking for gethostbyname... yes checking for gethostbyname... (cached) yes checking for sendfile in -lsendfile... no checking for socklen_t... yes checking for ssize_t... yes checking for sig_atomic_t... yes checking whether gcc needs -traditional... no checking for an ANSI C-conforming const... yes checking for inline... inline checking if malloc debugging is wanted... no checking for cap_init in -lcap... no checking for getspnam... yes configure: error: PAM headers not found. |
phpcool 回复于:2004-12-12 23:28:05 |
估计是跟系统版本不匹配,我在rathat、freeBSD都很顺利。 建议用跟系统匹配的版本。 |
homesp 回复于:2004-12-13 18:13:44 |
有 For MandrakeLinux的吗??? |
phpcool 回复于:2004-12-14 08:52:23 |
ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ 找找看有没有你要的。 |