Skip to content

CentOS 7 安装Vsftpd

Published: at 00:00
说明
系统:CentOS Linux release 7.1.1503 (Core) 64bit minimal
安装源
yum install wget -y

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
rpm -Uvh http://mirrors.ustc.edu.cn/centos/7.1.1503/extras/x86_64/Packages/epel-release-7-5.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

yum makecache
安装vsftpd
配置
启动vsftpd
systemctl start vsftpd
防火墙设置
firewall-cmd --permanent --add-service=ftp
firewall-cmd --reload
设置SElinux关于ftp