ubuntu hardy下简易的proftpd+mysql配置

1. 安装

sudo aptitude install proftpd proftpd-mysql

2. 配置
/etc/proftpd/proftpd.conf

Include /etc/proftpd/sql.conf

前面的注释去掉
然后修改/etc/proftpd/sql.conf,我的相关配置如下:

SQLBackend mysql
SQLEngine on
SQLAuthenticate on
SQLAuthTypes Plaintext Crypt
SQLConnectInfo ftp@localhost proftp abcde
SQLUserInfo ftpuser userid passwd uid gid homedir shell
SQLGroupInfo ftpgroup groupname gid members

3. 创建mysql库
此处请参照Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Ubuntu 8.04 LTS

4. restart proftpd

sudo /etc/init.d/proftpd restart

This entry was posted in Linux and tagged , , , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string lQDtDY to the field below:

以新浪微博帐号登录