Centos service optimization operation instructions
Service name suggestions
NetworkManager OFF is a background process that automatically switches network connections. Many laptop users need to enable this function, which enables you to switch between a wireless network and a wired network. Most desktop users should disable the service. The acpid off acpi (Advanced Configuration and Power Interface) service is a Power management Interface. We recommend that you enable it for all Notebook users. Some servers may not need acpi. Common Operations supported include: "Power Switch", "battery monitoring", "notebook Lid switch", "laptop display brightness", "Sleep", "hanging up", and so on. If anacron OFF is frequently shut down, it is recommended to enable it. The server recommends that you disable the atd OFF scheduled task so that a specific task can run auditd OFF auditd at a specified time, the audit information will be sent to a user configuration log file (the default file is/var/log/audit. log ). If auditd is not running, the audit information will be sent to syslog. Amd OFF runs the automount genie program, which automatically installs some local devices and NFS file system atalk OFF AppleTalk genie programs when necessary. Do not run this program in the background, the data structure of this program must take some time to initialize arpwatch OFF before running other processes. This program is mainly used to maintain the ing between the Ethernet physical address and IP address. apmd OFF is used to monitor the system power usage status, and write the relevant information into the log through syslogd. It can also be used to shut down autofs OFF when the power supply is insufficient to automatically mount the file system or peripherals (such as USB, optical drive, etc.). avahi-daemon OFF Avahi is commonly used on the laptop to implement the zeroconf protocol. It can discover zeroconf-based devices and services in a LAN without DNS services. It is the same as mDNS. Disable it unless you have compatible devices or services that use the zeroconf protocol. Avahi-dnsconfd OFF bluetooth chargen-dgram OFF Character Generator Protocolchargen-stream OFF Character Generator protocol, run on TCP/UDP port 19, can be used for DDOS attack conman OFF Console Management Program, supports a large number of console devices, including local serial port Devices, telnet remote terminal servers, Unix sockets, external processes, and other CPU speed ON monitoring system idle percentage, reduce or speed up the CPU clock speed and voltage to minimize energy consumption when the system is idle, while maximizing system execution speed when the system is busy. We recommend that you enable the cups OFF universal UNIX print daemon process to enable the Third Generation printing function for Linux. A printer can enable the daytime-* OFF simple TCP-based time synchronization service, it has nothing to do with the NTP Protocol. You can disable the discard-* OFF service based on the Discard Protocol (discard Protocol) and listen to port 9, dnsmasq off dns Cache dund OFF supports Network echo-* OFF for debugging and detection through Bluetooth dial-up connections, and the received messages are unblocked and sent back. The echo of the network service is implemented by TCP/UDP. The port number is 7. eklogin OFF. It is a service daemon process that accepts rlogin session authentication and is encrypted with os5. Disable ekrb5-telnet OFF encrypted telnet connection firstboot OFF User Configuration Wizard after installation when rlogin is not enabled, used to set the system gpm OFF for the first time (General Purpose Mouse Daemon) the daemon provides mouse support for Linux programs in text mode. Gssftp OFF the encrypted ftp daemon using kerberos 5 authentication. Haldaemon OFF Hardware monitoring system this service monitors hardware changes for you to change new or changed hardware. Disable the iptables service related to Bluetooth ip6tables OFF IPv6 without changing the hardware. Disable the iptables firewall daemon without using IPv6, whether to enable the Server Load balancer daemon klogin OFF encrypted remote login krb5-telnet OFF encrypted telnetkshell OFF kshell is a logical module of ktelnet depending ON the specific situation irqbalance ON multi-CPU Environment kudzu OFF checks new hardware, you can turn it off. After installing the new hardware, you can use the/usr/sbin/kudzulvm2-monitor on lvm partition daemon mcstrans OFF SELinux conversion service. If you use SELinux, turn it ON, but you can also disable the mdmonitor OFF service to monitor Software RAID or LVM information. It is not a critical service. You can disable it. Mdmpd OFF this service is used to monitor Multi-Path devices (this type of storage devices can be accessed by more than one controller or method ). Messagebus ON should be disabled. This is the Linux IPC (Interprocess Communication) service. Specifically, it interacts with tranquility and is an important system service. We strongly recommend that you enable the multipathd OFF multi-path daemon to check and monitor the failure path. When the fault path is recovered or the new path is online, multipathd switches to the optimal path microcode_ctl OFF for encoding and sends new microcode to the kernel to update the Intel IA32 series processor daemon. Mysqld OFF a fast, efficient, and reliable lightweight SQL database engine daemon process. (If the Server comes with it, you do not need to turn it OFF.) named off dns (BIND) server daemon netfs OFF this service is used to automatically mount the shared file space in the network when the system starts. For example: NFS, Samba, and so on. Install and uninstall NFS, SAMBA, and NCP network file systems. Netplugd OFF is used to monitor network interfaces and execute specified commands when the interface status changes. We recommend that you keep the default off status. Nfs and nfs lock OFF are standard file sharing methods for Unix/Linux/BSD operating systems. Unless you need to share data in this way, disable the network ON (network) function to provide network settings. netconsole OFF Netconsole is a module in the kernel driver, the printk message in the kernel can be encapsulated into a UDP packet and sent to the specified receiving server. This will greatly facilitate the tracking and analysis of the kernel panic situation. The nscd OFF service name cache process, it provides faster verification for services such as NIS and LDAP. If you run these services, you should enable it. Ntpd OFF this service automatically updates the system time over the Internet. If you can maintain a permanent internet connection, we recommend that you enable it, but it is not necessary. Nrpe off nrpe is an extension of nagios. It is used on the monitored server to provide some local conditions of the server to the nagios monitoring platform. For example, cpu load, memory usage, and hard disk usage. NRPE can be called the nagios for linux client. The service of the oddjobd OFF D-BUS connects a customer to it when performing a specific task and sends a request using the system-wide message bus pcscd OFF smart card to support this service to provide Smart Cards (and are embedded in a credit card, the size of the small chip in the identification card is the same as that of the smart card reader. If you do not have a card reader device, disable it. Portmap OFF is used in services called by remote programs. Many services use this plug-in to assist connections. Therefore, we recommend that you do not cancel it, unless you are sure that your system is not using any RPC service! Postgresql OFF PostgreSQL Relational Database Engine Proftpd OFF proftpd is a flexible configuration ftp daemon in Unix Radvd OFF Route broadcast protocol pand OFF bluetooth personal Region network psacct OFF used for process computing readahead_early OFF (can be close) (system) when the system starts up, some programs can be loaded into the memory to facilitate fast loading and speed up the startup of readahead_later OFF (can be closed) (system) when the system is started, some programs can be loaded into the memory to facilitate fast loading and speed up the startup restrorecond OFF SELinux for monitoring files: used to monitor SELinux and reload the correct file context (file contexts ). It is not necessary, but if you use SELinux, it is strongly recommended to enable rdisc OFF to find that the network routing daemon rpcsvcgssd OFF is used for NFS v4. Disable rpcgssd off nfs to support rpcidmapd OFF (network) unless you need or use NFS v4) NFS-related client functions rwalld OFF Rwall protocol allows remote users to send messages to terminals active in the same system, local behavior similar to wall rwhod OFF allows remote users to obtain a list of all logged-on users on machines running the rwho genie, similar to finger, rsync OFF Remote Data Backup Tool saslauthd OFF uses SASL's authentication daemon sendmail OFF email server sendmail daemon smartd ON Self Monitor Analysis and Reporting Technology System, monitor whether your hard disk is faulty. The SMART Disk Monitoring service is used to monitor and predict Disk failures or Disk problems (prerequisite: the Disk must support SMART ). Most desktop users do not need this service, but we recommend that you enable it, especially for servers. Syslog ON syslog is a mechanism provided by the operating system. The Daemon usually uses this mechanism to write various information to log files of various systems. Generally, the sshd ON OpenSSH server daemon wpa_supplicant OFF wireless device support should be started, mainly used for wireless network xfs OFF x font server, X Window server, provides a font set for local and remote X servers. Whether to start: if you use the run-level 5 GUI, you need to start xinetd ON xinetd as a later version of inetd to manage services that are not frequently used in the system, these service programs are started and run by the xinetd service only when there is a request. Once the service request service program is completed, this effectively reduces the usage of system resources by ypbind off sun's YP server name server, this service is used for GLIBC-based NIS/yp network service yum-updatesd off rpm OS Automatic Upgrade and software package management daemon 2 Optimization Operation Method: service safedog stopservice smartd stopchkconfig smartd off service description: smartd checks hard disk faults. virtual hard disks cannot be checked using this service and are only useful for physical devices. 1. stop service apmd stopservice autofs stopservice bluetooth stopservice cups stopservice ip6table stopservice iptable stop # service isdn stopservice hidd stopservice pcscd stopservice pcmcia off # service sendmail stopservice yum-updatesd stop2. disable chkconfig apmd restart autofs offchkconfig bluetooth offchkconfig cups offchkconfig ip6table offchkconfig iptable off # chkconfig idsn offchkconfig hid D offchkconfig pcscd offservice pcmcia off # chkconfig sendmail offchkconfig yum-updatesd off service description: apmd power management has no UPS or battery computers. This is useless autofs automatic Mount service. Generally, mounting is fixed for servers. Unless it is for a special purpose, it is of little use. Bluetooth Server should not need to be printed with bluetooth cups. If you need to print the machine, you need to enable iptable6. It is recommended that you submit iptable to the firewall to manage connections, server can focus on services. If you need to establish an isdn environment, you need to use some Bluetooth input devices such as the keyboard and mouse. Server should not use these devices very well! Pcscd is used for smart card. Currently, there is no such machine on hand, so it is all switched off. Pcmcia is used for pcmcia. Currently, pcmcia is rarely used for Server. The yum-updatesdyum Automatic Upgrade Program will be installed by CentOS 5 by default, but sometimes automatic installation will cause unnecessary troubles. Currently, most people are advised not to enable it, especially for online hosts. [Root @ host ~] # Service iscsi stop [root @ host ~] # Service iscsid stop [root @ host ~] # Chkconfig iscsi off [root @ host ~] # Chkconfig iscsid off