---
# System prepended metadata

title: Untitled

---

Практическая работа 2.1

1 Команда df 

![](https://i.imgur.com/Jx0qEFY.png)

2 Команда du

![](https://i.imgur.com/ARxC4ot.png)

Команда du -sh
![](https://i.imgur.com/96RpACi.png)

Команда du -sh --apparent-size
![](https://i.imgur.com/r62Mh3u.png)

3 Команда free

![](https://i.imgur.com/xEYbqDe.png)

4 Команда iostat

![](https://i.imgur.com/xbZnQdB.png)

5 Команда mpstat
![](https://i.imgur.com/geVPrZs.png)
6 Команда vmstat
![](https://i.imgur.com/zuil8h4.png)
7 Команда w
![](https://i.imgur.com/gk0EHWU.png)
w -h
![](https://i.imgur.com/8fj5wNa.png)
w -s
![](https://i.imgur.com/3pMwHt9.png)
w -f
![](https://i.imgur.com/O32JtuA.png)
w -i
![](https://i.imgur.com/NFzpDI1.png)
w -o
![](https://i.imgur.com/VvTIwvT.png)

8 Команда htop
![](https://i.imgur.com/jGXVwKb.png)

Практическая работа 2.2

1 Установка пакетов SSH

![](https://i.imgur.com/OC37ki1.png)

![](https://i.imgur.com/EsDNC0p.png)

2 Настройка SSH

![](https://i.imgur.com/YrZ8tjM.png)

![](https://i.imgur.com/BEWaneU.png)

![](https://i.imgur.com/SEnUvV2.png)

![](https://i.imgur.com/83uJBtb.png)

порт 2222

![](https://i.imgur.com/aO7Bvmf.png)

![](https://i.imgur.com/EMgaZta.png)

Подключение по порту 2222

![](https://i.imgur.com/gmnzhBq.png)



3 Настройка и использование клиента SSH

![](https://i.imgur.com/7UE60EC.png)

![](https://i.imgur.com/FsBwXu5.png)

![](https://i.imgur.com/8nEFLwl.png)

![](https://i.imgur.com/yTl6Zua.png)

![](https://i.imgur.com/WSzaUII.png)

![](https://i.imgur.com/GEDVGP0.png)

4 генерации ключей

![](https://i.imgur.com/x79xqtL.png)

![](https://i.imgur.com/uotxZfQ.png)

Практическая работа 2.3

1 Создание ключей SSH

![](https://i.imgur.com/d4azXQU.png)

![](https://i.imgur.com/iMKjWQ2.png)

2 Как скопировать открытый ключ на ваш сервер

![](https://i.imgur.com/hNiLegZ.png)

3 Аутентификация на сервере с использованием ключей SSH

![](https://i.imgur.com/PQKQ15a.png)

4 Отключим аутентификацию с помощью пароля на сервере

![](https://i.imgur.com/h4A8yX9.png)

![](https://i.imgur.com/FTiSr2Q.png)

![](https://i.imgur.com/U1Flp18.png)

5 подключение без пароля

![](https://i.imgur.com/G4tfXtR.png)

Практическая работа 2.4

1 Базовый сбор информации

![](https://i.imgur.com/8Uf3jmS.png)

![](https://i.imgur.com/zBjiEvk.png)

2 Суидные файлы

![](https://i.imgur.com/Ocz5JsF.png)

![](https://i.imgur.com/R5AaH47.png)

![](https://i.imgur.com/yby4Jtk.png)

![](https://i.imgur.com/SNFtXM8.png)

3 Проверка целостностей пакетов

![](https://i.imgur.com/TP3kQ9M.png)

![](https://i.imgur.com/KLzy9OW.png)

![](https://i.imgur.com/oAKwk9X.png)

![](https://i.imgur.com/HkpKWGX.png)

![](https://i.imgur.com/aHiOgTU.png)

![](https://i.imgur.com/sGC9pPv.png)

![](https://i.imgur.com/ss2E1Pn.png)

![](https://i.imgur.com/ZxgQO8V.png)

Практическая работа 2.5

![](https://i.imgur.com/1NPdo9P.png)

![](https://i.imgur.com/yLfuLN5.png)

![](https://i.imgur.com/LyEqBZw.png)

![](https://i.imgur.com/b5Hk5pM.png)

![](https://i.imgur.com/0rGfL1z.png)

![](https://i.imgur.com/TcWQiUi.png)

![](https://i.imgur.com/EZdDYI0.png)
