Debian service management

Source: Internet
Author: User
For debian service management, we can use the method of selective shutdown to accelerate startup and improve system performance. Here we install a software: sudoapt-getinstallsysv-rc-confsudosysv-rc-conf in this software, you can use the keyboard's direction key to move, with null... for debian service management, we can use the method of selective shutdown to accelerate startup and improve system performance. Here we install a software: sudo apt-get install sysv-rc-conf sudo sysv-rc-conf in this software, you can use the keyboard's arrow key to move and use spaces to select, you can also select the service with the mouse and save and exit with q to list the service name and basic explanation. Acpi-support: the default value for power support is 1, 2, 3, 4, and 5. I think you can adjust it to s level. The acpid acpi daemon. the default value is 2-5. The alsa sound subsystem should not be enabled. Alsa-utils seems to have replaced alsa, so you can enable it. I can enable it at the S level. Anacron is a service used to execute a program that has not been executed at the time. I think it doesn't matter, so you can turn it off. Apmd is also a kind of power management. I think it is not necessary to enable a computer if it is not very old. Atd is similar to anacron. I shut it down. Bluez-utiles: The legendary Bluetooth service, and I'm sorry I didn't have it, so I turned it off. Bootlogd seems to be used to write logs. it may be better to enable it during the security period. Cron specifies the time to run the program service, so it is better to open. Cupsys printer service, so if you have it, enable it. The producer message bus system is very important and must be enabled. Dns-clean is used for dial-up connections. if not, it is disabled. In the evms enterprise volume management system, I disabled it because I didn't understand what it was called an enterprise volume. Fetchmail is used for email daemon. I disabled it. I shut down the table manager for gmtms, and then started gnome with startx. Hdparm, as I mentioned earlier, does not need to be enabled without an ide hard disk. Hotkey-setup: this is the hotkey ing designed for some brands of laptops. for desktop users, turn it off. hotplug is used for hot swapping. I have tested it, disabling it on some computers will invalidate the sound card. enable it at S level. It should be available if it is dedicated to the HPC hp printer. It seems useless to rename the ifrename network interface. If ifupdown is used to open the network, open it. Ifupdown-clean is the same as above. The klogd linux daemon accepts records from the kernel and sends messages to syslogd and records them as a file. therefore, open it. Linux-restricted-modules-common is used to use restricted modules. you can view the restricted modules under/lib/linux-restricted-modules. if there is nothing, you can turn it off. Lvm Logical Volume Manager. disable it if you do not have one. Makedev is used to create a device to/dev/. do not change it. Mdamd manages raid. if not, disable it. Module-init-tools is added from/etc/modules to the extension module, which is usually open. Networking adds network interfaces and configures dns. The ntp-server is synchronized with the ubuntu time server. Pcmcia activates the pcmica device. Unfortunately, I have never seen such a device in my life. Powernowd is a client program used to manage cpu. if there is a variable frequency function, such as amd's quite 'cool, enable it. I disabled the ppp dialing service. The same is true for ppp-dns. The readahead pre-loading service reminds me of Windows pre-reading. of course, they are different. it slows down startup by 3 to 4, so I disabled it. Rmnologin if nologin is found, remove it and do not enable it in the notebook. Rsync protocol daemon, depending on the situation. Screen-cleanup: a script to clear the boot screen. Send messages to all processes when sendsigs is restarted or shut down. So don't worry about it. Single is activated, but user mode is not required. Stop-bootlogd stop bootlogd from level 2, 3, and 4, regardless of it. Sysklogd is used to record system log information. Udev User space dev file system. Udev-monoclonal is the same as above. Urandom generates a random number and does not know how to use it. The nice boot screen of usplash, but I shut it down and it also exists. to disable it, you need to delete the splash in the kernel startup parameters. Vbesave graphics card bios configuration tool, don't worry about it. Xorg-common sets x service ice socket. Umountfs is used to detach a file volume. Exim debian's default mail system. if you do not use the mail function, turn it off. if Port 25 is open, you can scan it every day. kill-procs is disabled by default compared with RH series ntsysv, debian also has a similar service management software rcconf. this is a simple management software, which is managed through a text window. to use this tool, you also need to download and install apt-get install rcconf and enter rcconf in shell. of course, I just want to transform Debian into a web service or firewall service. I also don't want to install other software that is rarely used. do not install rcconf. directly using Debian built-in update-rc.d is also a good choice. the disadvantage is that the intuition is too poor and the interface is not friendly. the following is an example to describe how to add a service automatically following the run-level startup editing script at/etc/init when the system starts. d. Grant the executable permission 'S': indicates that the 'k' is started with the system, indicating that the server is stopped with the system. for example, add the server with the system startup in rc2.d. Create a shellname script in/init. d to write the work you want to complete in the script. enter the command:/usr/sbin/shellname start 20 2. Stop 17 0. Note: shellname: indicates the name of your script. start: indicates that the script is started with startup. 20: indicates the number at startup, and the number starts successively by size. 2: indicates the running level. the default running mode of debian is 2 ..: End. there is a "after start 20 2 "." It indicates that the random start is set to end, and there will also be one at the end of the stop, which must be filled in! Stop: A service that stops when the system starts. you can also use the default configuration example to create k17 shellname to/init in rc0.d. d/shellname stop service update-rc.d shellname defaults delete startup service/usr/sbin/update-rc.d-f shellname remove
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.