简版centos常见操作

无chkconfig、iptables、ifconfig、netstat、

 

--------------------------------------------

关闭防火墙

systemctl stop firewalld

--------------------------------------------

查看ip地址

ip addr

--------------------------------------------

配置ip地址

vi /ect/sysconfig/network-script/ifcfg-eth0

service netwrok restart

--------------------------------------------

 

posted on 2019-02-22 14:23  蕙芷兰馨  阅读(151)  评论(0编辑  收藏  举报