Two types of services in Linux: services installed in the RPM package by default and services installed in the source package

Source: Internet
Author: User

Two types of services in Linux: services installed in the RPM package by default and services installed in the source package

After some software is installed on a computer, one or more services will appear in the system service management, such as Apache and VMware software, it can be started with the system startup. Of course, it can also be set to not start. When it is used, start it again (you can enter services in the running. msc directly open the service list), but some software is not generated after it is installed on the computer, such as our chat tool QQ.

In Linux, there are two types of services: one is the default RPM package installation service and the other is the source code package installation service.

By default, the RPM service is installed in the/etc/rc. d/init. d/file. When the service smb start is executed, the service searches for the smb service in this directory,

However, the services installed in the source code package are located at the location where you installed the source code package, and will not appear in the default location of the system (/etc/rc. d/init. d/), so you want to execute

When the source package service starts with the service name, the service cannot be found in/etc/rc. d/init. d/, and an error is returned.


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.