摘要: 解决方案:1.创建用户数据库(1)创建用户文本文件本博客转移到 www.51buyhost.com centos论坛.... 更详细的教程请到 http://www.51buyhost.com先建立用户文本文件vsftpd_login.txt添加两个虚拟帐号,普通帐号public和专用帐号personal[root@red-hat-5 ~]# touch /etc/vsftpd/vsftpd_login.txt[root@red-hat-5 ~]# echo public >>/etc/vsftpd/vsftpd_login.txt 生成public账号[root@red-hat- 阅读全文
posted @ 2012-04-19 15:23 linux—jock 阅读(1125) 评论(0) 推荐(0) 编辑
摘要: 所需软件:1.vsftpd-2.0.6.tar.gz2.pam_mysql-0.7RC1.tar.gz3.Mysql5.0.27一、安装vsftpd[root@ganwenliang soft]# tar xzfv vsftpd-2.0.6.tar.gz[root@ganwenliang vsftpd-2.0.6]# make[root@ganwenliang vsftpd-2.0.6]# make install[root@ganwenliang vsftpd-2.0.6]# cp vsftpd.conf /etc在系统中添加用户soft,作为guest用户[root@ganwenliang 阅读全文
posted @ 2012-04-19 15:19 linux—jock 阅读(506) 评论(0) 推荐(0) 编辑
摘要: vsftpd 启动 报错:vsftpd:500 OOPS: bad bool value in config file for: anonymous_enable处理办法:vi /etc/vsftpd.conf 时,:每行的值都不要有空格,否则启动时会出现错误,举个例子,假如我在listen=YES后多了个空格,那我启动时就出现...===================================启动报错:500 OOPS: tcp_wrappers is set to YES but no tcp wrapper support compiled in处理办法:vi /etc/vsft 阅读全文
posted @ 2012-04-19 15:14 linux—jock 阅读(1591) 评论(0) 推荐(0) 编辑
摘要: 本博客转移到 www.51buyhost.com centos论坛.... 更详细的教程请到 http://www.51buyhost.com我们有时候会遇到apache有写入权限时,vsftpd又不能上传,反过来,vsftpd能上传,但apache又没有写入权限了。我们现在来看看如何解决这个问题。解决的思路是,把ftp用户添加到apache用户组,并设置用户组有写入权限。假设现在我们建有ftp用户为:centos,httpd进程以apache用户运行。1、添加centos到用户组apacheusermod -a -G apache centos2、设置网站根目录/var/www的所有组为ap 阅读全文
posted @ 2012-04-19 15:12 linux—jock 阅读(671) 评论(0) 推荐(0) 编辑