Linux网络服务管理

向右看齐 2023-09-26 11:48 67阅读 0赞
  1. service network status //查看指定服务状态
  2. service network stop //停止指定服务
  3. service network start //启动指定服务
  4. service network restart //重启指定服务
  5. service --status-all //查看系统中所有后台服务
  6. netstat -nltp //查看系统中网络进程的端口监听情况

防火墙设置

  1. service iptables status //查看防火墙状态
  2. service iptables stop //关闭防火墙
  3. service iptables start //启动防火墙
  4. chkconfig iptables off //禁止防火墙自启

发表评论

表情:
评论列表 (有 0 条评论,67人围观)

还没有评论,来说两句吧...

相关阅读