first yum install vsftpd
第二部:vi /etc/vsftpd/vsftpd.conf
添上下面一段话
anonymous_enable=YES
local_enable=YESwrite_enable=YESlocal_umask=022dirmessage_enable=YESxferlog_enable=YESconnect_from_port_20=YESxferlog_std_format=YESlisten=YESlisten_ipv6=NOpam_service_name=vsftpduserlist_enable=YESuserlist_deny=NOtcp_wrappers=YESlisten_port=8033#chroot_local_user=NO#chroot_list_enable=YES# (default follows)#chroot_list_file=/etc/vsftpd/chroot_listanonymous_enable=NO第三步:重启系统,然后service vsftpd start!
第四步:添加myftp用户
useradd -s /sbin/nologin myftp
passwd myftp
第五步:ssl