Linux value-added services are removed, self-initiated and nationally executed

Source: Internet
Author: User
CAMS on its own initiative to participate in the relevant service installation process. In the final installation process will prompt the user whether to start the service, so that the service can take effect, it is important to note that a service does not mean that the system during the boot process is added to the service, will be self-executing, can only be used for service commands to start and stop services.


1. Value-Added services
The steps for the service are:

A. Copy the service's script file into the/ETC/RC.D/INIT.D directory to ensure its status is operational
B. Use the Chkconfig command to join the service to the list of services Chkconfig--add CAMSD (note there are two-)


Once the service is added, the service can start/stop using the


2. Delete a service
Suppose you want to delete a service to change the add of the above command to Del
Chkconfig--del CAMSD (note there are two-)


3. Set up the service to perform its own initiative
Linux performs 7 levels of execution using 0-6 to indicate a console interface execution level of 3, a graphical interface execution level of 5, to make a service self-executing at system startup, and to use Chkconfig to add the service to the corresponding level of self-initiated services list.


Chkconfig--level + camsd on (note two-)
The above command joins the CAMSD service to the list of self-starting services at level 3 5. The following command removes the service camsd from the list of self-starting services at level 3 5:
Chkconfig--level camsd Off (note that there are two-)
Assume that you need to view the service from the outset, such as status information, the following command:
Chkconfig--list CAMSD (note that there are two-)

Linux value-added services are removed, self-initiated and nationally executed

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.