Linux服务管理之FTP配置简要步骤

1.准备环境

[root@linfan ~]# uname -r
3.10.0-693.el7.x86_64
[root@linfan ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core) 

2.关闭防火墙以及selinux

[root@linfan ~]# systemctl stop firewalld
[root@linfan ~]# systemctl disable firewalld
[root@linfan ~]# setenforce 0

3.安装vsftpd服务

[root@linfan ~]# yum install vsftpd db4-utils -y

4.启动ftp服务并加入开机自启动

[root@linfan ~]# systemctl start vsftpd
[root@linfan ~]# systemctl enable vsftpd

5.在网页查看ftp是否配置成功
Linux服务管理之FTP配置简要步骤

猜你喜欢

转载自blog.51cto.com/13858192/2147004