Lesson 6.2: Start and stop services and configure services to start automatically at boot
Start a Service
Syntax: systemctl start < service_name >
[root@serverC ~]# systemctl start httpd
Stop a Service
Syntax: systemctl stop < service_name >
[root@serverC ~]# systemctl stop httpd
Enable a Service to Start Automatically at Boot
Syntax: systemctl enable < service_name >
[root@serverC ~]# systemctl enable httpd