Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
46832aa
New translations index.md (Ukrainian)
rockylinux-auto May 3, 2024
8dd5000
New translations 8_5.md (Ukrainian)
rockylinux-auto May 3, 2024
4422ca7
New translations lab7-the_linux_kernel.md (Ukrainian)
rockylinux-auto May 3, 2024
bb5652b
New translations nginx-multisite.md (Ukrainian)
rockylinux-auto May 3, 2024
1b50886
New translations lab3-auditing_the_system.md (Ukrainian)
rockylinux-auto May 3, 2024
ca0822d
New translations lab6-the_file_system.md (Ukrainian)
rockylinux-auto May 3, 2024
4882dbd
New translations caddy.md (Ukrainian)
rockylinux-auto May 3, 2024
8bb524a
New translations accel-ppp_pppoe_server.md (Ukrainian)
rockylinux-auto May 3, 2024
57649d6
New translations 08-management-server-optimizations.md (Italian)
rockylinux-auto May 3, 2024
57a67ad
New translations 08-check-your-knowledge.md (Italian)
rockylinux-auto May 3, 2024
c3d2b34
New translations 02-zfs_setup.md (Italian)
rockylinux-auto May 3, 2024
6491c8f
New translations 03-lxdinit.md (Italian)
rockylinux-auto May 3, 2024
95b76ef
New translations 05-lxd_images.md (Italian)
rockylinux-auto May 3, 2024
ecf9892
New translations 09-snapshot_server.md (Italian)
rockylinux-auto May 3, 2024
2625b52
New translations 10-automating.md (Italian)
rockylinux-auto May 3, 2024
660ea2f
New translations torsocks.md (Italian)
rockylinux-auto May 3, 2024
6221c28
New translations 08-management-server-optimizations.md (Ukrainian)
rockylinux-auto May 3, 2024
fd14b02
New translations 08-check-your-knowledge.md (Ukrainian)
rockylinux-auto May 3, 2024
1b088e5
New translations 02-zfs_setup.md (Ukrainian)
rockylinux-auto May 3, 2024
d93ca6f
New translations 03-lxdinit.md (Ukrainian)
rockylinux-auto May 3, 2024
b858c8d
New translations 05-lxd_images.md (Ukrainian)
rockylinux-auto May 3, 2024
f6c36f4
New translations 09-snapshot_server.md (Ukrainian)
rockylinux-auto May 3, 2024
67bbacd
New translations 10-automating.md (Ukrainian)
rockylinux-auto May 3, 2024
ce134cc
New translations torsocks.md (Ukrainian)
rockylinux-auto May 3, 2024
7430506
New translations learning_selinux.md (Ukrainian)
rockylinux-auto May 3, 2024
b77d2f0
New translations vbox-rocky.md (Ukrainian)
rockylinux-auto May 3, 2024
6db4948
New translations apache-sites-enabled.md (Ukrainian)
rockylinux-auto May 3, 2024
b381436
New translations firewalld-beginners.md (Ukrainian)
rockylinux-auto May 3, 2024
3978581
New translations dnf_automatic.md (Ukrainian)
rockylinux-auto May 3, 2024
752ad09
New translations generating_ssl_keys_lets_encrypt.md (Ukrainian)
rockylinux-auto May 3, 2024
bff3765
New translations index.md (Ukrainian)
rockylinux-auto May 3, 2024
9697020
New translations enabling_iptables_firewall.md (Ukrainian)
rockylinux-auto May 3, 2024
9eee2a6
New translations basic_network_configuration.md (Ukrainian)
rockylinux-auto May 3, 2024
bc22abc
New translations librenms_monitoring_server.md (Ukrainian)
rockylinux-auto May 3, 2024
c8b3787
New translations package_build_troubleshooting.md (Ukrainian)
rockylinux-auto May 3, 2024
d2b1d1e
New translations package_debranding.md (Ukrainian)
rockylinux-auto May 3, 2024
ea68607
New translations package_dev_start.md (Ukrainian)
rockylinux-auto May 3, 2024
3131466
New translations haproxy_apache_lxd.md (Ukrainian)
rockylinux-auto May 3, 2024
7c06ea2
New translations i2pd.md (Ukrainian)
rockylinux-auto May 3, 2024
6757c4e
New translations migration-to-new-azure-images.md (Ukrainian)
rockylinux-auto May 3, 2024
f790704
New translations index.md (French)
rockylinux-auto May 4, 2024
f939fe4
New translations mkdocs_venv.md (Italian)
rockylinux-auto May 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/books/index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ Nos livres au format PDF peuvent être téléchargés pour une lecture hors-lign

