Skip to Main Content
Fundamentals of Linux
book

Fundamentals of Linux

by Oliver Pelz
June 2018
Beginner content levelBeginner
234 pages
5h 36m
English
Packt Publishing
Content preview from Fundamentals of Linux

Introduction to services

In this section, we will show you how to work with services in CentOS 7.

Let's open your three VMs, master, client1, and client2, from the previous section of this chapter in three different tabs that are connected together on the same internal subnetwork.

Let's begin by installing a simple networking service. In our example, let's install the Apache2 web server on the master server, as it is very easy to set up and use:

Now, following installation of the httpd package on CentOS 7, you can manage services using the systemctl command, which is part of the systemd service.

To get a list of all the units currently available ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux in a Nutshell, 6th Edition

Linux in a Nutshell, 6th Edition

Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
Linux in Action

Linux in Action

David Clinton
Hands-On System Programming with Linux

Hands-On System Programming with Linux

Kaiwan N. Billimoria, Tigran Aivazian

Publisher Resources

ISBN: 9781789530957Supplemental Content