1.查看是否安装vsftp
[root@localhost ~]#rpm -qa|grep vsftpd
如果出现 vsftpd-2.2.2-13.el6_6.1.x86_64 则说明已经安装了vsftp。
如果没出现vsftpd等字段,则执行第二步;
2.安装vsftpd
[root@localhost ~]# yum -y install vsftpd
3.配置vsftpd.conf文件【/etc/vsftpd/vsftpd.conf】
# Example config file /etc/vsftpd/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd.conf.5 for all compiled in defaults. # # READ THIS: This example file is NOT an exhaustive list of vsftpd options. # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's # capabilities. # # Allow anonymous FTP? (Beware - allowed by default if you comment this out). #anonymous_enable=YES # # Uncomment this to allow local users to log in. local_enable=YES # # Uncomment this to enable any form of FTP write command. write_enable=YES # # Default umask for local users is 077. You may wish to change this to 022, # if your users expect that (022 is used by most other ftpd's) local_umask=022