随笔分类 -  centos

centos 网卡自动连接
摘要:/etc/sysconfig/network-scripts/目录下ifcfg-eth0这个文件,把ONBOOT="no"改为yes, 阅读全文

posted @ 2018-06-06 12:24 lvlv岁月流逝 阅读(147) 评论(0) 推荐(0)

centos 关闭防火墙
摘要:1) 永久性生效,重启后不会复原开启: chkconfig iptables on关闭: chkconfig iptables off2) 即时生效,重启后复原开启: service iptables start关闭: service iptables stop查询TCP连接情况:netstat -... 阅读全文

posted @ 2015-09-08 20:55 lvlv岁月流逝 阅读(168) 评论(0) 推荐(0)

导航