CentOS - Disable unuseful service

Shell Disable một số service trong CentOS, tự viết đấy nhé. :D
 services="acpid anacron apmd autofs bluetooth cups firstboot gpm haldaemon messagebus mdmonitor hidd ip6tables kudzu lvm2-monitor netfs nfslock pcscd portmap rpcgssd rpcidmad sendmail smartd yum-updatesd"
 for service in $services; do
service  $service stop
chkconfig --level 35 $service off
echo "Complelte"
Thanks for reading
All my Lab:
Linux Lab -- window and Cisco Lab
to be continued - I will update more. 


Popular posts from this blog

Python - Multithread to read one file

OpenCA tutorial

An toàn thông tin ứng dụng Web