| It is therefore forbidden to install X.org or any other equivalent graphics server. Otherwise, your grade will be 0. | Запрещено устанавливать X.org или любой другой графический сервер. В противном случае ваша оценка будет 0. |
|---|---|
| You must choose as an operating system either the latest stable version of Debian (no testing/unstable), or the latest stable version of CentOS. Debian is highly recommended if you are new to system administration. | Вы должны выбрать в качестве операционной системы последнюю стабильную версию Debian, либо последнюю стабильную версию CentOS. Debian настоятельно рекомендуется |
| Setting up CentOS is quite complex. Therefore, you don’t have to | |
| set up KDump. However, SELinux must be running at startup and its | |
| configuration has to be adapted for the project’s needs. | Если выбрать CentOS, то ненужно настраивать KDump. Но нужно настроить SELinux и поставить на автозагрузку. |
| AppArmor for Debian must be running at startup too. | AppArmor для Debian должен быть запущен при запуске. |
| You must create at least 2 encrypted partitions using LVM. Below is an example of the expected partitioning: | Вы должны создать по крайней мере 2 зашифрованных раздела с помощью LVM. |
| Ниже приведен пример: |

| During the defense, you will be asked a few questions about the
| operating system you chose. | Почему Вы выбрали именно эту операционную систему? |
|---|---|
| For instance, you should know the differences between aptitude and apt, or what SELinux or AppArmor is. | |
| In short, understand what you use! | Вы должны знать различия между aptitude и apt, SELinux и AppArmor. |
| Короче поймите, чем пользуетесь! | |
| A SSH service will be running on port 4242 only. For security reasons, it must not be possible to connect using SSH as root. | Служба SSH должна работать только на порту 4242. |
| Нужно запретить подключатся пользователю root по SSH. | |
| The use of SSH will be tested during the defense by setting up a new | |
| account. You must therefore understand how it works. | Нужно создать нового пользователя и подключится через него по SSH. |
| You have to configure your operating system with the UFW firewall and thus leave only port 4242 open. | Настроить брандмауэр UFW. |
| Оставить открытым только порт 4242 | |
| брандмауэр должен быть активен при запуске виртуальной машины. | |
| For CentOS, you have to use UFW instead of the default firewall. | |
| Toinstall it, you will probably need DNF. | Для CentOS вы должны использовать UFW вместо брандмауэра по умолчанию. |
| Для установки понадобится DNF. | |
| The hostname of your virtual machine must be your login ending with 42 (e.g., wil42). You will have to modify this hostname during your valuation. | |
| Хостнейм должен быть логином, заканчивающимся на 42 например wil42. | |
| Хостнейм нужно поменять во время проверки. | |
| **You have to implement a strong password policy: | |
| -** *Your password has to expire every 30 days. |

| Below are two commands you can use to check some of the subject’s requirements: | Ниже приведены две команды, которые можно использовать для проверки некоторых требований: |
|---|
For CentOS:

For Debian:

| Set up partitions correctly so you get a structure similar to the one below: | Правильно настройте разделы, чтобы получить структуру, аналогичную приведенной ниже: |
|---|---|
| Set up a functional WordPress website with the following services: lighttpd, MariaDB, and PHP. | Создайте функциональный веб-сайт WordPress со следующими сервисами: lighttpd, Mari- |
| aDB и PHP. | |
| Set up a service of your choice that you think is useful (NGINX / Apache2 ex- | |
| cluded!). During the defense, you will have to justify your choice. | Настройте услугу по вашему выбору, которая, по вашему мнению, полезна (включая NGINX / Apache2 |
| During the defense, you will have to justify your choice. | Во время защиты вам придется обосновать свой выбор. |
| To complete the bonus part, you have the possibility to set up extra services. In this case, you may open more ports to suit your needs. | |
| Of course, the UFW rules has to be adapted accordingly. | Чтобы завершить бонусную часть, разрешается открыть больше портов в UFW |
| The bonus part will only be assessed if the mandatory part is PERFECT. Perfect means the mandatory part has been integrally done | |
| and works without malfunctioning. If you have not passed ALL the mandatory requirements, your bonus part will not be evaluated at all. | Бонусная часть будет начисляться только в том случае, если обязательная часть Идеальный. Идеально означает, что обязательная часть была выполнена полностью и работает без сбоев. Если вы не прошли ВСЕ обязательные требования, ваша бонусная часть вообще не будет оцениваться. |
| You only have to turn in a signature.txt file at the root of your Git repository. | Вам нужно только сдать signature.txt файл в корневом каталоге вашего репозитория Git. |
|---|---|
| You must paste in it the signature of your machine’s virtual disk. | Вы должны вставить в него подпись виртуального диска вашей машины. |
| To get this signature: | |
| shasum centos_serv.vdi | Получи хешсумму командой: |
| shasum centos_serv.vdi | |
| If the two of them are not identical, your grade will be 0. | Если подписи не идентичны, ваша оценка будет равна 0. |