CentOS 預設基本服務詳解

來源:互聯網
上載者:User

標籤:centos基本服務詳解

1、使用chkconfig --list來查看安裝的服務,比如我這裡迷你安裝後的一些服務

[[email protected] ~]# chkconfig --list

auditd          0:off   1:off  2:on    3:on    4:on   5:on    6:off

crond           0:off   1:off  2:on    3:on    4:on   5:on    6:off

ip6tables       0:off  1:off   2:on    3:on   4:on    5:on    6:off

iptables       0:off   1:off  2:on    3:on    4:on   5:on    6:off

lvm2-monitor    0:off  1:on    2:on    3:on   4:on    5:on    6:off

netconsole      0:off  1:off   2:off   3:off  4:off   5:off   6:off

netfs           0:off   1:off  2:off   3:on    4:on   5:on    6:off

network         0:off  1:off   2:on    3:on   4:on    5:on    6:off

postfix         0:off  1:off   2:on    3:on   4:on    5:on    6:off

rdisc           0:off   1:off  2:off   3:off   4:off  5:off   6:off

restorecond     0:off  1:off   2:off   3:off  4:off   5:off   6:off

rsyslog         0:off  1:off   2:on    3:on   4:on    5:on    6:off

saslauthd       0:off  1:off   2:off   3:off  4:off   5:off   6:off

squid           0:off   1:off  2:off   3:off   4:off  5:off   6:off

sshd           0:off   1:off  2:on    3:on    4:on   5:on    6:off

udev-post       0:off  1:on    2:on    3:on   4:on    5:on    6:off


2、查看當前系統預設啟動模式

[[email protected] ~]# cat /etc/inittab 

id:3:initdefault:  #我這裡模式為3即進入命令列模式


3、使用chkconfig 服務名 off禁止服務開機啟動


4、對CentOS基本服務的解釋如下:


服務名稱   功能    預設    建議    備忘 

NetworkManager 用於自動連接網路 關閉 關閉 對伺服器沒用 

acpid 電源的開關等檢測管理 開啟 關閉 對伺服器沒用 

anacron 一種計劃任務管理 開啟 開啟   

apmd 進階電源管理 開啟 開啟   

atd 在指定時間執行命令 開啟 關閉 如果用crond,則可關閉它 

auditd   開啟 自定 如果用selinux,需要開啟它 

autofs 檔案系統自動載入、卸載 開啟 自定 只在需要時開啟它,可以停止 

avahi-daemon 本網服務尋找 開啟 關閉 對伺服器沒用 

avahi-dnsconfd avahi DNS 關閉 關閉 對伺服器沒用 

bluetooth 藍芽無線通訊 開啟 關閉 對伺服器沒用 

conman 控制台管理 關閉 關閉 沒用 

spuspeed 調節cpu速度 開啟 自定   

crond 計劃任務管理 開啟 開啟 很有用,開啟 

cups 通用unix列印服務 開啟 關閉 對伺服器沒用 

dnsmasq dns cache 關閉 關閉 沒用 

dund 藍芽相關 關閉 關閉   

firstboot 系統安裝後初始設定 開啟 關閉   

gpm 控制台下的滑鼠支援 開啟 開啟   

haldaemon 硬體資訊收集服務 開啟 開啟   

hidd 藍芽相關 開啟 關閉   

ibmasm ibm硬體管理 關閉 關閉   

ip6tables ipv6防火牆 開啟 關閉   

iptables ipv4防火牆 開啟 關閉   

irda 紅外線通訊 關閉 關閉   

irqbalance cpu負載平衡 開啟 自定 多核cup需要 

kudzu 硬體變動檢測 開啟 關閉 伺服器無用 

lvm2-monitor lvm監視 開啟 關閉 非叢集無用 

mcstrans 在開啟selinux時用於檢查context 開啟 關閉   

mdmonitor 軟raid監視 開啟 關閉   

mdmpd 軟raid管理 關閉 關閉   

messagebus 負責在各個系統進程之間傳遞訊息 開啟 開啟 如停用,haldaemon啟動會失敗 

microcode_ctl  cpu微碼管理升級 開啟 關閉   

multipathd   關閉 關閉   

netconsole   關閉 關閉   

netfs nfs相關 開啟 關閉   

netplugd 網線熱插拔監視 關閉 關閉   

network   開啟 開啟   

nfs 網路檔案系統 關閉 關閉   

nfslock nfs相關 開啟 關閉   

nscd name cache,應該與DNS相關 關閉 關閉   

oddjobd 與D-BUS相關 關閉 關閉   

pand 藍芽相關 關閉 關閉   

pcscd pc/sc smart card daemon 開啟 關閉   

portmap 使用NFS、NIS時的port map 開啟 關閉   

psacct 負荷檢測 關閉 關閉   

rawdevices raw 裝置支援 開啟 開啟   

rdisc 自動檢測路由器 關閉 關閉   

readahead_early   開啟 開啟   

readahead_later   關閉 關閉   

restorecond selinux相關 關閉 關閉   

rpcgssd NFS相關 開啟 關閉   

rpcidmapd RPC name to UID/GID mapper 開啟 關閉 NFS相關 

rpcsvcgssd NFS相關 關閉 關閉   

saslauthd sasl認證服務相關 關閉 關閉   

sendmail   開啟 關閉   

smartd 硬碟自動檢測守護進程 開啟 開啟   

sshd   開啟 開啟   

syslog 系統日誌進程 開啟 開啟   

tcsd   關閉 關閉   

wpa_supplicant 無線認證相關 關閉 關閉   

xfs x windows相關 開啟 關閉   

ypbind network information service用戶端 關閉 關閉   

yum-updatesd yum自動升級 開啟 關閉 對伺服器開啟比較危險



本文出自 “飛翔的豬” 部落格,請務必保留此出處http://thinkpig007.blog.51cto.com/971471/1438136

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.