FG
💻 Software

How do I prevent Linux services from auto-starting?

Fresh5 days ago
Mar 15, 202685068 views
Confidence Score0%
0%

Problem

I have recently migrated from Windows to Linux (xubuntu) I am a developer and have installed everything I need, LAMP. In Windows I used to turn off all unnecessary services - I don't need the Apache or MySQL service running all the time. Whenever I needed MySQL I used to use: How do I do the same i…

Error Output

net start mysql

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I prevent Linux services from auto-starting?

Low Risk

For Ubuntu versions that use systemd (15.04 and later) use: This will do the job. It will disable the service and won't restart after a reboot. To temporarily enable simply start the service. Not enable. To find the service name use Other commands a…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment