米字键

博客园 首页 新随笔 联系 订阅 管理
名称 解释
重启 reboot
关机

shutdown  -h   now   

poweroff

查看本机IP地址 ifconfig
查看默认网卡信息的文件 cat /etc/sysconfig/network-scripts/ifcfg-eth0
重启网络   service network  restart
防火墙服务    IPtables  
查看防火墙服务是否开启 service iptables status
关闭防火墙 service iptables stop
查看防火墙开机是否启动   chkconfig iptables --list
开启防火墙 service iptables start
让防火墙开机不启动 chkconfig iptables off
让防火墙开机启动 chkconfig iptables on
posted on 2019-06-24 19:37  米字键  阅读(292)  评论(0编辑  收藏  举报