2012 年二月 一 二 三 四 五 六 日 « 一 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 近期评论
- wlx [微博 ] 发表在《google彻底被封?》
- snake 发表在《google彻底被封?》
- Andrew Pelt 发表在《debian testing上安装oracle 10g》
- tiplip 发表在《webmap.cn使用的WEBGIS技术》
- 求助Evolution问题!! 发表在《evolution crashed in gutsy alpha》
分类目录
标签
anjuta apache backup breezy c++ compile convert dapper debian dns edgy evolution feisty firefox flash gnome gobang GRASS gutsy humor intrepid Linux mailman MapServer mysql openoffice Oracle php phpbb postfix PostGIS postgresql qgis sarge scim skype subversion svn tomcat ubuntu utf8 westdc Windows wordpress 中文
Tag Archives: proftpd
ubuntu intrepid下安装proftpd配置postgresql后端
因为在另外一台机器上已经配置过,本以为很简单,复制过来就可以,没想到还是出问题,检查了半天,发现是group table没有设置的原因。 安装: sudo aptitude install proftpd proftp-pgsql 配置: 在/etc/proftpd/proftpd.conf里把 #Include /etc/proftpd/sql.conf 这行的注释去掉,然后修改/etc/proftpd/sql.conf文件,修改为: SQLBackend postgres SQLEngine on SQLAuthenticate users SQLAuthTypes Crypt Plaintext SQLConnectInfo db@server_name_or_ip user password RequireValidShell off SQLUserInfo ftp.users userid passwd uid gid homedir shell SQLGroupInfo ftp.groups groupname gid … Continue reading
set a virtual directory in proftpd
There are requirements to setup some virtual directory to some users, I think this can be solved by symbol link at first, but it does not work, then got answers from google: just use the mount command. for example: mount … Continue reading
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 … Continue reading
设置proftpd+mysql的虚拟FTP服务
具体设置参考:http://www.howtoforge.com/proftpd_mysql_virtual_hosting 按照上面的设置完成后,还需要的操作: 1、允许恢复上传 在proftpd.conf里添加一行: AllowStoreRestart on 2、权限控制 比如,控制只读,可以在文件权限上设置,把写权限去掉,也可以在FTP权限里进行控制。 在FTP里进行权限控制,在相应目录下创建一个.ftpaccess文件,里面内容为: <limit STOR>DENYALL</limit> 而专门供上传的目录,需要控制为不可删除: <limit DELE>DENYALL</limit>
debian sarge proftpd-mysql安装
安装完proftpd-mysql后, 首先创建数据库: CREATE TABLE `ftpuser` ( `id` int(10) unsigned NOT NULL auto_increment, `userid` varchar(32) NOT NULL default ”, `passwd` varchar(32) NOT NULL default ”, `uid` smallint(6) unsigned NOT NULL default ’65534′, `gid` smallint(6) unsigned NOT NULL default ’65534′, `homedir` varchar(255) … Continue reading