89291240 2018-05-14
Linux终端centOS7下 FTP服务、防火墙操作解决
#安装 yum install -y vsftpd
#设置开机启动 systemctl enable vsftpd.service
# 重启 service vsftpd restart
# 查看vsftpd服务的状态 systemctl status vsftpd.service
---------------------------------------------------------------------------------------------------------
查看防火墙状态 firewall-cmd --state
关闭防火墙 systemctl stop firewalld.service
禁止开机启动启动防火墙 systemctl disable firewalld.service