How do you manage services in Linux?

Question

can you help me with this question

Answer ( 1 )

  1. systemctl start apache2 # Start service

    systemctl stop apache2 # Stop service

    systemctl restart apache2 # Restart service

    systemctl enable apache2 # Enable service on boot

    systemctl status apache2 # Check service status

Leave an answer