[LINUX] Stop the automatic startup of Apache Nginx

Prevent it from starting automatically There were many articles saying that chkconfig can be used, but since there is no command in Ubuntu 18.04

$ sudo systemctl disable apache2.sevice
$ sudo systemctl disable nginx.service

Undo

$ sudo systemctl enable apache2.sevice
$ sudo systemctl enable nginx.service

Recommended Posts

Stop the automatic startup of Apache Nginx
[Apache] The story of prefork
I want to stop the automatic deletion of the tmp area with RHEL7
The story of automatic language conversion of TypeScript / JavaScript / Python
The beginning of cif2cell
The meaning of self
The story of sys.path.append ()
Revenge of the Types: Revenge of types
One liner that randomly rewrites the startup time of cron