Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web services #2132

Merged
merged 11 commits into from
Jun 26, 2024
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build_pdf/pdf/*.pdf
2 changes: 1 addition & 1 deletion build_pdf/build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cd $SCRIPTPATH

for book in admin_book ansible_book bash_book disa_stig lxd_server middlewares rsync_book sed_awk_grep nvchad_book
for book in admin_book ansible_book bash_book disa_stig lxd_server middlewares rsync_book sed_awk_grep nvchad_book web_services

do
for config_file in $(ls ${SCRIPTPATH}/${book}/*.yml)
Expand Down
2 changes: 1 addition & 1 deletion build_pdf/build_en.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cd $SCRIPTPATH

for book in admin_book ansible_book bash_book disa_stig lxd_server middlewares rsync_book sed_awk_grep nvchad_book
for book in admin_book ansible_book bash_book disa_stig lxd_server middlewares rsync_book sed_awk_grep nvchad_book web_services

do
for config_file in $(ls ${SCRIPTPATH}/${book}/en.yml)
Expand Down
17 changes: 17 additions & 0 deletions build_pdf/build_webservices.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cd $SCRIPTPATH

for book in web_services

do
for config_file in $(ls ${SCRIPTPATH}/${book}/*.yml)
do
echo "Building $config_file"
echo "---------------------"
VERSION=$(date +%Y/%m/%d) mkdocs build -q -f $config_file -d ${SCRIPTPATH}/site/
echo ""
done
done
rm -Rf ${SCRIPTPATH}/site/
32 changes: 32 additions & 0 deletions build_pdf/web_services/en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
INHERIT: ../build_base.yml

# Do not modify this block
pdf-config: &pdf-config
author: Rocky Documentation Team
cover: true
cover_logo: ../assets/rocky-linux-logo.svg
cover_subtitle: A book from the Documentation Team
toc_level: 3
ordered_chapter_level: 3
verbose: false
back_cover: true

# You are free to configure here what you want
plugins:
- with-pdf:
<<: *pdf-config
cover_title: Rocky Linux Web Services Guide (English version)
output_path: ../pdf/RockyLinuxWebServicesGuide.pdf

# Customize your own book
nav:
- web_services/00-toc.md
- licence.md
- web_services/01-files-servers.md
- web_services/02-web-servers.md
- web_services/03-application-servers.md
- web_services/04-databases-servers.md
- web_services/05-load-balancer-proxies.md
- web_services/06-mails-servers.md
- web_services/07-high-availability.md
3 changes: 3 additions & 0 deletions docs/books/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ Our books can be downloaded in PDF format for offline reading.
* [English](https://rocky-linux.github.io/documentation/RockyLinuxMiddlewaresGuide.pdf)
* [Italian](https://rocky-linux.github.io/documentation/RockyLinuxMiddlewaresGuide.it.pdf)

### Rocky Linux Web Services (LAMP or LEMP)

* [English](https://rocky-linux.github.io/documentation/RockyLinuxWebServicesGuide.pdf)
### Learning RSync

* [English](https://rocky-linux.github.io/documentation/learning_rsync_rocky_linux.pdf)
Expand Down
29 changes: 29 additions & 0 deletions docs/books/web_services/00-toc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: Foreword
author: Antoine Le Morvan
contributors: Steven Spencer, Ganna Zhyrnova
tags:
- web
- services
---
<!-- markdownlint-disable MD025 MD007 -->

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).

The web wouldn't be what it is without email. Web services generally make extensive use of mail servers (Postfix).

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).

Each chapter of this book can be consulted independently, according to your needs, and it is not compulsory to read the chapters in order.

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.

## Public

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.

## How to use this book

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.

To implement some of the services presented in this book, you may need two (or more) servers to put the theory into practice.
107 changes: 107 additions & 0 deletions docs/books/web_services/01-files-servers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
---
author:
contributors:
title: Part 1. Files Servers
tags:
- ftp
- sftp
---
<!---

# Part 1. Files Servers

## FTP

In this chapter, you will learn about FTP Servers.

****

**Objectives**: In this chapter, you will learn how to:

:heavy_check_mark: XXX
:heavy_check_mark: XXX

:checkered_flag: **XXX**, **XXX**

**Knowledge**: :star:
**Complexity**: :star:

**Reading time**: XX minutes

****

### Generalities

### Configuration

### Security

### Workshop

#### Task 1 : XXX

#### Task 2 : XXX

#### Task 3 : XXX

#### Task 4 : XXX

### Check your Knowledge

:heavy_check_mark: Simple question? (3 answers)

:heavy_check_mark: Question with multiple answers?

* [ ] Answer 1
* [ ] Answer 2
* [ ] Answer 3
* [ ] Answer 4

## sFTP

In this chapter, you will learn about XXXXXXX.

****

**Objectives**: In this chapter, you will learn how to:

:heavy_check_mark: XXX
:heavy_check_mark: XXX

:checkered_flag: **XXX**, **XXX**

**Knowledge**: :star:
**Complexity**: :star:

**Reading time**: XX minutes

****

### Generalities

### Configuration

### Security

### Workshop

#### Task 1 : XXX

#### Task 2 : XXX

#### Task 3 : XXX

#### Task 4 : XXX

### Check your Knowledge

:heavy_check_mark: Simple question? (3 answers)

:heavy_check_mark: Question with multiple answers?

* [ ] Answer 1
* [ ] Answer 2
* [ ] Answer 3
* [ ] Answer 4

-->
Loading
Loading