关闭CENTOS不必要的默认服务(转)
CentOS关闭服务的方法:
- chkconfig –level 2345 服务名称 off
| 服務名稱 | 建議 | 說明 |
| acpid | 停用 | Advanced Configuration and Power Interface 電源進階設定,常用在 Laptop 上 |
| apmd | 停用 | Adventage Power Management daemon 偵測系統的電池電量,常用在 Laptop 上 |
| atd | 停用 | /etc/at.allow,/etc/at.deny 我大概都使用 crond 來達成 |
| autofs | 停用 | 自動掛載檔案系統與週邊裝置 (如光碟、USB),常用在 Laptop 上 |
| avahi-daemon | 停用 | 當區網沒有 DNS 服務時會試著尋找提供 zeroconf 協定的主機 |
| bluetooth | 停用 | Bluetooth 藍芽,常用在 Laptop 上 |
| cpuspeed | 停用 | 控制 CPU 速度主要用來省電,常用在 Laptop 上 |
| cups | 停用 | Common UNIX Printing System 使系統支援印表機 |
| firstboot | 停用 | 安裝完成後第一次啟動時的服務,設定 auth、firewall、keyboard… |
| gpm | 停用 | 記錄週邊裝置的檔案資料,例如文字模式下可使用滑鼠 |
| haldaemon | 停用 | 使系統支援 plug and play 裝置 |
| hidd | 停用 | 使系統支援藍芽裝置,例如滑鼠,鍵盤 |
| hplip | 停用 | 使系統支援 HP 相關型號印表機 |

