vsftp安装有很多疑问,希望能改进vsftp部分的教程,谢谢站长
#./installvsftpd.sh=========================================================================
Vsftpd for LNMPWritten 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:
Flushing firewall rules:
Setting chains to policy ACCEPT: mangle nat filter
Unloading iptables modules:
Applying iptables firewall rules:
adduser: cannot create directory /web/www
Terminated
#dir
installvsftpd.shvsftpd.conf
#vim vsftpd.conf
#passwd adminftp
Changing password for user adminftp.
New UNIX password:
我安装的时候发现很多报错,安装了之后按照说明增加用户和密码,新建了文件夹。但是没法登陆。修改/etc/vsftpd.chroot权限,使用命令 vim /etc/vsftpd.chroot,打开后一片空白什么也没有。
请问在上面红色部分的提示下,我是否安装成功了呢?
但是vsftp却默认想要建立一个 /web/www目录,lnmp0.3的默认web目录是在/home/wwwroot,我想要把ftp主目录设置为/home/wwwroot,请问这个如何更改设置呢?
希望能够得到站长的协助解决,十分感谢。
回复 1# 的帖子
你用的是旧版的vsftpd安装包。新版的安装包在lnmp0.4里面。到soft.vpser.net/lnmp/lnmp0.4.tar.gz 下载。 但我用的是lnmp0.3呢,如果用您说的新版的vsftp,会不会导致用不了呢?如果我不打算重新安装系统的话。
回复 3# 的帖子
只用里面的安装vsftpd的脚本,不影响其他。
页:
[1]