(1)关闭防火墙,selinux
[root@zhangsan ~]# systemctl stop firewalld
[root@zhangsan ~]# systemctl disable firewalld
[root@zhangsan ~]# setenforce 0
(2)检查是否下载FTP包
[root@zhangsan ~]# rpm -q vsftpd
(3)安装vsftpd软件
[root@zhangsan ~]# yum -y install vsftpd
(4)启动vsftpd服务
[root@zhangsan ~]# rpm -q vsftpd
vsftpd-3.0.2-22.el7.x86_64
[root@zhangsan ~]# systemctl start vsftpd
[root@zhangsan ~]# systemctl enable vsftpd
(5)修改配置文件
[root@zhangsan ~]# vim /etc/vsftpd/vsftpd.conf
(6)修改文件权限
[root@zhangsan ~]# chmod -R 777 /var/ftp/pub/
(7)重启ftp服务
[root@zhangsan ~]# systemctl restart vsftpd
(8)在window系统中进行登录
(9)在FTP服务器中的共享目录创建一个文件
[root@zhangsan ~]# cd /var/ftp/pub/
[root@zhangsan pub]# touch a.txt
[root@zhangsan pub]# ls
a.txt
(10)查看Windows中是否可查看文件
(11)可以将看到的文件下载到本地
(12)在Windows本地创建文件进行上传到FTP服务器上
(13)在FTP服务器上进行查看FTP共享文件,是否有Windows上传的文件