Disable CentOS unnecessary default service

Source: Internet
Author: User
Tags syslog

Disable CentOS unnecessary default service

Methods for CentOS Shutdown service:


Graphical interface, running NTSYSV

    1. Chkconfig–level 2345 Service Name off

Service Name Suggestions Explain
Acpid Deactivate Advanced Configuration and Power Interface Source advanced, commonly used on Laptop
Apmd Deactivate Adventage Power Management Daemon Detector System battery volume, commonly used on Laptop
Atd Deactivate /etc/at.allow,/etc/at.deny I've probably used Crond to come up with
AutoFS Deactivate Auto-mount file system and peripheral devices (e.g. CD-ROM, USB), commonly used on Laptop
Avahi-daemon Deactivate When the network does not have a DNS service, it tries to find a host that provides zeroconf
Bluetooth Deactivate Bluetooth blue bud, commonly used on Laptop
Cpuspeed Deactivate Control CPU speed is mainly used to save electricity, commonly used in Laptop
Cups Deactivate Common UNIX Printing System enables the system to support your printer
Firstboot Deactivate The service was first initiated when the installation was completed, setting auth, firewall, keyboard ...
gpm Deactivate Record the files on your side of the week, such as using mouse in text mode
Haldaemon Deactivate Enables the system to support Plug and Play devices
Hidd Deactivate Enables the system to support Bluetooth devices, such as mouse, keyboard
Hplip Deactivate Enables the system to support HP-linked printer
Ip6tables Deactivate Enables the system to support IPTables Filrewall IPV6
Isdn Deactivate Enables the system to support the Integrated Services Digital Network (ISDN) environment
Lm_sensors Deactivate Enables the system to support the reconnaissance of the main machine or the hard body, commonly used on Laptop
Messagebus Deactivate Enables the system to support Plug and Play devices
Nfslock Deactivate Enables the system to support NFS Server information consistency feature
Pcscd Deactivate Enabling the system to support Smart Card
Portmap Deactivate Enables the system to support NFS Service
Rpcgssd Deactivate Enables the system to support NFSV4 Service
Rpcidmapd Deactivate Enables the system to support NFSV4 Service
Yum-updatesd Deactivate Enable the system to support YUM Auto Update Service (the device is OK to update)

Anacron Look at the situation There is no work to be done during the crontab setup.
Auditd Look at the situation Audit system/var/log/audit/audit.log, if AUDITD does not perform the audit message will be written into/var/log/messages (with SELinux)
Iptables Look at the situation Enables the system to support IPTables Filrewall
Irqbalance Look at the situation Enables the system to support multiple CPU environments when the load balancing program is interrupted, the single CPU machine does not need
Lvm2-monitor Look at the situation Enable system support Logical Volume Manager logically
Mcstrans Look at the situation Mainly used in conjunction with SELinux services
Mdmonitor Look at the situation Enabling the system to support RAID-related programs
Microcode_ctl Look at the situation Enables the system to support Intel IA32 CPU features, so AMD CPUs do not require
Netfs Look at the situation Network File System Mounter network mount systems (e.g. NFS, Samba, NCP)
Restorecond Look at the situation Enables the system to support SELinux control files
Smartd Look at the situation Enables system support to check the hard drive state (Hardware RAID to change the file)
SendMail Look at the situation To support the system Sendmail
Xfs Look at the situation Enables the system to support the X Window font

Crond Start /etc/cron.* Schedule Service
Kudzu Start So that the system will automatically perform a hard reconnaissance every time it opens.
Network Start Enable the system to support the network card
Readahead_early Start When the system is re-initiated, the files are read into memory to speed up the activation.
Sshd Start Enables the system to support SSH Service
Syslog Start System Log Service supported by the system

CentOS5.5 Default Basic services

Service Name Function Default Suggestions Note
NetworkManager For automatic network connection Shut down Shut down Useless to the server
Acpid Power switch and other detection management Open Shut down Useless to the server
Anacron A scheduling task management Open Open
Apmd Advanced Power Management Open Open
Atd Execute a command at a specified time Open Shut down If you use Crond, you can turn it off
Auditd
Open Self-determined If you use SELinux, you need to open it
AutoFS File system automatic loading, unloading Open Self-determined Just turn it on when you need it, you can stop
Avahi-daemon Local Network Service Lookup Open Shut down Useless to the server
Avahi-dnsconfd Avahi DNS Shut down Shut down Useless to the server
Bluetooth Bluetooth wireless Communication Open Shut down Useless to the server
Conman Console Management Shut down Shut down Useless
Spuspeed Adjust CPU speed Open Self-determined
Crond Scheduled Task management Open Open Very useful, open
Cups Universal UNIX Print Service Open Shut down Useless to the server
Dnsmasq DNS Cache Shut down Shut down Useless
Dund Bluetooth related Shut down Shut down
Firstboot Initial Setup after system installation Open Shut down
gpm Mouse support under the console Open Open
Haldaemon Hardware information Collection Services Open Open
Hidd Bluetooth related Open Shut down
Ibmasm IBM Hardware Management Shut down Shut down
Ip6tables IPv6 firewall Open Shut down
Iptables IPv4 Firewall Open Shut down
Irda Infrared communication Shut down Shut down
Irqbalance CPU Load Balancing Open Self-determined Multi-core cups required
Kudzu Hardware Change Detection Open Shut down Server useless
Lvm2-monitor LVM Monitoring Open Shut down Non-cluster useless
Mcstrans Used to check the context when SELinux is turned on Open Shut down
Mdmonitor Soft RAID Monitoring Open Shut down
Mdmpd Soft RAID Management Shut down Shut down
Messagebus Responsible for passing messages between the various system processes Open Open If deactivated, Haldaemon boot will fail
Microcode_ctl CPU microcode Management Upgrade Open Shut down
Multipathd
Shut down Shut down
Netconsole
Shut down Shut down
Netfs NFS-related Open Shut down
Netplugd Network cable hot-swappable monitoring Shut down Shut down
Network
Open Open
Nfs Network File system Shut down Shut down
Nfslock NFS-related Open Shut down
Nscd Name cache, which should be related to DNS Shut down Shut down
Oddjobd Related to D-bus Shut down Shut down
Pand Bluetooth related Shut down Shut down
Pcscd PC/SC Smart Card Daemon Open Shut down
Portmap Port Map with NFS, NIS Open Shut down
Psacct Load detection Shut down Shut down
Rawdevices Raw Device Support Open Open
Rdisc Automatic detection of routers Shut down Shut down
Readahead_early
Open Open
Readahead_later
Shut down Shut down
Restorecond SELinux related Shut down Shut down
Rpcgssd NFS-related Open Shut down
Rpcidmapd RPC Name to Uid/gid Mapper Open Shut down NFS-related
Rpcsvcgssd NFS-related Shut down Shut down
Saslauthd SASL Certification Services Related Shut down Shut down
SendMail
Open Shut down
Smartd Hard Disk automatic Detection daemon Open Open
Sshd
Open Open
Syslog System Log Process Open Open
Tcsd
Shut down Shut down
Wpa_supplicant Wireless authentication related Shut down Shut down
Xfs X Windows Related Open Shut down
Ypbind Network Information Service Client Shut down Shut down
Yum-updatesd Yum Auto Upgrade Open Shut down It's dangerous to turn on the server!

Note: The above list of services is shown on the premise that CentOS has only installed basic systems, development tools, development libraries, and old software support.


Disable CentOS unnecessary default service

Related Article

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.