CentOS 7.0配置静态IP
重启服务 service network restart
关闭防火墙
查看防火墙状态
firewall-cmd --state
#启动firewall
systemctl start firewalld.service
#停止firewall
systemctl stop firewalld.service
#禁止firewall开机启动
systemctl disable firewalld.service
改成iptables
systemctl start iptables.service
CentOS 7 静态 IP 配置
本文介绍如何在 CentOS 7 中配置静态 IP 地址,并提供了重启网络服务、关闭及管理防火墙的方法。还涉及了如何将防火墙设置更改为使用 iptables 的步骤。

3065

被折叠的 条评论
为什么被折叠?



