LinuxSpecializationCourse1Module2
LinuxSpecializationCourse1Module2
© LearnQuest 2015
2021
Linux Services
In the second module of this course, we will discuss the services
available in the Linux operating system. We will explore many
services including web servers and database servers, among others.
2
2 © LearnQuest 2021
Learning Objectives
Linux Services
3 © LearnQuest 2021
Lesson 1 In this lesson, we look at the
difference between a Linux Server
Servers vs Desktops and a Linux Desktop
4 © LearnQuest 2021
Servers vs Desktops
Servers Desktops
Focus on programs Focus on programs
that provide shared that run in a
resources (services) Graphical User
Interface (GUI)
5 © LearnQuest 2021
Launching Services
There are two primary ways Servers run service programs
As a process
As a background
spawned by a
process, always
parent program
running listening for
that listens for
requests
requests
6 © LearnQuest 2021
What is Deamon?
7 © LearnQuest 2021
Major Service Types
• File Servers
• Print Servers
• Web Servers
• Database Servers
• Mail Servers
8 © LearnQuest 2021
Lesson 1
A Linux Desktop has programs
Review designed around GUI interactive
applications
9 © LearnQuest 2021
Lesson 2 In this lesson, we the drill into very
common services run on Linux
Web Servers
Servers – Web Servers.
10 © LearnQuest 2021
Web Servers
Web Servers Listen on Port 80 and 443
for an incoming request and assign
the request to a process to return the
response
• Apache
• nginX
• Lighttpd
Apache
12 © LearnQuest 2021
nginX
13 © LearnQuest 2021
Lighttpd
Free and open-source
web server software
optimized for speed-
Initial Release – 2015
critical environments,
released under the
terms of FreeBSD License
14 © LearnQuest 2021
Lesson 2
Review Web Servers run in the background
and serve HTTP and HTTPS requests
15 © LearnQuest 2021
Lesson 3 In this lesson we the drill into a very
common service run on Linux
Database Servers
Servers – Database Servers.
16 © LearnQuest 2021
Database Servers
Database Servers Listen on the
network for incoming request (often
SQL) and respond with the data
• Relational
• PostgreSQL
• MySQL
• NoSQL
• MongoDB
Relational Database Model
Dominant database model used in business
applications
Partition
Availability
Tolerance
CRUD
• Standard Operations on facts in a database include:
Create
Read
Update
Delete
Lesson 3
Review Both Relational and NoSQL Support
CRUD operations
22 © LearnQuest 2021
Lesson 4 In this lesson, we look at managing
Managing Services services in Linux
23 © LearnQuest 2021
Init Process
readlink –f
/usr/sbin/init
24 © LearnQuest 2021
Systemd
25 © LearnQuest 2021
Managing Services
with Systemd
• sudo systemctl start [application.server]
26 © LearnQuest 2021
Lesson 4
Review Systemd is the new standard for
service configuration
27 © LearnQuest 2021