Introduction to service management under ubuntulinux

Source: Internet
Author: User
Linux has a running level, which is really not intuitive. it is actually what needs to be done under different circumstances. there are some rc * in/etc *. d directory. * It is a number ranging from 0 to 6. There is also a SS which is a service of the system. In 0-6, it indicates a different meaning. 0 indicates that the system is shut down, 6 is system restart, and 1-5 is all startup methods. 3 is a normal start, so we usually focus on 3. according to the documents from the Internet, these meanings have reached a running level in rp linux, which is really not intuitive. it is actually what needs to be done under different circumstances. there are some rc * in/etc *. d directory, * is some numbers, from 0 to 6, there is a S

S is some services of the system, and in 0-6, it indicates different meanings. 0 indicates system shutdown, 6 indicates system restart, and 1-5 indicates some startup methods. 3 is a normal start, so we usually focus on 3. according to the Internet documentation, these meanings are different in rpm package management linux systems. so here we only talk about Ubuntu

These directories indicate the programs to be executed under the corresponding circumstances. start with S, and kill. if it is lower-case s, k, it means not to run. you can disable this item by changing the prefix to lowercase.

A small program named sysv-rc-conf can be installed through sudo apt-get install sysv-rc-conf. this is a simple tool for configuring the ubuntu service, which is easy to use.

The file in the rc *. d directory is actually linked to the script in/etc/init. d.
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.