Disable unnecessary services in CentOS

Source: Internet
Author: User

Disable unnecessary services in CentOS

1. smartd checks hard disk faults. virtual hard disks cannot be checked using this service and are only useful for physical devices.
Service smartd stop // stop the service
Chkconfig smartd off // set not to start

2. apmd power management. It is useless for computers without UPS or battery.
Service apmd stop
Chkconfig apmd off

3. autofs automatic mounting service. Generally, the mounting required by the server is fixed. Unless it is for a special purpose, it is of little use.
Service autofs stop
Chkconfig autofs off

4. bluetooth, Server should not need to use bluetooth.
Service bluetooth stop
Chkconfig bluetooth off

5. cups printing. If printing is required, the machine needs to be enabled.
Service cups stop
Chkconfig cups off

6. iptable6. We recommend that you use the firewall to manage connections.
Service ip6table stop
Chkconfig ip6table off

7. iptable. We recommend that you use the firewall to manage connections.
Service iptable stop
Chkconfig iptable off

8. isdn, which must be used only when an ISDN environment needs to be established.
Service isdn stop
Chkconfig idsn off

9. hidd, some Bluetooth input devices, such as keyboard and mouse.
Service hidd stop
Chkconfig hidd off

10. pcscd is used for smart card. Currently, this type of machine is unavailable, so it is all switched off.
Service pcscd stop
Chkconfig pcscd off


11. pcmcia is used for pcmcia. Currently, pcmcia is rarely used for Server.
Service pcmcia off
Service pcmcia off

12. sendmail is a mail Transmission proxy program that can be closed.
Service sendmail stop
Chkconfig sendmail off

13. yum-updatesd, yum Automatic Upgrade Program. We recommend that you do not enable the host that has been launched.
Service yum-updatesd stop
Chkconfig yum-updatesd off

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.