关于 CentOS7 安装

问答中心分类: OneinStack关于 CentOS7 安装
匿名用户 asked 8 年 ago
CentOS 7 安装之后,FTP、Redis 端口都没打开,
iptables 打开21 , 6379 端口,却无法保存,
出现错误
"root@ ~]# service iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables: /usr/libexec/iptables/iptables.init: line 315: restorecon: command not found     [FAILED]"

2 Answers
oneinstack answered 8 年 ago
使用的oneinstack吗? iptables-services没安装包
yum -y install iptables-services

yuore answered 8 年 ago
是用 oneinstack 安装的 (CentOS7+php7+Nginx),yum -y install iptables-services
还是不能保存设定,出现的错误 同上
换了一台主机就没这问题,应该安装时网路状不好,下载不完全。