How do I enable services in Linux?

How do I enable services in Linux?
Answer
How to enable and disable services in Systemd init
  1. To start a service in systemd run the command as shown: systemctl start service-name. …
  2. Output ● …
  3. To stop the service running service systemctl stop apache2. …
  4. Output ● …
  5. To enable apache2 service on boot up run. …
  6. To disable apache2 service on boot up run systemctl disable apache2.
23 мар. 2018 г.
 

Tìm kiếm

Back
Top