Skip to content

Commit

Permalink
create mdbook
Browse files Browse the repository at this point in the history
  • Loading branch information
giulianopz committed Feb 4, 2023
1 parent 794e712 commit 357c632
Show file tree
Hide file tree
Showing 13 changed files with 239 additions and 114 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: book

on:
push:
branches:
- main

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install MDBook
run: cargo install mdbook
- name: Build Book
run: mdbook build .
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: book # The folder the action should deploy.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.vscode/settings.json
book/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

These are my personal notes to prepare for the [LFCS](https://training.linuxfoundation.org/certification/linux-foundation-certified-sysadmin-lfcs/#exams) exam.

This repository consists of a detailed guide for each topic in the official [checklist](domains/checklist.md) of domains and competencies the candidates are requested to master in order to pass the exam.
This repository consists of a detailed guide for each topic in the official [checklist](domains/SUMMARY.md) of domains and competencies the candidates are requested to master in order to pass the exam.

These notes has been collected from a wide range of [sources](domains/references.md) available on the web and partially re-elaborated by me, plus some additional topics of interest for a developer/sysadmin (still in progress): even if you are not interested in the certification at all (but curious about `*nix` systems), you may nevertheless find useful the guides in the first domain (*Essential Commands*) since they cover the very basic commands to work inside a bash shell.

Furthermore, it contains the answers to the practice questions (tasks quite similar to the real ones in the exam) meant to help candidates prepare for the exam.

Please, note that I took into consideration only Ubuntu (18.04/20.04). Things can be different in CentOs.

<p align="center"><img src="https://images.youracclaim.com/images/1e6611ca-8afe-4ecc-ad4d-305fba52ee7e/1_LFCS-600x600.png" width="300" height="300"/></p>
<p align="center"><img src="https://images.youracclaim.com/images/1e6611ca-8afe-4ecc-ad4d-305fba52ee7e/1_LFCS-600x600.png" width="300" height="300"/></p>
12 changes: 12 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[book]
authors = ["giuliano panzironi"]
language = "en"
multilingual = false
src = "domains"
title = "Linux Foundation Certified System Administrator (LFCS) Exam Personal Notes "

[output.html]
site-url = "/lfcs/"
git-repository-url = "https://github.com/giulianopz/lfcs"
git-repository-icon = "fa-github"
edit-url-template = "https://github.com/giulianopz/lfcs/edit/main/{path} "
14 changes: 14 additions & 0 deletions domains/1-essential-commands/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 1. Essential Commands - 25%

- [Log into local & remote graphical and text mode consoles](./a.md)
- [Search for files](./b.md)
- [Evaluate and compare the basic file system features and options](./c.md)
- [Compare and manipulate file content](./d.md)
- [Use input-output redirection](./e.md)
- [Analyze text using basic regular expressions](./f.md)
- [Archive, backup, compress, unpack, and uncompress files](./g.md)
- [Create, delete, copy, and move files and directories](./h.md)
- [Create and manage hard and soft links](./i.md)
- [List, set, and change standard file permissions](./l.md)
- [Read, and use system documentation](./m.md)
- [Manage access to the root account](./n.md)
18 changes: 18 additions & 0 deletions domains/2-operation-of-running-systems/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 2. Operation of Running Systems - 20%

- [Boot, reboot, and shut down a system safely](./a.md)
- [Boot or change system into different operating modes](./b.md)
- [Install, configure and troubleshoot bootloaders](./c.md)
- [Diagnose and manage processes](./d.md)
- [Locate and analyze system log files](./e.md)
- [Schedule tasks to run at a set date and time (./cron, anacron, at)](./f.md)
- [Verify completion of scheduled jobs](./g.md)
- [Update software to provide required functionality and security](./h.md)
- [Verify the integrity and availability of resources](./i.md)
- [Verify the integrity and availability of key processes](./l.md)
- [Change kernel runtime parameters, persistent and non-persistent](./m.md)
- [Use scripting to automate system maintenance tasks](./n.md)
- [Manage the startup process and services](./o.md)
- [List and identify SELinux/AppArmor file and process contexts](./p.md)
- [Manage software](./q.md)
- [Identify the component of a Linux distribution that a file belongs to](./r.md)
9 changes: 9 additions & 0 deletions domains/3-user-and-group-management/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 3. User and Group Management - 10%

- [Create, delete, and modify local user accounts](./a.md)
- [Create, delete, and modify local groups and group memberships](./b.md)
- [Manage system-wide environment profiles](./c.md)
- [Manage template user environment](./d.md)
- [Configure user resource limits](./e.md)
- [Manage user privileges](./f.md)
- [Configure PAM](./g.md)
8 changes: 8 additions & 0 deletions domains/4-networking/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 4. Networking - 12%

- [Configure networking and hostname resolution statically or dynamically](./a.md)
- [Configure network services to start automatically at boot](./b.md)
- [Implement packet filtering (./iptables, firewalld or ufw)](./c.md)
- [Start, stop, and check the status of network services](./d.md)
- [Statically route IP traffic](./e.md)
- [Synchronize time using other network peers](./f.md)
15 changes: 15 additions & 0 deletions domains/5-service-configuration/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 5. Service Configuration - 20%

- [Configure a caching DNS server](./a.md)
- [Maintain a DNS zone](./b.md)
- [Configure email aliases](./c.md)
- [Configure SSH servers and clients](./d.md)
- [Restrict access to the HTTP proxy server](./e.md)
- [Configure an IMAP and IMAPS service](./f.md)
- [Query and modify the behavior of system services at various operating modes](./g.md)
- [Configure an HTTP server](./h.md)
- [Configure HTTP server log files](./i.md)
- [Configure a database server](./l.md)
- [Restrict access to a web page](./m.md)
- [Manage and configure containers](./n.md)
- [Manage and configure Virtual Machines](./o.md)
12 changes: 12 additions & 0 deletions domains/6-storage-management/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 6. Storage Management - 13%

- [List, create, delete, and modify physical storage partitions (./fdisk, gdisk)](./a.md)
- [Manage and configure LVM storage](./b.md)
- [Create and configure encrypted storage](./c.md)
- [Configure systems to mount file systems at or during boot](./d.md)
- [Configure and manage swap space](./e.md)
- [Create and manage RAID devices](./f.md)
- [Configure systems to mount file systems on demand](./g.md)
- [Create, manage and diagnose advanced file system permissions](./h.md)
- [Setup user and group disk quotas for filesystems](./i.md)
- [Create and configure file systems](./l.md)
32 changes: 32 additions & 0 deletions domains/7-bonus-miscellanea/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 7. Bonus/Miscellanea - 0%

- [bash](./bash.md)
- [git](./git.md)
- [Repair the GRUB from live CD or USB stick](./grub.md)
- [Install a CA certificate](./ca-certs.md)
- [Create a self-signed SSL certificate for Apache web server](./self-signed-ssl-cert.md)
- [Debugging TLS handshake issues](./tls-issues.md)
- [DNS essentials](./dns.md)
- [Network-Manager](./net-manager.md)
- [SSH-tunneling](./ssh-tunneling.md)
- [Debugging corrupted character encoding issues](./corrupted-chars.md)
- [How to test a microphone](./mic.md)
- [Automate login via SSH](./ssh-login.md)
- [How to fix low screen resolution](./edid.md)
- [Tips & tricks](./tips-tricks.md)

<!--
- vi(./m)
- tmux
- Chroot jails
- How to use Linux's built-in USB attack protection
- Repair a usb drive
- Disable ssh-login as root via PAM
- Makefile & GNU Autotools
- Manage your dotfiles with GNU stow
- Alpine e-mail setup
- GPG & SSH keys
- Troubleshooting networks
- How to handle dynamic and static libraries in Linux
- How to fix Nvidia graphics card problems
-->
95 changes: 95 additions & 0 deletions domains/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# Summary

- [Essential Commands - 25%](./1-essential-commands/README.md)
- [Log into local & remote graphical and text mode consoles](./1-essential-commands/a.md)
- [Search for files](./1-essential-commands/b.md)
- [Evaluate and compare the basic file system features and options](./1-essential-commands/c.md)
- [Compare and manipulate file content](./1-essential-commands/d.md)
- [Use input-output redirection](./1-essential-commands/e.md)
- [Analyze text using basic regular expressions](./1-essential-commands/f.md)
- [Archive, backup, compress, unpack, and uncompress files](./1-essential-commands/g.md)
- [Create, delete, copy, and move files and directories](./1-essential-commands/h.md)
- [Create and manage hard and soft links](./1-essential-commands/i.md)
- [List, set, and change standard file permissions](./1-essential-commands/l.md)
- [Read, and use system documentation](./1-essential-commands/m.md)
- [Manage access to the root account](./1-essential-commands/n.md)

- [Operation of Running Systems - 20%](./2-operation-of-running-systems/README.md)
- [Boot, reboot, and shut down a system safely](./2-operation-of-running-systems/a.md)
- [Boot or change system into different operating modes](./2-operation-of-running-systems/b.md)
- [Install, configure and troubleshoot bootloaders](./2-operation-of-running-systems/c.md)
- [Diagnose and manage processes](./2-operation-of-running-systems/d.md)
- [Locate and analyze system log files](./2-operation-of-running-systems/e.md)
- [Schedule tasks to run at a set date and time](./2-operation-of-running-systems/f.md)
- [Verify completion of scheduled jobs](./2-operation-of-running-systems/g.md)
- [Update software to provide required functionality and security](./2-operation-of-running-systems/h.md)
- [Verify the integrity and availability of resources](./2-operation-of-running-systems/i.md)
- [Verify the integrity and availability of key processes](./2-operation-of-running-systems/l.md)
- [Change kernel runtime parameters, persistent and non-persistent](./2-operation-of-running-systems/m.md)
- [Use scripting to automate system maintenance tasks](./2-operation-of-running-systems/n.md)
- [Manage the startup process and services](./2-operation-of-running-systems/o.md)
- [List and identify SELinux/AppArmor file and process contexts](./2-operation-of-running-systems/p.md)
- [Manage software](./2-operation-of-running-systems/q.md)
- [Identify the component of a Linux distribution that a file belongs to](./2-operation-of-running-systems/r.md)

- [User and Group Management - 10%](./3-user-and-group-management/README.md)
- [Create, delete, and modify local user accounts](./3-user-and-group-management/a.md)
- [Create, delete, and modify local groups and group memberships](./3-user-and-group-management/b.md)
- [Manage system-wide environment profiles](./3-user-and-group-management/c.md)
- [Manage template user environment](./3-user-and-group-management/d.md)
- [Configure user resource limits](./3-user-and-group-management/e.md)
- [Manage user privileges](./3-user-and-group-management/f.md)
- [Configure PAM](./3-user-and-group-management/g.md)

- [Networking - 12%](./4-networking/README.md)
- [Configure networking and hostname resolution statically or dynamically](./4-networking/a.md)
- [Configure network services to start automatically at boot](./4-networking/b.md)
- [Implement packet filtering (iptables, firewalld or ufw)](./4-networking/c.md)
- [Start, stop, and check the status of network services](./4-networking/d.md)
- [Statically route IP traffic](./4-networking/e.md)
- [Synchronize time using other network peers](./4-networking/f.md)

- [Service Configuration - 20%](./5-service-configuration/README.md)
- [Configure a caching DNS server](./5-service-configuration/a.md)
- [Maintain a DNS zone](./5-service-configuration/b.md)
- [Configure email aliases](./5-service-configuration/c.md)
- [Configure SSH servers and clients](./5-service-configuration/d.md)
- [Restrict access to the HTTP proxy server](./5-service-configuration/e.md)
- [Configure an IMAP and IMAPS service](./5-service-configuration/f.md)
- [Query and modify the behavior of system services at various operating modes](./5-service-configuration/g.md)
- [Configure an HTTP server](./5-service-configuration/h.md)
- [Configure HTTP server log files](./5-service-configuration/i.md)
- [Configure a database server](./5-service-configuration/l.md)
- [Restrict access to a web page](./5-service-configuration/m.md)
- [Manage and configure containers](./5-service-configuration/n.md)
- [Manage and configure Virtual Machines](./5-service-configuration/o.md)

- [Storage Management - 13%](./6-storage-management/README.md)
- [List, create, delete, and modify physical storage partitions](./6-storage-management/a.md)
- [Manage and configure LVM storage](./6-storage-management/b.md)
- [Create and configure encrypted storage](./6-storage-management/c.md)
- [Configure systems to mount file systems at or during boot](./6-storage-management/d.md)
- [Configure and manage swap space](./6-storage-management/e.md)
- [Create and manage RAID devices](./6-storage-management/f.md)
- [Configure systems to mount file systems on demand](./6-storage-management/g.md)
- [Create, manage and diagnose advanced file system permissions](./6-storage-management/h.md)
- [Setup user and group disk quotas for filesystems](./6-storage-management/i.md)
- [Create and configure file systems](./6-storage-management/l.md)

- [Bonus/Miscellanea - 0%](./7-bonus-miscellanea/README.md)
- [bash](./7-bonus-miscellanea/bash.md)
- [git](./7-bonus-miscellanea/git.md)
- [Repair the GRUB from live CD or USB stick](./7-bonus-miscellanea/grub.md)
- [Install a CA certificate](./7-bonus-miscellanea/ca-certs.md)
- [Create a self-signed SSL certificate for Apache web server](./7-bonus-miscellanea/self-signed-ssl-cert.md)
- [Debugging TLS handshake issues](./7-bonus-miscellanea/tls-issues.md)
- [DNS essentials](./7-bonus-miscellanea/dns.md)
- [Network-Manager](./7-bonus-miscellanea/net-manager.md)
- [SSH-tunneling](./7-bonus-miscellanea/ssh-tunneling.md)
- [Debugging corrupted character encoding issues](./7-bonus-miscellanea/corrupted-chars.md)
- [How to test a microphone](./7-bonus-miscellanea/mic.md)
- [Automate login via SSH](./7-bonus-miscellanea/ssh-login.md)
- [How to fix low screen resolution](./7-bonus-miscellanea/edid.md)
- [Tips & tricks](./7-bonus-miscellanea/tips-tricks.md)

- [References](./references.md)
Loading

0 comments on commit 357c632

Please sign in to comment.