Book Image

Hands-On Linux System Administration [Video]

By : Jack-Benny Persson
5 (1)
Book Image

Hands-On Linux System Administration [Video]

5 (1)
By: Jack-Benny Persson

Overview of this book

Have you only come into brief contact with Linux before, but now you need to set up or maintain a Linux server? Then this course is for you. With this course you'll learn how to master any Linux machine. Control and master the administration of a Linux machine, whether a workstation or a server. You'll learn how to set up services, monitor the system, perform backups, and schedule common tasks. By the end of the course you will be ready to start your career as a Linux system administrator. The code bundle for this video course is available at: https://github.com/PacktPublishing/Hands-on-Linux-System-Administration
Table of Contents (6 chapters)
Chapter 5
Managing Services
Content Locked
Section 2
Creating and Modifying Services
In this video we will learn to both modify an existing service (unit file), as well as creating our very own service from the ground up, including the actual service. - Start this video be taking a look at how everything fits together regarding unit files, in which directories they are placed, what happens when you enable or disable a service and so on. - Modify the httpd service (unit file). First we modify the original unit file, and then we learn how to create an override file for the unit. - Create our very own service! First we create a shell script which will act as the service. Then we create the unit file for the service, so that it can be enabled/disabled and started and stopped. Just like a real service!