經常使用基本命令十一(後臺服務管理) - 黑猴子

CentOS6

 

一、service後臺服務管理

1)service network status   查看指定服務的狀態服務器

2)service network stop    中止指定服務rest

3)service network start    啓動指定服務ip

4)service network restart   重啓指定服務table

5)service --status-all      查看系統中全部的後臺服務後臺

 

二、chkconfig設置後臺服務的自啓配置

1)chkconfig                   查看全部服務器自啓配置配置

2)chkconfig iptables off   關掉指定服務的自動啓動iptables

3)chkconfig iptables on   開啓指定服務的自動啓動network

相關文章
相關標籤/搜索