Ubuntu unactivates Apache and MySQL

Source: Internet
Author: User
Tags arabic numbers
Ubuntu unactivates Apache and MySQL. install a sysv-conf-rc2.sudoupdate-rc.d-fmysqlremove remove mysql stochastic started service sudoupdate-rc.d-fapache2remove remove apache2 stochastic started service 3. check apache and mys Ubuntu in/etc/rc2.d/to cancel self-startup of Apache and MySQL.

1. install sysv-conf-rc

2. sudo update-rc.d-f mysql remove services started by mysql random

Sudo update-rc.d-f apache2 remove services started by apache2

3. check the apache and mysql startup scripts in/etc/rc2.d/. Generally, they are two Arabic numbers followed by an English letter and the script name. If the English letter is S, it will start automatically, and if the English letter is K, the opposite is true. So you only need to find the apache and mysql startup scripts and change S to K.
 
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.