Verify if it is Debian or Ubuntu distributions and start all necessary services.