Skip to content

Commit 141eebf

Browse files
authored
Web services (#2132)
* feat: add structure for webservice ebook * feat: writing about mariadb * feat: writing the mariadb replication chapter * feat: add a gitignore to skip pdf synchronisation * fix: wrong gitignore * feat: add tags * feat: writing web server chapter * feat: including php-fpm chapter * feat: add link to new pdf * feat: add title and add comments * fix: remove unneeded pdf
1 parent 08b1444 commit 141eebf

File tree

14 files changed

+3347
-2
lines changed

14 files changed

+3347
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build_pdf/pdf/*.pdf

build_pdf/build_all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
44
cd $SCRIPTPATH
55

6-
for book in admin_book ansible_book bash_book disa_stig lxd_server middlewares rsync_book sed_awk_grep nvchad_book
6+
for book in admin_book ansible_book bash_book disa_stig lxd_server middlewares rsync_book sed_awk_grep nvchad_book web_services
77

88
do
99
for config_file in $(ls ${SCRIPTPATH}/${book}/*.yml)

build_pdf/build_en.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
44
cd $SCRIPTPATH
55

6-
for book in admin_book ansible_book bash_book disa_stig lxd_server middlewares rsync_book sed_awk_grep nvchad_book
6+
for book in admin_book ansible_book bash_book disa_stig lxd_server middlewares rsync_book sed_awk_grep nvchad_book web_services
77

88
do
99
for config_file in $(ls ${SCRIPTPATH}/${book}/en.yml)

build_pdf/build_webservices.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
4+
cd $SCRIPTPATH
5+
6+
for book in web_services
7+
8+
do
9+
for config_file in $(ls ${SCRIPTPATH}/${book}/*.yml)
10+
do
11+
echo "Building $config_file"
12+
echo "---------------------"
13+
VERSION=$(date +%Y/%m/%d) mkdocs build -q -f $config_file -d ${SCRIPTPATH}/site/
14+
echo ""
15+
done
16+
done
17+
rm -Rf ${SCRIPTPATH}/site/

build_pdf/web_services/en.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
INHERIT: ../build_base.yml
3+
4+
# Do not modify this block
5+
pdf-config: &pdf-config
6+
author: Rocky Documentation Team
7+
cover: true
8+
cover_logo: ../assets/rocky-linux-logo.svg
9+
cover_subtitle: A book from the Documentation Team
10+
toc_level: 3
11+
ordered_chapter_level: 3
12+
verbose: false
13+
back_cover: true
14+
15+
# You are free to configure here what you want
16+
plugins:
17+
- with-pdf:
18+
<<: *pdf-config
19+
cover_title: Rocky Linux Web Services Guide (English version)
20+
output_path: ../pdf/RockyLinuxWebServicesGuide.pdf
21+
22+
# Customize your own book
23+
nav:
24+
- web_services/00-toc.md
25+
- licence.md
26+
- web_services/01-files-servers.md
27+
- web_services/02-web-servers.md
28+
- web_services/03-application-servers.md
29+
- web_services/04-databases-servers.md
30+
- web_services/05-load-balancer-proxies.md
31+
- web_services/06-mails-servers.md
32+
- web_services/07-high-availability.md

docs/books/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ Our books can be downloaded in PDF format for offline reading.
5454
* [English](https://rocky-linux.github.io/documentation/RockyLinuxMiddlewaresGuide.pdf)
5555
* [Italian](https://rocky-linux.github.io/documentation/RockyLinuxMiddlewaresGuide.it.pdf)
5656

57+
### Rocky Linux Web Services (LAMP or LEMP)
58+
59+
* [English](https://rocky-linux.github.io/documentation/RockyLinuxWebServicesGuide.pdf)
5760
### Learning RSync
5861

5962
* [English](https://rocky-linux.github.io/documentation/learning_rsync_rocky_linux.pdf)

docs/books/web_services/00-toc.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Foreword
3+
author: Antoine Le Morvan
4+
contributors: Steven Spencer, Ganna Zhyrnova
5+
tags:
6+
- web
7+
- services
8+
---
9+
<!-- markdownlint-disable MD025 MD007 -->
10+
11+
RockyLinux is part of the Enterprise Linux family, making it particularly well suited to hosting web services such as file servers (FTP, sFTP), web servers (apache, nginx), application servers (PHP, Python), database servers (MariaDB, Mysql, PostgreSQL) or more specific services such as load balancing, caching, proxyfication or reverse proxyfication (HAProxy, Varnish, Squid).
12+
13+
The web wouldn't be what it is without email. Web services generally make extensive use of mail servers (Postfix).
14+
15+
Sometimes, these services are extremely busy or require highly available services. In these cases, other services can be implemented to guarantee optimal service performance (Heartbeat, PCS).
16+
17+
Each chapter of this book can be consulted independently, according to your needs, and it is not compulsory to read the chapters in order.
18+
19+
This book is also part of a series of books dedicated to system administration under Linux (Admin Guide, Learning Bash, Learning Ansible). Where necessary, you'll be invited to review the concepts you're missing in the corresponding chapters of the above-mentioned books.
20+
21+
## Public
22+
23+
The target audience for this book is system administrators already trained in the use of system administration commands (see our book Admin Guide), who want to install, configure and secure their web services.
24+
25+
## How to use this book
26+
27+
This book has been designed as a training manual, so that it can be used in several ways. Either as a training aid for trainers, or as a self-training aid for administrators wishing to acquire new skills or reinforce their existing knowledge.
28+
29+
To implement some of the services presented in this book, you may need two (or more) servers to put the theory into practice.
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
---
2+
author:
3+
contributors:
4+
title: Part 1. Files Servers
5+
tags:
6+
- ftp
7+
- sftp
8+
---
9+
<!---
10+
11+
# Part 1. Files Servers
12+
13+
## FTP
14+
15+
In this chapter, you will learn about FTP Servers.
16+
17+
****
18+
19+
**Objectives**: In this chapter, you will learn how to:
20+
21+
:heavy_check_mark: XXX
22+
:heavy_check_mark: XXX
23+
24+
:checkered_flag: **XXX**, **XXX**
25+
26+
**Knowledge**: :star:
27+
**Complexity**: :star:
28+
29+
**Reading time**: XX minutes
30+
31+
****
32+
33+
### Generalities
34+
35+
### Configuration
36+
37+
### Security
38+
39+
### Workshop
40+
41+
#### Task 1 : XXX
42+
43+
#### Task 2 : XXX
44+
45+
#### Task 3 : XXX
46+
47+
#### Task 4 : XXX
48+
49+
### Check your Knowledge
50+
51+
:heavy_check_mark: Simple question? (3 answers)
52+
53+
:heavy_check_mark: Question with multiple answers?
54+
55+
* [ ] Answer 1
56+
* [ ] Answer 2
57+
* [ ] Answer 3
58+
* [ ] Answer 4
59+
60+
## sFTP
61+
62+
In this chapter, you will learn about XXXXXXX.
63+
64+
****
65+
66+
**Objectives**: In this chapter, you will learn how to:
67+
68+
:heavy_check_mark: XXX
69+
:heavy_check_mark: XXX
70+
71+
:checkered_flag: **XXX**, **XXX**
72+
73+
**Knowledge**: :star:
74+
**Complexity**: :star:
75+
76+
**Reading time**: XX minutes
77+
78+
****
79+
80+
### Generalities
81+
82+
### Configuration
83+
84+
### Security
85+
86+
### Workshop
87+
88+
#### Task 1 : XXX
89+
90+
#### Task 2 : XXX
91+
92+
#### Task 3 : XXX
93+
94+
#### Task 4 : XXX
95+
96+
### Check your Knowledge
97+
98+
:heavy_check_mark: Simple question? (3 answers)
99+
100+
:heavy_check_mark: Question with multiple answers?
101+
102+
* [ ] Answer 1
103+
* [ ] Answer 2
104+
* [ ] Answer 3
105+
* [ ] Answer 4
106+
107+
-->

0 commit comments

Comments
 (0)