根据实际情况修改的结果

#!/bin/sh

service  NetworkManager  stop

service  acpid  stop

service  atd    stop

service  autofs  stop

service  bluetooth  stop

service  conman stop

service  dund stop

service  firstboot  stop

service  gpm  stop

service  haldaemon  stop

service  hidd stop

service  ibmasm stop

service  ip6tables stop

service  iptables stop

service  irda stop

service  iscsi  stop

service  iscsid  stop

service  isdn  stop

service  kdump stop

service  kudzu stop

service  lm_sensors stop

service  mcstrans stop

service  microcode_ctl  stop

service  netconsole stop

service  netfs  stop

service  netplugd stop

service  nfs stop

service  nfslock stop

service  nscd stop

service  oddjobd stop

service  pand stop

service  pcscd stop

service  portmap stop

service  psacct stop

service  rawdevices stop

service  rdisc stop

service  restorecond stop

service  rpcgssd  stop

service  rpcidmapd stop

service  rpcsvcgssd stop

service  saslauthd stop

service  sendmail  stop

service  setroubleshoot  stop

service  smb stop

service  vncserver stop

service  winbind  stop

service  wpa_supplicant stop

service  xfs stop

service  ypbind stop


chkconfig  NetworkManager  stop

chkconfig  acpid  off

chkconfig  atd   off

chkconfig  autofs  off

chkconfig  bluetooth  off

chkconfig  conman off

chkconfig  dund off

chkconfig  firstboot  off

chkconfig  gpm off

chkconfig  haldaemon  off

chkconfig  hidd off

chkconfig  ibmasm off

chkconfig  ip6tables off

chkconfig  iptables off

chkconfig  irda off

chkconfig  iscsi  off

chkconfig  iscsid  off

chkconfig  isdn  off

chkconfig  kdump off

chkconfig  kudzu off

chkconfig  lm_sensors off

chkconfig  mcstrans off

chkconfig  microcode_ctl  off

chkconfig  netconsole off

chkconfig  netfs  off

chkconfig  netplugd off

chkconfig  nfs off

chkconfig  nfslock off

chkconfig  nscd off

chkconfig  oddjobd off

chkconfig  pand off

chkconfig  pcscd off

chkconfig  portmap off

chkconfig  psacct off

chkconfig  rawdevices off

chkconfig  rdisc off

chkconfig  restorecond off

chkconfig  rpcgssd  off

chkconfig  rpcidmapd off

chkconfig  rpcsvcgssd off

chkconfig  saslauthd off

chkconfig  sendmail  off

chkconfig  setroubleshoot  off

chkconfig  smb off

chkconfig  vncserver off

chkconfig  winbind  off

chkconfig  wpa_supplicant off

chkconfig  xfs off

chkconfig  ypbind off


CentOS5.7 从5.6安装使用yum update 升级而来 默认安装 的服务列表

service NetworkManager 

service acpid          

service anacron        

service atd            

service auditd         

service autofs         

service bluetooth      

service capi           

service conman         

service cpuspeed       

service crond          

service dnsmasq        

service dund           

service firstboot      

service gpm            

service haldaemon      

service hidd           

service ip6tables      

service iptables       

service irda           

service irqbalance     

service iscsi          

service iscsid         

service isdn           

service kudzu          

service lvm2-monitor   

service mcstrans       

service mdmonitor      

service mdmpd          

service messagebus     

service microcode_ctl  

service multipathd     

service netconsole     

service netfs          

service netplugd       

service network        

service nfs            

service nfslock        

service nscd           

service oddjobd        

service pand           

service pcscd          

service portmap        

service psacct         

service rawdevices     

service rdisc          

service readahead_early

service readahead_later

service restorecond    

service rpcgssd        

service rpcidmapd      

service rpcsvcgssd     

service saslauthd      

service sendmail       

service smartd         

service sshd           

service syslog         

service tcsd           

service wpa_supplicant 

service ypbind         

service yum-updatesd   


  • 无标签