### The Three Swordsmen

* [Anglais](https://rocky-linux.github.io/documentation/Sed_Awk_Grep_TheTreeSwordsmen.pdf)
* [Anglais](https://rocky-linux.github.io/documentation/Sed_Awk_Grep_TheThreeSwordmen.pdf)
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Raccogliere fatti è un processo che può richiedere un certo tempo. Può essere

Questi fatti possono essere facilmente memorizzati in un database `redis`:

```
```bash
sudo yum install redis
sudo systemctl start redis
sudo systemctl enable redis
Expand All @@ -42,15 +42,15 @@ sudo pip3 install redis

Non dimenticate di modificare la configurazione ansibile:

```
```bash
fact_caching = redis
fact_caching_timeout = 86400
fact_caching_connection = localhost:6379:0
```

Per controllare il corretto funzionamento, è sufficiente richiedere il server `redis`:

```
```bash
redis-cli
127.0.0.1:6379> keys *
127.0.0.1:6379> get ansible_facts_SERVERNAME
Expand All @@ -68,26 +68,26 @@ Ansible sarà in grado di decifrare questo file durante l'esecuzione recuperando

Modifica il file `/etc/ansible/ansible.cfg`:

```
```bash
#vault_password_file = /path/to/vault_password_file
vault_password_file = /etc/ansible/vault_pass
```

Memorizza la password in questo file `/etc/ansible/vault_pass` e assegna i diritti restrittivi necessari:

```
```bash
mysecretpassword
```

È quindi possibile crittografare i file con il comando:

```
```bash
ansible-vault encrypt myfile.yml
```

Un file crittografato `ansible-vault` può essere facilmente riconosciuto dall'intestazione:

```
```text
$ANSIBLE_VAULT;1.1;AES256
35376532343663353330613133663834626136316234323964333735363333396136613266383966
6664322261633261356566383438393738386165333966660a343032663233343762633936313630
Expand All @@ -98,15 +98,15 @@ $ANSIBLE_VAULT;1.1;AES256

Una volta cifrato, un file, esso può ancora essere modificato con il comando:

```
```bash
ansible-vault edit myfile.yml
```

È inoltre possibile esportare la tua password di archiviazione in qualsiasi password manager.

Ad esempio, per recuperare una password che dovrebbe essere memorizzata nel rundeck vault:

```
```python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import urllib.request
Expand Down Expand Up @@ -141,13 +141,13 @@ Sarà necessario installare sul server di gestione parecchi pacchetti:

* Attraverso il gestore dei pacchetti:

```
```bash
sudo dnf install python38-devel krb5-devel krb5-libs krb5-workstation
```

e configurare il file `/etc/krb5.conf` per specificare il corretto `realms`:

```
```bash
[realms]
ROCKYLINUX.ORG = {
kdc = dc1.rockylinux.org
Expand All @@ -159,7 +159,7 @@ ROCKYLINUX.ORG = {

* Tramite il gestore di pacchetti python:

```
```bash
pip3 install pywinrm
pip3 install pywinrm[credssp]
pip3 install kerberos requests-kerberos
Expand All @@ -169,32 +169,32 @@ pip3 install kerberos requests-kerberos

I moduli di rete di solito richiedono il modulo python `netaddr`:

```
```bash
sudo pip3 install netaddr
```

## Generazione di un CMDB

Uno strumento, `ansible-cmdb` è stato sviluppato per generare un CMDB da ansibile.

```
```bash
pip3 install ansible-cmdb
```

I fatti devono essere esportati con il seguente comando:

```
```bash
ansible --become --become-user=root -o -m setup --tree /var/www/ansible/cmdb/out/
```

Puoi quindi generare un file globale `json`:

```
```bash
ansible-cmdb -t json /var/www/ansible/cmdb/out/linux > /var/www/ansible/cmdb/cmdb-linux.json
```

Se preferisci un'interfaccia web:

```
```bash
ansible-cmdb -t html_fancy_split /var/www/ansible/cmdb/out/
```
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ update: 06 грудня 2021 року

Ці факти можна легко зберегти в базі даних `redis`:

```
```bash
sudo yum install redis
sudo systemctl start redis
sudo systemctl enable redis
Expand All @@ -42,15 +42,15 @@ sudo pip3 install redis

Не забудьте змінити конфігурацію ansible:

```
```bash
fact_caching = redis
fact_caching_timeout = 86400
fact_caching_connection = localhost:6379:0
```

Щоб перевірити правильність роботи, достатньо запитати сервер `redis`:

```
```bash
redis-cli
127.0.0.1:6379> keys *
127.0.0.1:6379> get ansible_facts_SERVERNAME
Expand All @@ -68,26 +68,26 @@ Ansible зможе розшифрувати цей файл під час вик

Відредагуйте файл `/etc/ansible/ansible.cfg`:

```
```bash
#vault_password_file = /path/to/vault_password_file
vault_password_file = /etc/ansible/vault_pass
```

Збережіть пароль у цьому файлі `/etc/ansible/vault_pass` і призначте необхідні обмежувальні права:

```
```bash
mysecretpassword
```

Потім ви можете зашифрувати файли за допомогою команди:

```
```bash
ansible-vault encrypt myfile.yml
```

Файл, зашифрований `ansible-vault`, можна легко розпізнати за його заголовком:

```
```text
$ANSIBLE_VAULT;1.1;AES256
35376532343663353330613133663834626136316234323964333735363333396136613266383966
6664322261633261356566383438393738386165333966660a343032663233343762633936313630
Expand All @@ -98,15 +98,15 @@ $ANSIBLE_VAULT;1.1;AES256

Після того, як файл зашифровано, його все ще можна редагувати за допомогою команди:

```
```bash
ansible-vault edit myfile.yml
```

Ви також можете перенести своє зберігання паролів у будь-який менеджер паролів.

Наприклад, щоб отримати пароль, який зберігатиметься в сховищі rundeck:

```
```python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import urllib.request
Expand Down Expand Up @@ -141,13 +141,13 @@ if __name__ == '__main__':

* Через менеджер пакетів:

```
```bash
sudo dnf install python38-devel krb5-devel krb5-libs krb5-workstation
```

і налаштуйте файл `/etc/krb5.conf`, щоб указати правильні `realms`:

```
```bash
[realms]
ROCKYLINUX.ORG = {
kdc = dc1.rockylinux.org
Expand All @@ -159,7 +159,7 @@ ROCKYLINUX.ORG = {

* Через менеджер пакетів python:

```
```bash
pip3 install pywinrm
pip3 install pywinrm[credssp]
pip3 install kerberos requests-kerberos
Expand All @@ -169,32 +169,32 @@ pip3 install kerberos requests-kerberos

Для мережевих модулів зазвичай потрібен модуль python `netaddr`:

```
```bash
sudo pip3 install netaddr
```

## Створення CMDB

Інструмент `ansible-cmdb` був розроблений для створення CMDB з ansible.

```
```bash
pip3 install ansible-cmdb
```

Факти повинні бути експортовані ansible за допомогою наступної команди:

```
```bash
ansible --become --become-user=root -o -m setup --tree /var/www/ansible/cmdb/out/
```

Потім ви можете створити глобальний файл `json`:

```
```bash
ansible-cmdb -t json /var/www/ansible/cmdb/out/linux > /var/www/ansible/cmdb/cmdb-linux.json
```

Якщо ви віддаєте перевагу веб-інтерфейсу:

```
```bash
ansible-cmdb -t html_fancy_split /var/www/ansible/cmdb/out/
```
4 changes: 2 additions & 2 deletions docs/books/learning_bash/08-check-your-knowledge.it.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ tags:

:heavy_check_mark: La sintassi della struttura condizionale sottostante vi sembra corretta? Spiegare perché.

```
```bash
if command
command if $?=0
else
Expand All @@ -60,7 +60,7 @@ fi

:heavy_check_mark: La sintassi della struttura alternativa condizionale qui sotto vi sembra corretta? Spiegare perché.

```
```bash
case $variable in
value1)
commands if $variable = value1
Expand Down
4 changes: 2 additions & 2 deletions docs/books/learning_bash/08-check-your-knowledge.uk.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ tags:

:heavy_check_mark: Синтаксис наведеної нижче умовної структури здається вам правильним? Поясніть чому.

```
```bash
if command
command if $?=0
else
Expand All @@ -60,7 +60,7 @@ fi

:heavy_check_mark: Синтаксис наведеної нижче умовної альтернативної структури здається вам правильним? Поясніть чому.

```
```bash
case $variable in
value1)
commands if $variable = value1
Expand Down
8 changes: 4 additions & 4 deletions docs/books/lxd_server/02-zfs_setup.it.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ Se avete già installato ZFS, questa sezione vi guiderà nella configurazione di

Per prima cosa, inserite questo comando:

```
```bash
/sbin/modprobe zfs
```

Se non ci sono errori, si ritorna al prompt e non viene emesso alcun eco. Se si verifica un errore, interrompere subito e iniziare la risoluzione dei problemi. Anche in questo caso, assicuratevi che il secure boot sia disattivato. Questo sarà il colpevole più probabile.

Successivamente è necessario esaminare i dischi del sistema, scoprire dove si trova il sistema operativo e quali sono disponibili per il pool ZFS. Lo si farà con `lsblk`:

```
```bash
lsblk
```

Che restituirà qualcosa di simile (il vostro sistema sarà diverso!):

```
```bash
AME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 32.3M 1 loop /var/lib/snapd/snap/snapd/11588
loop1 7:1 0 55.5M 1 loop /var/lib/snapd/snap/core18/1997
Expand All @@ -55,7 +55,7 @@ In questo elenco, si può notare che */dev/sda* è utilizzato dal sistema operat

Questo aspetto esula dall'ambito di questo documento, ma è sicuramente da prendere in considerazione per la produzione. Offre migliori prestazioni e ridondanza. Per ora, create il vostro pool sul singolo dispositivo che avete identificato:

```
```bash
zpool create storage /dev/sdb
```

Expand Down
8 changes: 4 additions & 4 deletions docs/books/lxd_server/02-zfs_setup.uk.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ tags:

Спочатку введіть цю команду:

```
```bash
/sbin/modprobe zfs
```

Якщо помилок немає, він повернеться до підказки та нічого не повторить. Якщо ви отримали помилку, зупиніться зараз і почніть усунення несправностей. Знову переконайтеся, що безпечне завантаження вимкнено. Це буде найімовірнішим винуватцем.

Далі нам потрібно поглянути на диски в нашій системі, визначити, яка на них завантажена ОС і що можна використовувати для пулу ZFS. Ви зробите це за допомогою `lsblk`:

```
```bash
lsblk
```

Що має повернути щось на зразок цього (ваша система буде іншою!):

```
```bash
AME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 32.3M 1 loop /var/lib/snapd/snap/snapd/11588
loop1 7:1 0 55.5M 1 loop /var/lib/snapd/snap/core18/1997
Expand All @@ -55,7 +55,7 @@ sdc 8:32 0 149.1G 0 disk

Це виходить за рамки цього документа, але безумовно розглядається для виробництва. Він пропонує кращу продуктивність і резервування. Наразі створіть свій пул на одному пристрої, який ви визначили:

```
```bash
zpool create storage /dev/sdb
```

Expand Down
Loading