Automatically Start Linux Daemons and Services
Normally after I finish installing the Linux OS in my machine, the first sport check I often go through is checking what are service daemons to be enable or disable during boot time. It’s due to Red Hat / Centos come with a lot of services that are pre-configured to run at boot. It’s also to determine that I’m not running unnecessary services that are simply sucking up my precious CPU time and my server resources.
To enable or disable linux daemons and services at boot time on Red Hat/Centos, in your linux console ( after become a su ), I just issue this command :
[root@xxxx xxxx]# setup
From Choose a Tool menu, select the System services –> Run Tool to access the Services menu as below.
The following is a list based on one of my testing machine and some of the services may not listed here.
| Service / Daemon | Description |
| NetworkManager | NetworkManager is a software utility aimed at simplifying the use of computer networks on Linux and other Unix-like operating systems. |
| NetworkManagerDispatcher | The NetworkManagerDispatcher daemon runs commands in the /etc/NetworkManager/dispatcher.d directory in response to interfaces coming up and down. |
| acpid | ACPI stands for: Advanced Configuration and Power Interface. It’s utilities for using ACPI Modern computers support the Advanced Configuration and Power Interface (ACPI) to allow intelligent power management on your system and to query battery and configuration status. |
| anacron | Anacron is a periodic command scheduler. It executes commands at intervals specified in days. Unlike cron, it does not assume that the system is running continuously. |
| atd |
run jobs queued for later execution |
| auditd | The Linux Audit daemon, auditd is the userspace component to the Linux Auditing System. It’s responsible for writing audit records to the disk. |
| autofs | Autofs is a kernel option which allows you to automatically mount filesystems when you access them, and automatically unmount them when you are done using them. It’s detects Disks, Partitions, CD-ROMs, Floppies etc. and sets up an automount configuration. So it provides an easy access to the hardware. |
| avahi-daemon | Avahi is a system which facilitates service discovery on a local network. This means that you can plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print to or find files being shared. |
| cpuspeed | CPUSpeed for Linux adjusts the CPU speed dynamically based on the demand for processing power. This helps computers conserve power and keep cool. |
| crond | cron daemon, crond is a background daemon that parses individual crontab files and executes commands on behalf of the users in question. |
| cups | CUPS provides a portable printing layer for UNIX®-based operating systems. It is the standard printing system in Mac OS® X and most Linux® distributions. |
| dhcdbd | dhcdbd provides a dbus interface to dhclient allowing applications such as Networkmanager to query the state of and control interfaces. |
| dund | BlueZ Bluetooth dial-up networking daemon |
| firstboot | firstboot is the program that runs on the first boot of a Fedora Core or Red Hat Enterprise Linux system that allows you to configure more things than the installer allows. |
| gpm | a cut and paste utility and mouse server for virtual consoles |
| haldaemon | HAL is a hardware abstraction layer and software project that allows desktop applications on an operating system to readily access hardware information so that they can locate and use such hardware regardless of bus or device type. HAL is used for discovering device such as storage, networking, digital cameras, and printers. |
| httpd | Httpd stands for Hyper Text Transfer Protocol Daemon. It’s apache web server daemon in Linux |
| iptables | The IPTables program that comes with Linux distributions allows administrators to configure the operating system so that it allows applications and clients to connect through the network and stop unwanted applications and clients from communicating and corrupting the operating system. |
| irqbalance | irqbalance is a Linux* daemon that distributes interrupts over the processors and cores you have in your computer system. The design goal of irqbalance is to do find a balance between power savings and optimal performance. |
| kudzu | Detects and configures new and/or changed hardware on a system. |
| mdmonitor | for software RAID array (you can mirror hard disks for redundancy or stripe with RAID) |
| mdmpd |
the service daemon for software RAID support |
| messagebus | D-BUS systemwide messagebus. Broadcasts notifications of system messages and events. http://www.freedesktop.org/software/dbus |
| microcode_ctl | microcode utility for PentiumPro, PII, PIII, P4, Celeron and Xeon. Disable on AMD Athlon, Sempron, Duron, older Pentium or Pentium MMX or Cyrix processor systems. |
| multipathd | The multipathd daemon is in charge of checking for failed paths. and monitoring them to see when they have recovered. When a failed path has recovered or a new path has come online, multipathd switches to the optimal path group, to ensure maximum performace. |
| mysqld |
It’s daemon for MySQL database server. |
| netconsole | netconsole is a kernel feature to log the dmesg output via the network. |
| netfs | mounts and unmounts all network filesystems (NFS, Samba (Windows network), CIFS, NCP) |
| network |
Activates all network interfaces at boot time. |
| nfslock | provides file locking (keep 2 people from accessing same network file concurrently) |
| nscd | Nscd caches name service lookups. It can dramatically improve performance with NIS+ and may help with DNS as well. |
| pcscd | PCSC Lite resource manager daemon The purpose of PCSC Lite is to provide a Windows(R) SCard interface in a very small form factor for communicating to smartcards and readers. The PCSC daemon is used to dynamically allocate/deallocate reader drivers at runtime and manage connections to the readers. |
| portmap | The RPC portmapper Portmap is a server that converts RPC (Remote Procedure Call) program numbers into DARPA protocol port numbers. It must be running in order to make RPC calls. Services that use RPC include NFS and NIS. |
| readahead | performance boost by preloading a program into memory before it is actually needed |
| restorecond | daemon that watches for file creation and then sets the default SELinux file context. |
| rpcgssd rpcidmapd rpcsvcgssd |
These are Network File System Daemons. |
| sendmail | It’s MTA and default MTA in Centos / Red Hat distro. |
| smartd | Self Monitor Analysis and Reporting Technology System. Monitor you hard disk for failures. |
| squid | Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. |
sshd |
Service daemon for ssh server. Allow remote acces to the server via ssh client. |
| syslog |
Daemon to log all system activities. |
| tux | The TUX Web Server is an HTTP daemon for Linux. The TUX Web Server is different from other Web servers in that it runs partially from within the Linux kernel as a module, or kernel subsystem. Given sufficient networking cards, it enables direct scatter-gather direct memory access (DMA) and hardware-based TCP/IP checksums from the page cache (the Linux file data cache) directly to the network, avoiding extra data copies. |
| vsftpd | Service for Very Secure FTP server. It’s for running ftp server on your machine. |
| wpa_supplicant | wpa_supplicant is designed to be a "daemon" program that runs in the background and acts as the backend component controlling the wireless connection. |
| xfs | The X font server (xfs) provides a standard mechanism for an X server to communicate with a font renderer, frequently running on a remote machine. It usually runs on TCP port 7100. You need to be running xfs if you want a remote X terminal to be able to use fonts from your system, or if you want to use fonts that your X server doesn’t understand (and the font server does). |
| ypbind |
ypbind finds the server for NIS domains and maintains the NIS binding information. |
| yum-updatesd | yum-updatesd provides a daemon which checks for available updates and can notify you when they are available via email, syslog or dbus. |
I turn off the services/daemons ( red colour text) and it’s up to you to decide which services you want to enable during boot time. It’s your server anyway ….
Source :
1. Linux About
Discover the Magic Formula to creating Adsense sites using
Wordpress and make your first dollar in 7 days!
kalau set TERM betul betul dan font betul, aku rasa border “setup” tu cantik sikit
Sebol : nanti aku godek-2 css quote untuk benda alah tu.