Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have lots of servers installed (Apache, MySQL, etc.), but I don't want them all to start at boot time (they drain power, and I'm on batteries most of the time). How do I configure this?

share|improve this question

3 Answers

up vote 16 down vote accepted

In the console, you could write:

sudo update-rc.d -f apache2 remove
sudo update-rc.d -f mysql remove
...

For additional information read Ubuntu Bootup How to.

share|improve this answer

This link is a bit out dated version wise, but does it match an option in your version?

Configure startup services

This requires administrative privileges (see Chapter 2, Administrative Tasks).

  1. Run Services Settings: SystemAdministrationServices.
  2. Enter your password.
  3. Select the services you want running, then click OK when done.
share|improve this answer
The link is broken now (404). – Peter Mortensen Nov 19 '11 at 10:26

Another way to accomplish this is to 'disable' the sym link - not delete it.

sudo update-rc.d mysql disable 2

This will rename the sym link to start with 'K' and the service won't start-up on boot. You can then re-enable it at any time if you do decide you want it to start-up on boot.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.