Ubuntu9.10 disable useless services

Source: Internet
Author: User
I installed a lot of things on Ubuntu9.10, and there must be a lot of useless services at startup, so I used the old method. The chkconfig-lchkconfigserviceNameoff command is used to solve the problem. It is strange that the chkconfig command is not installed in the system. After manual installation, chkconfig-l can be used, but the command to close the Service has repeatedly reported an error. I rely on google. Ubuntu no longer supports the chkconfig command,

I installed a lot of things on my Ubuntu 9.10 and started a lot of useless services, so I used the old method.

Chkconfig-l

Chkconfig serviceName off

Command to solve the problem. The strange thing is that the chkconfig command is not installed in the system, and chkconfig-l can be used after manual installation, but the command to close the Service has repeatedly reported an error.

I rely on google.

It turns out that Ubuntu no longer supports the chkconfig command, but has developed a update-rc.d. Use this command to manage services.

Update-rc.d Oracle-xe disable // stop the oracle-xe service.

In this way, the useless services on Ubuntu are successfully disabled.

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.