Sysv-RC-conf: Ubuntu runtime-level management tool

Source: Internet
Author: User

1. Introduction to sysv-RC-Conf

Sysv-RC-conf is a powerful Service Management Program. The comments of the masses are that sysv-RC-conf is better than chkconfig.
Ii. Background Knowledge
1. Ubuntu running level
The Linux system runs on a specified running level at any time, and different running-level programs and services are different. The work to be done and the purpose to be achieved are different, the system can switch between these running levels to complete different tasks.
Ubuntu system running level:
0 system shutdown status
1. maintenance status of a single user or System
2 ~ 5 Users
6. Restart
View the current running level and run the following command:
Runlevel
(Runlevel indicates the last running level and the current running level. "N" indicates that the previous running level does not exist .)
Switch the running level and run the following command:
Int [0123456ss]
(That is, the init command is followed by a parameter. this parameter is the code of the running level to be switched to, for example, shutdown with the init 0 command and restart with the init 6 command .)
Linux system startup steps:
1. Read the MBR information and start the Boot manager.
In Windows, ntldr is used as the Boot manager. If multiple
For a Windows version, you need to select the system you want to enter in ntldr.
Linux usually uses the powerful and flexible grub configuration as the Boot manager.
2. Load the system kernel and start the INIT process.
The INIT process is the root process of Linux, and all system processes are its sub-processes.
3. The INIT process reads information from the/etc/inittab file and enters the preset running level,
Run the scripts in the corresponding folder of the running level in sequence. The script is usually started with the start parameter.
And point to a program in the system.
Generally, the startup script in the/etc/RCs. d/directory is executed first, and then
/Etc/rcN. d/directory. For example, if you set the running level to 3, the corresponding startup
The directory is/etc/rc3.d /.
4. Start XWindow server Xorg Based on the script in the/etc/RCs. d/folder.
XWindow is a graphical user interface system in Linux.
5. Start the logon manager and wait for the user to log on.
By default, the Windows system uses the Windows system as the logon manager.
After entering the user name and password, you can log on to the system. (You can go to/etc/rc3.d/
A link named s13tpd is found in the folder)
3. Install sysv-RC-Conf
Sudo apt-Get install sysv-RC-Conf
4. Use sysv-RC-Conf
Sudo sysv-RC-Conf
The operation interface is very simple. You can click it with the mouse, or use the keyboard arrow key to locate it, use the space key to select, press Ctrl + n to flip the next page, press Ctrl + P to flip the previous page, and exit with Q. "X" indicates that the service is enabled.
5. Some service optimization recommendations and introduction
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.
For halt shutdown, do not change
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. Please turn it off for desktop users.
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.
Reboot is used for restart. Do not change 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.
Sudo. You don't have to worry about it.
Sysklogd is used to record system log information.
Udev user space Dev file system.
Udev-monoclonal is the same as above.
Umountfs is used to detach a file volume.
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. Ignore it.

Address: http://kofj.net/html/view-2010-12/sysv-rc-conf.html

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.