在RedHat5中安装vsftpd
mount /dev/cdrom /mnt/cdrom --挂载cdrom
find -name vs* --查找vsftpd
rpm -ivh ....rpm
启动,关闭vsftpd
/etc/init.d/vsftpd start或stop
连接ftp
ftp 192.168.1.101
为vsftpd添加用户
[root@www.linuxidc.com~]# adduser -d /opt/ftp -g ftp -s /sbin/nologin evan
[root@www.linuxidc.com~]# passwd evan
Changing password for user evan.
New password:
Retype new password:
passwd: all authentication tokens updated successfully
/opt/ftp 为ftp目录
修改文件夹的读写权限
chmod 777 /opt/ftp
这样在win下就可以连接到vm中的linux了。