(4)编辑/etc/vsftpd.conf,在最下面加入以下这一行:listen=YES
(5)测试,
# /usr/local/sbin/vsftpd &
注:若要开机自动启动vsFTPd,请在/etc/rc.d/rc.local中加入:/usr/local/sbin/vsftpd &
如果一切正常,那么你将连上FTP服务器,形如:
$ ftp localhost
Connected to localhost (127.0.0.1).
220 (vsFTPd 1.1.1)
Name (localhost:chris): ftp
331 Please specify the password.
Password:
230 Login successful. Have fun.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (127,0,0,1,229,133)
150 Here comes the directory listing.
226 Directory send OK.
ftp> quit
这只是vsFTPd最基本的安装和设置,我安装时参考了Linux公社的daidong网友的文章,若要进一步的了解和设置请参考原文: http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=85850