This tutorial will guide you on how to perform a Start and Stop Service on RedHat 8.1 Linux server.
1. Start a service
Open terminal and login through root user and execute below command with your service name to start a service.
Syntax: systemctl start SERVICE_NAME
For Example, to start httpd service:
[root@worldwidelinux ]# systemctl start httpd.service
2. Stop a service
Open terminal and login through root user and execute below command with your service name to stop a service.
Syntax: systemctl stop SERVICE_NAME
For Example, to stop httpd service:
[root@worldwidelinux ]# systemctl stop httpd.service