更改linux中的IP地址,关闭重启防火墙

xiaoxiao2021-02-28  18

1.查看所用的网卡信息,进行修改 2.修改对应网卡的相关参数 3.重启网卡 service network restart 4.关闭防火墙的两种方式 a.重启后生效 开启: chkconfig iptables on 关闭: chkconfig iptables off b. 即时生效,重启后失效 开启: service iptables start 关闭: service iptables stop

转载请注明原文地址: https://www.6miu.com/read-2399964.html

最新回复(0)