cpt7 发表于 2011-10-23 13:12:14

Ubuntu 环境下 lnmp7.0 FTP 无法正常启动

4、安装VsFTPD,执行如下命令:./vsftpd.sh 就会自动安装上vsftpd,只需要执行命令:useradd -d /home/wwwroot -s /sbin/nologin adminftp 添加上帐号指定好ftp帐号的根目录,再执行:passwd adminftp 设置上密码,登录就可以了。



Ubuntu 下, 执行
useradd -d /home/wwwroot -s /sbin/nologin adminftp

提示,没 adminftp 什么的。

执行 passwd adminftp
可以设置密码,设置完成。

链接,ftp链接被拒。 没提示用户名密码不对什么的。

无法链接,请问如何处理。

[ 本帖最后由 cpt7 于 2011-10-23 14:56 编辑 ]

cpt7 发表于 2011-10-23 14:58:01

再次执行./vsftpd.sh    如下




Press any key to start install VSftpd...
--2011-10-23 15:05:47--http://soft.vpser.net/ftp/vsftpd/vsftpd-2.2.2.tar.gz
Resolving soft.vpser.net... IPIPIPIPIPIPIP
Connecting to soft.vpser.net|IPIPIPIPIPIPIP|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

download vsftpd package completed!
installing vsftpd 2.2.2.......
useradd: user 'nobody' already exists
mkdir: cannot create directory `/usr/local/man/man8': File exists
mkdir: cannot create directory `/usr/local/man/man5': File exists
make: `vsftpd' is up to date.
if [ -x /usr/local/sbin ]; then \
                install -m 755 vsftpd /usr/local/sbin/vsftpd; \
      else \
                install -m 755 vsftpd /usr/sbin/vsftpd; fi
if [ -x /usr/local/man ]; then \
                install -m 644 vsftpd.8 /usr/local/man/man8/vsftpd.8; \
                install -m 644 vsftpd.conf.5 /usr/local/man/man5/vsftpd.conf.5; \
      elif [ -x /usr/share/man ]; then \
                install -m 644 vsftpd.8 /usr/share/man/man8/vsftpd.8; \
                install -m 644 vsftpd.conf.5 /usr/share/man/man5/vsftpd.conf.5; \
      else \
                install -m 644 vsftpd.8 /usr/man/man8/vsftpd.8; \
                install -m 644 vsftpd.conf.5 /usr/man/man5/vsftpd.conf.5; fi
if [ -x /etc/xinetd.d ]; then \
                install -m 644 xinetd.d/vsftpd /etc/xinetd.d/vsftpd; fi
mkdir: cannot create directory `/etc/vsftpd': File exists
mkdir: cannot create directory `/var/ftp': File exists
./vsftpd.sh: line 57: setsebool: command not found
./vsftpd.sh: line 59: /etc/rc.d/init.d/iptables: No such file or directory
./vsftpd.sh: line 60: /etc/init.d/iptables: No such file or directory
useradd: user 'adminftp' already exists
Terminated
root@user:/lnmp0.7-full#

[ 本帖最后由 cpt7 于 2011-10-23 15:01 编辑 ]

licess 发表于 2011-10-23 17:34:22

都已经安装一次再安装肯定会提示提示,链接提示什么错误信息。
页: [1]
查看完整版本: Ubuntu 环境下 lnmp7.0 FTP 无法正常启动