- Lab
- A Cloud Guru
Configuring System Services in SUSE Linux Enterprise
In this hands on lab, we will be looking at configuring system services in SLES and troubleshooting a service that fails to start. We will be enabling and disabling services and working with service masks in systemd.
Path Info
Table of Contents
-
Challenge
Stop and Disable the Apache2 Web Server
-
Stop the web server:
sudo -i systemctl stop apache2
-
Disable it:
sudo -i systemctl disable apache2
-
-
Challenge
Start and Enable the Nginx Service, and Correct Any Errors so the Service Is Enabled and Running
-
Start the service:
sudo -i systemctl start nginx
-
If the service is unable to start, determine the reason:
sudo -i systemctl unmask nginx
-
Now that the service is unmasked, start and enable the service:
sudo -i systemctl start nginx sudo -i systemctl enable nginx
-
Verify that Nginx is running:
sudo -i systemctl status nginx
-
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.