免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: mb
打印 上一主题 下一主题

我的proftpd+mysql+quota @ debian 安装流水笔记 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2004-09-02 21:59 |只看该作者

我的proftpd+mysql+quota @ debian 安装流水笔记

[quote]原帖由 "Linux@初学者"]是啊,楼主试验了吗?按照好多这样的贴子,都无法连接FTP啊![/quote 发表:

是的,好多都不成功,但是楼主这个可以,我也试过了,所以给他加了原创精华
但是,有一个小问题,我不知道该如何解决,在你的楼上那个贴子里

论坛徽章:
0
12 [报告]
发表于 2004-09-02 22:04 |只看该作者

我的proftpd+mysql+quota @ debian 安装流水笔记

是啊,网上有N多这样的问题,加了quota就连不上了。

论坛徽章:
0
13 [报告]
发表于 2004-09-02 22:18 |只看该作者

我的proftpd+mysql+quota @ debian 安装流水笔记

原来我照网上其他文章做的,别说加QUOTA了,就是不加QUOTA,服务起都起不来

论坛徽章:
0
14 [报告]
发表于 2004-09-03 11:11 |只看该作者

我的proftpd+mysql+quota @ debian 安装流水笔记

我的正常呀
root@wxb:~# ftp 127.0.0.1
Connected to 127.0.0.1.
220 ProFTPD 1.2.10rc3 Server (WinScok5.12) [localhost]
Name (127.0.0.1:root): test
331 Password required for test.
Password:
230 User test logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>; quote site quota
200-The current quota for this session are [current/limit]:
Name: test
Quota Type: User
Per Session: False
Limit Type: Hard
   Uploaded Mb: 0.00/976.56
   Downloaded Mb:       0.00/0.00
   Transferred Mb:      0.00/1953.12
   Uploaded files:      0/50000
   Downloaded files:    0/5000
   Transferred files:   0/1000
200 Please contact root@localhost if these entries are inaccurate
ftp>; bye
221 Goodbye.
root@wxb:~# killall proftpd
root@wxb:~# /usr/local/proftpd/sbin/proftpd start
root@wxb:~# ftp 127.0.0.1
Connected to 127.0.0.1.
220 ProFTPD 1.2.10rc3 Server (WinScok5.12) [localhost]
Name (127.0.0.1:root): test
331 Password required for test.
Password:
230 User test logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>; quote site quota
200-The current quota for this session are [current/limit]:
Name: test
Quota Type: User
Per Session: False
Limit Type: Hard
   Uploaded Mb: 668.56/976.56
   Downloaded Mb:       0.00/0.00
   Transferred Mb:      668.56/1953.12
   Uploaded files:      3/50000
   Downloaded files:    0/5000
   Transferred files:   3/1000
200 Please contact root@localhost if these entries are inaccurate
ftp>; ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
-rw-r--r--   1 test     nobody   27655955 Sep  3 03:07 30000.rm
-rw-r--r--   1 test     nobody   36384457 Sep  3 03:07 j2sdk-1_4_2_05-linux-i586.bin
-rw-r--r--   1 test     nobody   637000704 Sep  3 03:08 ship.db.cpio
226 Transfer complete.
ftp>;
Per Session: False  -----,看一下mysql.log吧,认证都是在user表里呢,再看看quota.log,应没有问提的

论坛徽章:
0
15 [报告]
发表于 2004-09-03 11:30 |只看该作者

我的proftpd+mysql+quota @ debian 安装流水笔记

我再从头做一遍好了,可能哪里出现问题了

论坛徽章:
0
16 [报告]
发表于 2004-09-03 12:11 |只看该作者

我的proftpd+mysql+quota @ debian 安装流水笔记

既然是debian 为什么还要这么麻烦的安装啊?
apt-get install proftpd mysql-server

论坛徽章:
0
17 [报告]
发表于 2004-09-03 12:40 |只看该作者

我的proftpd+mysql+quota @ debian 安装流水笔记

我查了一下问题,我原来的proftpd.conf用到mysql支持的时候就有问题了,换成楼主的就没问题

具体哪句话影响的还不清楚,我也不想查了,改用楼主的那个conf好了,再稍微改改就符合我的要求了

楼主的贴子果然不错

论坛徽章:
0
18 [报告]
发表于 2004-09-03 12:58 |只看该作者

我的proftpd+mysql+quota @ debian 安装流水笔记

原帖由 "zhaoshan" 发表:
既然是debian 为什么还要这么麻烦的安装啊?
apt-get install proftpd mysql-server
是呀,不过我还是喜欢用源码,apt-get我只在系统升级时用,呵呵,个人爱好不同吧了

论坛徽章:
0
19 [报告]
发表于 2004-09-03 13:24 |只看该作者

我的proftpd+mysql+quota @ debian 安装流水笔记

[quote]原帖由 "mb"]是呀,不过我还是喜欢用源码,apt-get我只在系统升级时用,呵呵,个人爱好不同吧了[/quote 发表:

同意
太智能化反而不习惯,比如FreeBSD里的PORTS

论坛徽章:
0
20 [报告]
发表于 2004-09-05 00:34 |只看该作者

我的proftpd+mysql+quota @ debian 安装流水笔记

现在发现一个问题
每个用户建立的目录,上传的文件,属主不是数据库里设定好的
这个问题怎么解决?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP