标题: vsftp安装有很多疑问,希望能改进vsftp部分的教程,谢谢站长 [打印本页] 作者: veryad 时间: 2010-9-27 12:21 标题: vsftp安装有很多疑问,希望能改进vsftp部分的教程,谢谢站长 [root@vps vsftpd-for-LNMP]#./installvsftpd.sh
=========================================================================
Vsftpd for LNMP Written by Licess
=========================================================================
A tool to auto-compile & install VSftp for LNMP on Linux
For more information please visit http://blog.licess.cn/lnmp/
=========================================================================
start download vsftpd package
--2010-09-27 11:06:25-- http://licess.googlecode.com/files/vsftpd-2.1.0.tar.gz
Resolving licess.googlecode.com... 74.125.155.82
Connecting to licess.googlecode.com|74.125.155.82|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2010-09-27 11:06:26 ERROR 403: Forbidden.
download vsftpd package finished!
installing vsftpd 2.1.0.......
tar: vsftpd-2.1.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
./installvsftpd.sh: line 19: cd: vsftpd-2.1.0: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
cp: cannot stat `vsftpd.conf': No such file or directory
./installvsftpd.sh: line 35: /usr/local/sbin/vsftpd: No such file or directory
setsebool: SELinux is disabled.
Saving firewall rules to /etc/sysconfig/iptables: [ OK ]
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: mangle nat filter [ OK ]
Unloading iptables modules: [ OK ]
Applying iptables firewall rules: [ OK ]
adduser: cannot create directory /web/www
Terminated
[root@vps vsftpd-for-LNMP]#dir
installvsftpd.sh vsftpd.conf
[root@vps vsftpd-for-LNMP]#vim vsftpd.conf
[root@vps vsftpd-for-LNMP]#passwd adminftp
Changing password for user adminftp.
New UNIX password:
我安装的时候发现很多报错,安装了之后按照说明增加用户和密码,新建了文件夹。但是没法登陆。修改/etc/vsftpd.chroot权限,使用命令 vim /etc/vsftpd.chroot,打开后一片空白什么也没有。