Nov 10, 2018

How to Start Services on Boot in Red Hat 7 / CentOS 7 / Oracle Linux 7

To set a service to start on boot you can use systemctl:

systemctl enable sshd.service

Likewise, to make sure a service does not start on boot (or disable), you can use systemctl:

systemctl disable sshd.service