Ubuntu manages startup of various services

Source: Internet
Author: User
1. rcconfapt-getinstallrcconfrcconf is a convenient tool, but it does not have many functions. After setting one tool, all the running levels will follow the setting 2. the tool sysv-rc-confaptgetinstallsysv-rc-confsysv-rc-conf can be used to set the running level. After the setting, the "q" key exits 3. rc. you can also set/etc/init.

1. rcconf

Apt-get install rcconf

Rcconf

This tool is convenient and convenient, but it does not have many functions. After you set one tool, all the running levels will follow the settings.

2. sysv-rc-conf

Apt get install sysv-rc-conf

Sysv-rc-conf

This tool can be set at each running level. After the setting is completed, the "q" key exits.

3. rc. local

You can also write/etc/init. d/service name stop | start into rc. local.

4. Manual Modification

Mv/etc/rc2.d/S91apache2/etc/rc2.d/K91apache2

Changing S to K means to set boot startup to boot not start

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.