{"id":37670,"date":"2025-03-07T16:46:51","date_gmt":"2025-03-07T14:46:51","guid":{"rendered":"https:\/\/itedu.center\/ua\/blog\/?p=37670"},"modified":"2025-03-07T16:46:52","modified_gmt":"2025-03-07T14:46:52","slug":"5-realnykh-vyklykiv-pry-roboti-z-linux-ta-yak-yikh-vypravyty","status":"publish","type":"post","link":"https:\/\/itedu.center\/ua\/blog\/guides\/5-realnykh-vyklykiv-pry-roboti-z-linux-ta-yak-yikh-vypravyty\/","title":{"rendered":"5 \u0440\u0435\u0430\u043b\u044c\u043d\u0438\u0445 \u0432\u0438\u043a\u043b\u0438\u043a\u0456\u0432 \u043f\u0440\u0438 \u0440\u043e\u0431\u043e\u0442\u0456 \u0437 Linux \u0442\u0430 \u044f\u043a \u0457\u0445 \u0432\u0438\u043f\u0440\u0430\u0432\u0438\u0442\u0438"},"content":{"rendered":"\n<p>Linux \u2014 \u0446\u0435 \u044f\u043a \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438\u0439 \u043e\u043a\u0435\u0430\u043d: \u0456\u043d\u043e\u0434\u0456 \u0432\u043e\u0434\u0430 \u0442\u0438\u0445\u0430, \u0430 \u0456\u043d\u043a\u043e\u043b\u0438 \u0448\u0442\u043e\u0440\u043c\u0438\u0442\u044c \u0442\u0430\u043a, \u0449\u043e \u0437\u0434\u0430\u0454\u0442\u044c\u0441\u044f, \u043d\u0456\u0431\u0438 \u043e\u0441\u044c-\u043e\u0441\u044c \u0437\u0430\u0442\u044f\u0433\u043d\u0435 \u0443 \u0432\u0438\u0440. \u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0440\u0430\u043f\u0442\u043e\u043c \u0433\u0430\u043b\u044c\u043c\u0443\u0454, \u0444\u0430\u0439\u043b\u0438 \u0437\u043d\u0438\u043a\u0430\u044e\u0442\u044c, \u043c\u0435\u0440\u0435\u0436\u0430 \u043f\u043e\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u044f\u043a\u043e\u0441\u044c \u0434\u0438\u0432\u043d\u043e\u2026<\/p>\n\n\n\n<p>\u0417\u043d\u0430\u0439\u043e\u043c\u043e? \u0421\u043f\u043e\u043a\u0456\u0439\u043d\u043e, \u0446\u0435 \u043d\u0435 \u043a\u0430\u0442\u0430\u0441\u0442\u0440\u043e\u0444\u0430 \u2014 \u0446\u0435 \u0432\u0438\u043a\u043b\u0438\u043a. \u0410 \u0437\u043d\u0430\u0447\u0438\u0442\u044c, \u0454 \u0448\u0430\u043d\u0441 \u043f\u0440\u043e\u043a\u0430\u0447\u0430\u0442\u0438 \u043d\u0430\u0432\u0438\u0447\u043a\u0438 \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 Linux.\u00a0<\/p>\n\n\n\n<p>\u041c\u0438 \u0437\u0456\u0431\u0440\u0430\u043b\u0438 5 \u043d\u0430\u0439\u043f\u043e\u0448\u0438\u0440\u0435\u043d\u0456\u0448\u0438\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0457\u0432 \u043d\u0435\u0441\u043f\u0440\u0430\u0432\u043d\u043e\u0441\u0442\u0435\u0439 \u0456 \u043f\u043e\u043a\u0440\u043e\u043a\u043e\u0432\u0456 \u0440\u0456\u0448\u0435\u043d\u043d\u044f, \u044f\u043a\u0456 \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0443\u0442\u044c \u0432\u0438\u0440\u0456\u0448\u0438\u0442\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0456\u044e \u0442\u0430 \u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u0456\u0434 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u043c. \u0411\u0435\u0437 \u0432\u043e\u0434\u0438, \u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438 \u0442\u0430 \u043e\u043f\u0438\u0441\u043e\u043c \u043a\u043e\u0436\u043d\u043e\u0433\u043e \u0435\u0442\u0430\u043f\u0443.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0439 1: <\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">\u0423\u043f\u0441, \u0432\u0438\u043f\u0430\u0434\u043a\u043e\u0432\u043e \u0432\u0438\u0434\u0430\u043b\u0438\u0432 \u0432\u0430\u0436\u043b\u0438\u0432\u0438\u0439 \u0444\u0430\u0439\u043b \u0443 Linux<\/h2>\n\n\n\n<p>\u0412\u0441\u0456 \u0431\u0443\u043b\u0438 \u0432 \u0442\u0430\u043a\u0456\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0456\u0457: \u0437\u0430\u043c\u0456\u0441\u0442\u044c<strong> <em>rm myfile.txt<\/em><\/strong> \u0432\u0438\u043f\u0430\u0434\u043a\u043e\u0432\u043e <em><strong>rm -rf \u043c\u0456\u0439_\u043f\u0440\u043e\u0454\u043a\u0442<\/strong><\/em>, \u0456 \u043e\u0441\u044c \u0443\u0436\u0435 \u0442\u0435\u0440\u043c\u0456\u043d\u0430\u043b \u043c\u043e\u0432\u0447\u0438\u0442\u044c, \u0430 \u0432\u0430\u0436\u043b\u0438\u0432\u0438\u0439 \u0444\u0430\u0439\u043b \u0437\u043d\u0438\u043a. \u0423 Windows \u0442\u0438 \u0431 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0456\u0434\u043a\u0440\u0438\u0432 \u043a\u043e\u0448\u0438\u043a, \u0430\u043b\u0435 \u0432 Linux \u0442\u0430\u043a\u043e\u0433\u043e \u043d\u0435\u043c\u0430\u0454. \u041f\u0440\u043e\u0442\u0435 \u0454 \u0441\u043f\u043e\u0441\u043e\u0431\u0438 \u0432\u0456\u0434\u043d\u043e\u0432\u0438\u0442\u0438 \u0444\u0430\u0439\u043b\u0438, \u0456 \u043d\u0430\u0439\u043a\u0440\u0430\u0449\u0438\u0439 \u043f\u0456\u0434\u0445\u0456\u0434 \u0437\u0430\u043b\u0435\u0436\u0438\u0442\u044c \u0432\u0456\u0434 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0457 \u0441\u0438\u0441\u0442\u0435\u043c\u0438.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0412\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0456\u0432 \u0443 EXT3\/EXT4<\/strong><\/h4>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u0434\u0438\u0441\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 EXT3 \u0430\u0431\u043e EXT4, \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0435 \u0443\u0442\u0438\u043b\u0456\u0442\u0430 <strong>extundelete<\/strong>. \u0410\u043b\u0435 \u0454 \u0432\u0430\u0436\u043b\u0438\u0432\u0438\u0439 \u043d\u044e\u0430\u043d\u0441: \u043f\u0435\u0440\u0435\u0434 \u043f\u043e\u0447\u0430\u0442\u043a\u043e\u043c \u0432\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0440\u043e\u0437\u0434\u0456\u043b \u0442\u0440\u0435\u0431\u0430 <em>\u0432\u0456\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0438<\/em>, \u0449\u043e\u0431 \u0443\u043d\u0438\u043a\u043d\u0443\u0442\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0443 \u0432\u0438\u0434\u0430\u043b\u0435\u043d\u0438\u0445 \u0434\u0430\u043d\u0438\u0445.<\/p>\n\n\n\n<p><strong>1. \u0412\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0454\u043c\u043e extundelete:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install extundelete&nbsp; # \u0434\u043b\u044f Debian-based \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456\u0432<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo yum install extundelete\u00a0 # \u0434\u043b\u044f RHEL-based \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456\u0432<\/code><\/pre>\n\n\n\n<p><strong>2. \u0412\u0456\u0434\u043a\u043b\u044e\u0447\u0430\u0454\u043c\u043e \u0440\u043e\u0437\u0434\u0456\u043b (\u0437\u0430\u043c\u0456\u043d\u044e\u0454\u043c\u043e \/dev\/sdX \u043d\u0430 \u0441\u0432\u0456\u0439):<\/strong><br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo umount \/dev\/sdX<\/code><\/pre>\n\n\n\n<p><strong>3. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0454\u043c\u043e \u0432\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0432\u0441\u0456\u0445 \u0444\u0430\u0439\u043b\u0456\u0432:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo extundelete \/dev\/sdX --restore-all<\/code><\/pre>\n\n\n\n<p>\u041f\u0456\u0441\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u0437\u043d\u0430\u0439\u0434\u0435\u043d\u0456 \u0444\u0430\u0439\u043b\u0438 \u0437\u2019\u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0457 <strong>RECOVERED_FILES<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0412\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0456\u0432 \u0443 XFS, Btrfs \u0430\u0431\u043e NTFS<\/strong><\/h4>\n\n\n\n<p>\u0422\u0443\u0442 <strong>extundelete<\/strong> \u043d\u0435 \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0435, \u0437\u0430\u0442\u0435 \u0454 \u043f\u043e\u0442\u0443\u0436\u043d\u0438\u0439 \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/TestDisk\" target=\"_blank\" rel=\"noopener nofollow\" title=\"testdisk\" data-wpel-link=\"external\">testdisk<\/a><\/strong>.<\/p>\n\n\n\n<p><strong>1. \u0412\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0454\u043c\u043e:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install testdisk&nbsp; # \u0434\u043b\u044f Debian-based<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo yum install testdisk&nbsp; # \u0434\u043b\u044f RHEL-based<\/code><\/pre>\n\n\n\n<p><strong>2. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0454\u043c\u043e testdisk:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo testdisk<\/code><\/pre>\n\n\n\n<p><strong>3. \u0421\u043b\u0456\u0434\u0443\u0454\u043c\u043e \u0456\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0456\u044f\u043c \u043d\u0430 \u0435\u043a\u0440\u0430\u043d\u0456, \u0449\u043e\u0431 \u0437\u043d\u0430\u0439\u0442\u0438 \u0442\u0430 \u0432\u0456\u0434\u043d\u043e\u0432\u0438\u0442\u0438 \u0444\u0430\u0439\u043b\u0438.<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">\u042f\u043a \u043d\u0435 \u043d\u0430\u0441\u0442\u0443\u043f\u0430\u0442\u0438 \u043d\u0430 \u0442\u0456 \u0436 \u0433\u0440\u0430\u0431\u043b\u0456?<\/h5>\n\n\n\n<p><strong>1. \u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439 trash-cli:<\/strong> \u0437\u0430\u043c\u0456\u0441\u0442\u044c <strong>rm<\/strong>, \u0449\u043e\u0431 \u043c\u0430\u0442\u0438 \u00ab\u043a\u043e\u0448\u0438\u043a\u00bb:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install trash-cli&nbsp;&nbsp;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>trash-put \u0432\u0430\u0436\u043b\u0438\u0432\u0438\u0439_\u0444\u0430\u0439\u043b.txt&nbsp;&nbsp;<\/code><\/pre>\n\n\n\n<p><strong>2. \u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0439 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0456 \u043a\u043e\u043f\u0456\u0457:<\/strong> <strong>rsync<\/strong> \u0430\u0431\u043e <strong>Timeshift<\/strong> \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0443\u0442\u044c \u0443\u043d\u0438\u043a\u043d\u0443\u0442\u0438 \u0442\u0430\u043a\u0438\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u0456\u0432.<br><br>\u0413\u043e\u043b\u043e\u0432\u043d\u0435 \u2014 \u043d\u0435 \u043f\u0430\u043d\u0456\u043a\u0443\u0432\u0430\u0442\u0438. \u0410 \u044f\u043a\u0449\u043e \u0432\u0438\u0434\u0430\u043b\u0438\u0432 \u0444\u0430\u0439\u043b \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0456\u0439 \u0437\u0430 \u0456\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0456\u0454\u044e.<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0439 2: <\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">\u041e\u0442 \u0445\u0430\u043b\u0435\u043f\u0430, \u0437\u0430\u0431\u0443\u0432 root-\u043f\u0430\u0440\u043e\u043b\u044c \u0443 Linux<\/h2>\n\n\n\n<p>\u0412\u0441\u0456 \u043c\u0438 \u043b\u044e\u0434\u0438 \u2014 \u0431\u0443\u0432\u0430\u0454, \u0449\u043e \u043f\u0430\u0440\u043e\u043b\u044c \u0432\u0456\u0434 root \u0432\u0438\u043b\u0456\u0442\u0430\u0454 \u0437 \u0433\u043e\u043b\u043e\u0432\u0438. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430? \u041d\u0456, \u0447\u0435\u0440\u0433\u043e\u0432\u0438\u0439 \u0432\u0438\u043a\u043b\u0438\u043a.&nbsp;<\/p>\n\n\n\n<p>\u0411\u0435\u0437 root-\u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0442\u0438 \u043d\u0435 \u0437\u043c\u043e\u0436\u0435\u0448 \u0437\u043c\u0456\u043d\u0438\u0442\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0456 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f, \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0432\u0430\u0442\u0438 \u043f\u0430\u043a\u0435\u0442\u0438 \u0447\u0438 \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u0438\u0445 \u0444\u0430\u0439\u043b\u0456\u0432. \u0410\u043b\u0435 \u043d\u0435 \u0445\u0432\u0438\u043b\u044e\u0439\u0441\u044f \u2014 Linux \u0437\u0430\u0432\u0436\u0434\u0438 \u043c\u0430\u0454 \u043f\u043b\u0430\u043d \u0411. \u041e\u0441\u044c \u044f\u043a \u0441\u043a\u0438\u043d\u0443\u0442\u0438 root-\u043f\u0430\u0440\u043e\u043b\u044c \u0442\u0430 \u043f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438 \u0441\u043e\u0431\u0456 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043d\u0430\u0434 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u044e.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0412\u0430\u0440\u0456\u0430\u043d\u0442 1: \u0421\u043a\u0438\u0434\u0430\u043d\u043d\u044f \u043f\u0430\u0440\u043e\u043b\u044f \u0447\u0435\u0440\u0435\u0437 Recovery Mode (Ubuntu\/Debian)<\/strong><\/h4>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0448 Ubuntu \u0430\u0431\u043e Debian, \u043c\u043e\u0436\u043d\u0430 \u0441\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0442\u0438\u0441\u044f Recovery Mode.<\/p>\n\n\n\n<p><strong>1. \u041f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0443\u0454\u0448 \u0441\u0438\u0441\u0442\u0435\u043c\u0443<\/strong> \u0439 \u043f\u0456\u0434 \u0447\u0430\u0441 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f <strong>\u0443\u0442\u0440\u0438\u043c\u0443\u0454\u0448 Shift<\/strong>, \u043f\u043e\u043a\u0438 \u043d\u0435 \u0437\u2019\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u043c\u0435\u043d\u044e GRUB.<\/p>\n\n\n\n<p><strong>2. <\/strong>\u041e\u0431\u0438\u0440\u0430\u0454\u0448 <strong>\u00abAdvanced options\u00bb \u2192 \u00abRecovery mode\u00bb<\/strong>, \u043f\u043e\u0442\u0456\u043c <strong>\u00abDrop to root shell prompt\u00bb<\/strong>.<\/p>\n\n\n\n<p><strong>3. \u0420\u043e\u0431\u0438\u0448 \u0444\u0430\u0439\u043b\u043e\u0432\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u044e \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0443:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>mount -o remount,rw \/<\/code><\/pre>\n\n\n\n<p><strong>4. \u0421\u043a\u0438\u0434\u0430\u0454\u0448 \u043f\u0430\u0440\u043e\u043b\u044c root:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>passwd root<\/code><\/pre>\n\n\n\n<p><strong>5. \u041f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0443\u0454\u0448 \u0441\u0438\u0441\u0442\u0435\u043c\u0443:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>reboot<\/code><\/pre>\n\n\n\n<p>\u042e\u0445\u0443\u0443\u0443\u0443, \u0443 \u0442\u0435\u0431\u0435 \u0432\u0438\u0439\u0448\u043b\u043e. \u0422\u0435\u043f\u0435\u0440 \u043c\u043e\u0436\u0435\u0448 \u0443\u0432\u0456\u0439\u0442\u0438 \u0437 \u043d\u043e\u0432\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u0435\u043c.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0412\u0430\u0440\u0456\u0430\u043d\u0442 2: \u0421\u043a\u0438\u0434\u0430\u043d\u043d\u044f \u043f\u0430\u0440\u043e\u043b\u044f \u0447\u0435\u0440\u0435\u0437 GRUB (<\/strong><strong>rd.break<\/strong><strong>) (RHEL\/CentOS\/Fedora)<\/strong><\/h4>\n\n\n\n<p>\u0414\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c \u043d\u0430 \u0431\u0430\u0437\u0456 RHEL, CentOS \u0430\u0431\u043e Fedora \u043f\u0440\u043e\u0446\u0435\u0441 \u0442\u0440\u043e\u0445\u0438 \u0432\u0456\u0434\u0440\u0456\u0437\u043d\u044f\u0454\u0442\u044c\u0441\u044f.<\/p>\n\n\n\n<p>1. \u041f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0443\u0454\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 \u0442\u0430 \u043d\u0430\u0442\u0438\u0441\u043a\u0430\u0454\u0448 e, \u043a\u043e\u043b\u0438 \u0437\u2019\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u043c\u0435\u043d\u044e GRUB.<\/p>\n\n\n\n<p>2. \u0428\u0443\u043a\u0430\u0454\u0448 \u0440\u044f\u0434\u043e\u043a, \u0449\u043e \u043f\u043e\u0447\u0438\u043d\u0430\u0454\u0442\u044c\u0441\u044f \u0437 linux, \u0456 \u0434\u043e\u0434\u0430\u0454\u0448 <strong>rd.break <\/strong>\u0443 \u0439\u043e\u0433\u043e \u043a\u0456\u043d\u0435\u0446\u044c.<\/p>\n\n\n\n<p>3. \u041d\u0430\u0442\u0438\u0441\u043a\u0430\u0454\u0448 Ctrl+X \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u0432 \u0440\u0435\u0436\u0438\u043c\u0456 \u0432\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f.<\/p>\n\n\n\n<p>4. \u041c\u043e\u043d\u0442\u0443\u0454\u0448 root-\u0444\u0430\u0439\u043b\u043e\u0432\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0442\u0430 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0448 \u0432 \u0441\u0435\u0440\u0435\u0434\u043e\u0432\u0438\u0449\u0435 <strong>chroot<\/strong>:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>mount -o remount,rw \/sysroot&nbsp;&nbsp;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>chroot \/sysroot&nbsp;&nbsp;<\/code><\/pre>\n\n\n\n<p>5. \u0421\u043a\u0438\u0434\u0430\u0454\u0448 \u043f\u0430\u0440\u043e\u043b\u044c root:<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>passwd root<\/code><\/pre>\n\n\n\n<p>6. \u0412\u0438\u0445\u043e\u0434\u0438\u0448 \u0442\u0430 \u043f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0443\u0454\u0448 \u0441\u0438\u0441\u0442\u0435\u043c\u0443:<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\"><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>exit&nbsp;&nbsp;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>reboot&nbsp;&nbsp;<\/code><\/pre>\n\n\n\n<p>\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u044c\u0441\u044f, \u0456 \u0442\u0438 \u0437\u043c\u043e\u0436\u0435\u0448 \u0443\u0432\u0456\u0439\u0442\u0438 \u0437 \u043d\u043e\u0432\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u0435\u043c.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u042f\u043a \u0431\u0456\u043b\u044c\u0448\u0435 \u043d\u0435 \u0432\u0442\u0440\u0430\u0447\u0430\u0442\u0438 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e root?<\/h5>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u0421\u0442\u0432\u043e\u0440\u0438 sudo-\u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0431\u0435\u0437 \u043f\u0430\u0440\u043e\u043b\u044f<\/strong>, \u0449\u043e\u0431 \u043c\u0430\u0442\u0438 \u0437\u0430\u043f\u0430\u0441\u043d\u0438\u0439 \u0432\u0430\u0440\u0456\u0430\u043d\u0442.<\/li>\n\n\n\n<li><strong>\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439 SSH-\u043a\u043b\u044e\u0447\u0456<\/strong>, \u0430 \u043d\u0435 \u043f\u0430\u0440\u043e\u043b\u0456, \u0434\u043b\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u0457 \u2014 \u0442\u0430\u043a \u0431\u0435\u0437\u043f\u0435\u0447\u043d\u0456\u0448\u0435.<\/li>\n<\/ol>\n\n\n\n<p>Root-\u0434\u043e\u0441\u0442\u0443\u043f \u2014 \u0446\u0435 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u043b\u044c\u043d\u0456\u0441\u0442\u044c, \u0430 \u043d\u0435 \u0442\u0456\u043b\u044c\u043a\u0438 \u0441\u0443\u043f\u0435\u0440\u0441\u0438\u043b\u0438. \u0422\u043e\u0436 \u0431\u0435\u0440\u0435\u0436\u0438 \u0441\u0432\u043e\u0457 \u043f\u0430\u0440\u043e\u043b\u0456 \u0430\u0431\u043e \u0431\u0443\u0434\u044c \u0433\u043e\u0442\u043e\u0432\u0438\u0439 \u0457\u0445 \u0441\u043a\u0438\u0434\u0430\u0442\u0438.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0439 3: <\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">\u0412\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0432 \u043f\u0430\u043a\u0435\u0442, \u0430 \u0432\u0456\u043d \u043d\u0435 \u043f\u0440\u0430\u0446\u044e\u0454<\/h2>\n\n\n\n<p>\u041a\u043b\u0430\u0441\u0438\u043a\u0430 \u0436\u0430\u043d\u0440\u0443: \u0449\u043e\u0439\u043d\u043e \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0432 \u043f\u0430\u043a\u0435\u0442, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0454\u0448 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u2014 \u0456 \u043e\u0442\u0440\u0438\u043c\u0443\u0454\u0448 <strong>\u00abcommand not found\u00bb<\/strong>. \u0427\u043e\u043c\u0443 \u0442\u0430\u043a? \u0404 \u043a\u0456\u043b\u044c\u043a\u0430 \u043f\u0440\u0438\u0447\u0438\u043d:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041f\u0430\u043a\u0435\u0442 \u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0432\u0441\u044f \u0430\u0431\u043e \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0432\u0441\u044f \u043a\u0440\u0438\u0432\u043e.<\/li>\n\n\n\n<li>\u0411\u0456\u043d\u0430\u0440\u043d\u0438\u043a \u043f\u0430\u043a\u0435\u0442\u0430 \u043d\u0435 \u0437\u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0443 PATH.<\/li>\n\n\n\n<li>\u041f\u0430\u043a\u0435\u0442\u0443 \u0431\u0440\u0430\u043a\u0443\u0454 \u0437\u0430\u043b\u0435\u0436\u043d\u043e\u0441\u0442\u0435\u0439.<\/li>\n<\/ul>\n\n\n\n<p><strong>1. \u041f\u0435\u0440\u0435\u0432\u0456\u0440\u044c, \u0447\u0438 \u043f\u0430\u043a\u0435\u0442 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<p>\u0421\u043f\u0435\u0440\u0448\u0443 \u0442\u0440\u0435\u0431\u0430 \u0432\u043f\u0435\u0432\u043d\u0438\u0442\u0438\u0441\u044f, \u0449\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0432\u0437\u0430\u0433\u0430\u043b\u0456 \u0439\u043e\u0433\u043e \u0431\u0430\u0447\u0438\u0442\u044c.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg -l | grep package-name&nbsp; # \u0414\u043b\u044f Debian-based (Ubuntu, Debian)<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>rpm -qa | grep package-name&nbsp; # \u0414\u043b\u044f RHEL-based (CentOS, Fedora)<\/code><\/pre>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u0432\u0438\u0432\u0456\u0434 \u043f\u0443\u0441\u0442\u0438\u0439 \u2014 \u0437\u043d\u0430\u0447\u0438\u0442\u044c, \u043f\u0430\u043a\u0435\u0442\u0443 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435\u043c\u0430\u0454 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0456. \u0421\u0442\u0430\u0432\u0438\u043c\u043e \u0439\u043e\u0433\u043e:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install package-name&nbsp; # \u0414\u043b\u044f Debian-based<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo yum install package-name&nbsp; # \u0414\u043b\u044f RHEL-based<\/code><\/pre>\n\n\n\n<p><strong>2. \u041f\u0435\u0440\u0435\u0432\u0456\u0440, \u0447\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0454 \u0432 PATH<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><\/ol>\n\n\n\n<p>\u041d\u0430\u0432\u0456\u0442\u044c \u044f\u043a\u0449\u043e \u043f\u0430\u043a\u0435\u0442 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043c\u043e\u0436\u0435 \u0439\u043e\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0438. \u0414\u0456\u0437\u043d\u0430\u0439\u0441\u044f, \u0434\u0435 \u0445\u043e\u0432\u0430\u0454\u0442\u044c\u0441\u044f \u0439\u043e\u0433\u043e \u0431\u0456\u043d\u0430\u0440\u043d\u0438\u043a:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>which package-name<\/code><\/pre>\n\n\n\n<p>\u0410 \u0442\u0435\u043f\u0435\u0440 \u043f\u0435\u0440\u0435\u0432\u0456\u0440, \u044f\u043a\u0456 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0457 \u0432\u0437\u0430\u0433\u0430\u043b\u0456 \u0454 \u0432 $PATH:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo $PATH<\/code><\/pre>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <strong>which<\/strong> \u043d\u0456\u0447\u043e\u0433\u043e \u043d\u0435 \u043f\u043e\u0432\u0435\u0440\u043d\u0443\u043b\u0430, \u0430 \u0432\u0438\u0432\u0456\u0434 <strong>echo $PATH<\/strong> \u043d\u0435 \u043c\u0456\u0441\u0442\u0438\u0442\u044c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e\u0457 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0457 \u2014 \u0442\u0440\u0435\u0431\u0430 \u0457\u0457 \u0434\u043e\u0434\u0430\u0442\u0438.<\/p>\n\n\n\n<p><strong>3. \u0414\u043e\u0434\u0430\u0439 \u0448\u043b\u044f\u0445 \u0443 PATH<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><\/ol>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u0431\u0456\u043d\u0430\u0440\u043d\u0438\u043a \u043b\u0435\u0436\u0438\u0442\u044c, \u0441\u043a\u0430\u0436\u0456\u043c\u043e, \u0443 <strong>\/usr\/local\/bin<\/strong>, \u0434\u043e\u0434\u0430\u0439 \u0439\u043e\u0433\u043e \u0432 <strong>$PATH<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export PATH=$PATH:\/usr\/local\/bin<\/code><\/pre>\n\n\n\n<p>\u0429\u043e\u0431 \u0437\u043c\u0456\u043d\u0438 \u0437\u0431\u0435\u0440\u0435\u0433\u043b\u0438\u0441\u044f \u043f\u0456\u0441\u043b\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f, \u0434\u043e\u043f\u0438\u0448\u0438 \u0446\u0435 \u0432 <strong>~\/.bashrc <\/strong>\u0430\u0431\u043e <strong>~\/.bash_profile:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo 'export PATH=$PATH:\/usr\/local\/bin' &gt;&gt; ~\/.bashrc<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>source ~\/.bashrc<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">\u042f\u043a \u0443\u043d\u0438\u043a\u043d\u0443\u0442\u0438 \u0442\u0430\u043a\u0438\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0456\u0439?<\/h5>\n\n\n\n<p><strong>1. \u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0439 \u0442\u0435\u0440\u043c\u0456\u043d\u0430\u043b<\/strong> \u0430\u0431\u043e \u0432\u0438\u043a\u043e\u043d\u0443\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>hash -r&nbsp;&nbsp;<\/code><\/pre>\n\n\n\n<p><strong>2. \u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439 Snap \u0430\u0431\u043e Flatpak<\/strong>, \u0432\u043e\u043d\u0438 \u043a\u0440\u0430\u0449\u0435 \u043f\u0440\u0430\u0446\u044e\u044e\u0442\u044c \u0456\u0437 \u0437\u0430\u043b\u0435\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438:<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install snapd&nbsp;&nbsp;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>snap install package-name&nbsp;&nbsp;<\/code><\/pre>\n\n\n\n<p>\u0422\u0435\u043f\u0435\u0440 \u0442\u0432\u043e\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0437\u043d\u0430\u0454, \u0434\u0435 \u0448\u0443\u043a\u0430\u0442\u0438 \u043f\u0430\u043a\u0435\u0442\u0438, \u0430 \u0442\u0438 \u2014 \u044f\u043a \u0432\u0438\u0440\u0456\u0448\u0443\u0432\u0430\u0442\u0438 \u043f\u043e\u0434\u0456\u0431\u043d\u0456 \u0432\u0438\u043a\u043b\u0438\u043a\u0438.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0439 4: <\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">\u041e\u0439, \u0437\u0430\u043a\u0456\u043d\u0447\u0438\u043b\u043e\u0441\u044c \u043c\u0456\u0441\u0446\u0435 \u043d\u0430 \u0434\u0438\u0441\u043a\u0443<\/h2>\n\n\n\n<p>\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u043e\u0447\u0430\u043b\u0430 \u0432\u0435\u0440\u0435\u0434\u0443\u0432\u0430\u0442\u0438, \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u044e\u0442\u044c\u0441\u044f, \u0430 \u0442\u0435\u0440\u043c\u0456\u043d\u0430\u043b \u043a\u0440\u0438\u0447\u0438\u0442\u044c <strong>\u00abNo space left on device\u00bb<\/strong>? \u0417\u043d\u0430\u0447\u0438\u0442\u044c, \u0447\u0430\u0441 \u0437\u0432\u0456\u043b\u044c\u043d\u0438\u0442\u0438 \u043c\u0456\u0441\u0446\u0435. <\/p>\n\n\n\n<p>\u0414\u0438\u0441\u043a\u0438 \u0432 Linux \u043d\u0435 \u0437\u0430\u0431\u0438\u0432\u0430\u044e\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a \u2014 \u043b\u043e\u0433-\u0444\u0430\u0439\u043b\u0438, \u0441\u0442\u0430\u0440\u0456 \u044f\u0434\u0440\u0430, \u043a\u0435\u0448\u0456 \u043f\u0430\u043a\u0435\u0442\u0456\u0432 \u0442\u0430 \u0437\u0430\u0431\u0443\u0442\u0456 \u0432\u0435\u043b\u0438\u043a\u0456 \u0444\u0430\u0439\u043b\u0438 \u0448\u0432\u0438\u0434\u043a\u043e \u0437\u2019\u0457\u0434\u0430\u044e\u0442\u044c \u0432\u0456\u043b\u044c\u043d\u0438\u0439 \u043f\u0440\u043e\u0441\u0442\u0456\u0440. \u041d\u0443\u043c\u043e \u0440\u043e\u0437\u0431\u0438\u0440\u0430\u0442\u0438\u0441\u044f, \u0449\u043e \u0442\u0443\u0442 \u043c\u043e\u0436\u043d\u0430 \u043f\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u0438.<\/p>\n\n\n\n<p><strong>1. \u041f\u0435\u0440\u0435\u0432\u0456\u0440, \u0449\u043e \u0437\u0430\u0439\u043c\u0430\u0454 \u043c\u0456\u0441\u0446\u0435<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<p>\u041d\u0430\u0441\u0430\u043c\u043f\u0435\u0440\u0435\u0434, \u043f\u043e\u0434\u0438\u0432\u0438\u0441\u044c, \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u043c\u0456\u0441\u0446\u044f \u0437\u0430\u0439\u043d\u044f\u0442\u043e \u0442\u0430 \u044f\u043a\u0456 \u0440\u043e\u0437\u0434\u0456\u043b\u0438 \u0437\u0430\u043f\u043e\u0432\u043d\u0435\u043d\u0456:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>df -h<\/code><\/pre>\n\n\n\n<p>\u0426\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u043e\u043a\u0430\u0436\u0435 \u0432\u0456\u043b\u044c\u043d\u0438\u0439 \u043f\u0440\u043e\u0441\u0442\u0456\u0440 \u0443 <strong>\u0437\u0440\u0443\u0447\u043d\u043e\u043c\u0443 (human-readable)<\/strong> \u0444\u043e\u0440\u043c\u0430\u0442\u0456.<\/p>\n\n\n\n<p><strong>2. \u0417\u043d\u0430\u0439\u0434\u0438 \u0442\u0430 \u0432\u0438\u0434\u0430\u043b\u0438 \u0432\u0435\u043b\u0438\u043a\u0456 \u0444\u0430\u0439\u043b\u0438<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><\/ol>\n\n\n\n<p>\u0429\u043e\u0431 \u0437\u043d\u0430\u0439\u0442\u0438 \u043d\u0430\u0439\u0431\u0456\u043b\u044c\u0448\u0456 10 \u0444\u0430\u0439\u043b\u0456\u0432 \u0442\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0439, \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439 du:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>du -ah \/ | sort -rh | head -10<\/code><\/pre>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u0437\u043d\u0430\u0439\u0434\u0435\u0448 \u0449\u043e\u0441\u044c \u043d\u0435\u043f\u043e\u0442\u0440\u0456\u0431\u043d\u0435, \u043c\u043e\u0436\u043d\u0430 \u0439\u043e\u0433\u043e \u0432\u0438\u0434\u0430\u043b\u0438\u0442\u0438:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rm -rf \/\u0448\u043b\u044f\u0445\/\u0434\u043e\/\u043d\u0435\u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e\u0433\u043e_\u0444\u0430\u0439\u043b\u0443<\/code><\/pre>\n\n\n\n<p>\u0410 \u044f\u043a\u0449\u043e \u0444\u0430\u0439\u043b \u0449\u0435 \u0437\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0438 \u0439\u043e\u0433\u043e \u043d\u0430 \u0437\u043e\u0432\u043d\u0456\u0448\u043d\u0456\u0439 \u0434\u0438\u0441\u043a.<\/p>\n\n\n\n<p><strong>3. \u041f\u0456\u0434\u0447\u0438\u0441\u0442\u044c \u0441\u0442\u0430\u0440\u0456 \u043b\u043e\u0433\u0438<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><\/ol>\n\n\n\n<p>\u0416\u0443\u0440\u043d\u0430\u043b\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0438 \u043c\u043e\u0436\u0443\u0442\u044c \u0437\u0430\u0439\u043c\u0430\u0442\u0438 \u0433\u0456\u0433\u0430\u0431\u0430\u0439\u0442\u0438 \u043c\u0456\u0441\u0446\u044f. \u0412\u0438\u0434\u0430\u043b\u0438 \u043b\u043e\u0433\u0438, \u044f\u043a\u0438\u043c \u0431\u0456\u043b\u044c\u0448\u0435 \u0434\u0432\u043e\u0445 \u0434\u043d\u0456\u0432:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo journalctl --vacuum-time=2d&nbsp;&nbsp;<\/code><\/pre>\n\n\n\n<p>\u0422\u0430\u043a\u043e\u0436 \u043e\u0447\u0438\u0441\u0442\u044c \u043a\u0435\u0448 \u0437\u0430\u0441\u0442\u0430\u0440\u0456\u043b\u0438\u0445 \u043f\u0430\u043a\u0435\u0442\u0456\u0432:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt autoclean<\/code><\/pre>\n\n\n\n<p><strong>4. \u0412\u0438\u0434\u0430\u043b\u0438 \u0441\u0442\u0430\u0440\u0456 \u044f\u0434\u0440\u0430 (Ubuntu\/Debian)<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><\/ol>\n\n\n\n<p>\u041a\u043e\u0436\u043d\u0435 \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u044f\u0434\u0440\u0430 \u0437\u0430\u043b\u0438\u0448\u0430\u0454 \u0441\u0442\u0430\u0440\u0456 \u0432\u0435\u0440\u0441\u0456\u0457, \u044f\u043a\u0456 \u043c\u043e\u0436\u0443\u0442\u044c \u0437\u0430\u0439\u043c\u0430\u0442\u0438 \u0431\u0430\u0433\u0430\u0442\u043e \u043c\u0456\u0441\u0446\u044f. \u041f\u043e\u0447\u0438\u0441\u0442\u0438 \u0457\u0445 \u0442\u0430\u043a:<\/p>\n\n\n\n<p>sudo apt autoremove &#8211;purge<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u042f\u043a \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0432\u0430\u0442\u0438 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u043d\u0430 \u0434\u0438\u0441\u043a\u0443?<\/h5>\n\n\n\n<p><strong>1. \u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0435 \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u043b\u043e\u0433\u0430\u043c\u0438<\/strong> \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e logrotate.<\/p>\n\n\n\n<p><strong>2. \u0412\u0441\u0442\u0430\u043d\u043e\u0432\u0438 ncdu<\/strong>, \u0449\u043e\u0431 \u043b\u0435\u0433\u043a\u043e \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0430\u0442\u0438, \u0449\u043e \u0437\u0430\u0439\u043c\u0430\u0454 \u043c\u0456\u0441\u0446\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install ncdu&nbsp;&nbsp;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>ncdu \/<\/code><\/pre>\n\n\n\n<p><strong>3. \u041f\u043b\u0430\u043d\u0443\u0439 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0439 \u043a\u043b\u0456\u043d\u0456\u043d\u0433<\/strong> \u2014 \u043a\u0435\u0448\u0456, \u0442\u0438\u043c\u0447\u0430\u0441\u043e\u0432\u0456 \u0444\u0430\u0439\u043b\u0438 \u0442\u0430 \u043d\u0435\u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u043d\u0456 \u043f\u0430\u043a\u0435\u0442\u0438 \u043c\u043e\u0436\u043d\u0430 \u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e.<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><\/ol>\n\n\n\n<p>Linux \u043d\u0435 \u043b\u044e\u0431\u0438\u0442\u044c \u0431\u0435\u0437\u043b\u0430\u0434\u0443 \u2014 \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0438 \u0439\u043e\u043c\u0443 \u0437\u0430\u043b\u0438\u0448\u0430\u0442\u0438\u0441\u044f \u0432 \u0447\u0438\u0441\u0442\u043e\u0442\u0456, \u0456 \u0432\u0456\u043d \u043f\u0440\u0430\u0446\u044e\u0432\u0430\u0442\u0438\u043c\u0435 \u0431\u0435\u0437 \u0437\u0431\u043e\u0457\u0432.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0439 5: <\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">Alert, \u0441\u0435\u0440\u0432\u0435\u0440 \u0437\u0430\u0432\u0438\u0441 \u0456 \u043d\u0435 \u0440\u0435\u0430\u0433\u0443\u0454<\/h2>\n\n\n\n<p>\u0423\u044f\u0432\u0438, \u0449\u043e \u0442\u0432\u0456\u0439 Linux-\u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u0430\u043f\u0442\u043e\u0432\u043e \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0432 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0442\u0438. <a href=\"https:\/\/itedu.center\/ua\/blog\/review\/shcho-take-ssh\/\" target=\"_blank\" rel=\"noopener\" title=\"\" data-wpel-link=\"internal\">SSH<\/a> \u0432\u0456\u0434\u043c\u043e\u0432\u043b\u044f\u0454\u0442\u044c\u0441\u044f \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u0438\u0441\u044f, \u0430\u043b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440 \u044f\u0432\u043d\u043e \u0449\u0435 \u043f\u0440\u0430\u0446\u044e\u0454. \u0429\u043e \u0441\u0442\u0430\u043b\u043e\u0441\u044f? \u041f\u0440\u0438\u0447\u0438\u043d\u0438 \u043c\u043e\u0436\u0443\u0442\u044c \u0431\u0443\u0442\u0438 \u0440\u0456\u0437\u043d\u0456:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041f\u0440\u043e\u0446\u0435\u0441\u0438, \u0449\u043e \u0437\u0436\u0438\u0440\u0430\u044e\u0442\u044c CPU\/RAM<\/li>\n\n\n\n<li>\u041f\u0435\u0440\u0435\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u0434\u0438\u0441\u043a\u043e\u0432\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0439<\/li>\n\n\n\n<li>Kernel panic \u0430\u0431\u043e \u043a\u0440\u0430\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0438<\/li>\n\n\n\n<li>\u041c\u0435\u0440\u0435\u0436\u0435\u0432\u0456 \u0437\u0431\u043e\u0457<\/li>\n<\/ul>\n\n\n\n<p>\u0414\u0430\u0432\u0430\u0439 \u043f\u043e \u043a\u0440\u043e\u043a\u0430\u0445 \u0432\u0456\u0434\u043d\u043e\u0432\u0438\u043c\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043d\u0430\u0434 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c.<\/p>\n\n\n\n<p><strong>1. \u041e\u0442\u0440\u0438\u043c\u0430\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0430\u0431\u043e \u0447\u0435\u0440\u0435\u0437 TTY<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<p>\u042f\u043a\u0449\u043e SSH \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0438\u0439, \u0441\u043f\u0440\u043e\u0431\u0443\u0439 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0438\u0441\u044f \u043d\u0430\u043f\u0440\u044f\u043c\u0443:<br>1.<strong> \u0424\u0456\u0437\u0438\u0447\u043d\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440?<\/strong> \u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443 \u043a\u043e\u043d\u0441\u043e\u043b\u044c.<br>2. <strong>\u0412\u0456\u0440\u0442\u0443\u0430\u043b\u043a\u0430? <\/strong>\u041f\u0456\u0434\u043a\u043b\u044e\u0447\u0430\u0439\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0456\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0433\u0456\u043f\u0435\u0440\u0432\u0456\u0437\u043e\u0440\u0430 (<em>VMware, Proxmox, AWS Console <\/em>\u0442\u043e\u0449\u043e).<\/p>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u0435\u043a\u0440\u0430\u043d, \u0441\u043f\u0440\u043e\u0431\u0443\u0439 \u043f\u0435\u0440\u0435\u043c\u0438\u043a\u043d\u0443\u0442\u0438\u0441\u044f \u043d\u0430 \u0456\u043d\u0448\u0438\u0439 <strong>TTY<\/strong>:<\/p>\n\n\n\n<p><strong>Ctrl + Alt + F2\u00a0 # \u0430\u0431\u043e F3, F4&#8230;<\/strong><\/p>\n\n\n\n<p>\u0423\u0441\u043f\u0456\u0448\u043d\u043e \u0437\u0430\u043b\u043e\u0433\u0456\u043d\u0438\u0432\u0441\u044f? \u0419\u0434\u0435\u043c\u043e \u0434\u0430\u043b\u0456.<\/p>\n\n\n\n<p><strong>2. \u041f\u0435\u0440\u0435\u0432\u0456\u0440 \u043d\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0443<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><\/ol>\n\n\n\n<p>\u041f\u043e\u0434\u0438\u0432\u0438\u0441\u044c \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u0456\u0441\u0442\u044c CPU:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>uptime<\/code><\/pre>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u0441\u0435\u0440\u0435\u0434\u043d\u0454 \u043d\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f (load average) \u0432\u0438\u0449\u0435 \u043a\u0456\u043b\u044c\u043a\u043e\u0441\u0442\u0456 CPU-\u044f\u0434\u0435\u0440 \u2014 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u0435\u0440\u0435\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u0430.<\/p>\n\n\n\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0439 <strong>\u043c\u043e\u043d\u0456\u0442\u043e\u0440\u0438\u043d\u0433 \u043f\u0440\u043e\u0446\u0435\u0441\u0456\u0432 \u0443 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0447\u0430\u0441\u0456<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>top&nbsp; # \u0430\u0431\u043e \u0431\u0456\u043b\u044c\u0448 \u0437\u0440\u0443\u0447\u043d\u0438\u0439<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>htop<\/code><\/pre>\n\n\n\n<p>\u0428\u0443\u043a\u0430\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0438, \u0449\u043e \u0437\u2019\u0457\u0434\u0430\u044e\u0442\u044c \u0431\u0430\u0433\u0430\u0442\u043e CPU \u0430\u0431\u043e RAM.<\/p>\n\n\n\n<p><strong>3. \u0417\u043d\u0430\u0439\u0434\u0438 \u0442\u0430 \u0437\u043d\u0438\u0449 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0454\u043c\u043d\u0456 \u043f\u0440\u043e\u0446\u0435\u0441\u0438<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><\/ol>\n\n\n\n<p>\u041f\u0435\u0440\u0435\u0432\u0456\u0440, \u0449\u043e \u0441\u0430\u043c\u0435 \u0436\u0435\u0440\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u043e\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ps aux --sort=-%cpu | head<\/code><\/pre>\n\n\n\n<p>\u0410\u0431\u043e \u043d\u0430\u0439\u0431\u0456\u043b\u044c\u0448 \u043d\u0435\u043d\u0430\u0436\u0435\u0440\u043b\u0438\u0432\u0456 \u043f\u0440\u043e\u0446\u0435\u0441\u0438 \u0432 \u043f\u0430\u043c\u2019\u044f\u0442\u0456:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ps aux --sort=-rss | head<\/code><\/pre>\n\n\n\n<p>\u0417\u043d\u0430\u0439\u0434\u0438 PID \u043f\u0456\u0434\u043e\u0437\u0440\u0456\u043b\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0443 \u0456 \u0437\u043d\u0438\u0449 \u0439\u043e\u0433\u043e:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kill -9 PID&nbsp; # \u0437\u0430\u043c\u0456\u043d\u0438 PID \u043d\u0430 \u043d\u043e\u043c\u0435\u0440 \u043f\u0440\u043e\u0446\u0435\u0441\u0443<\/code><\/pre>\n\n\n\n<p><strong>4. \u041f\u043e\u0434\u0438\u0432\u0438\u0441\u044c \u043b\u043e\u0433\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u043f\u043e\u043c\u0438\u043b\u043e\u043a<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><\/ol>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0449\u0435 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454, \u0448\u0443\u043a\u0430\u0439 \u043f\u0456\u0434\u043a\u0430\u0437\u043a\u0438 \u0443 \u043b\u043e\u0433\u0430\u0445:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo tail -f \/var\/log\/syslog&nbsp; # \u0417\u0430\u0433\u0430\u043b\u044c\u043d\u0456 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0456 \u043b\u043e\u0433\u0438<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dmesg | tail &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # \u041e\u0441\u0442\u0430\u043d\u043d\u0456 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u044f\u0434\u0440\u0430<\/code><\/pre>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u0431\u0430\u0447\u0438\u0448 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u043f\u0440\u043e OOM (Out of Memory) \u2014 \u0446\u0435 \u0437\u043d\u0430\u0447\u0438\u0442\u044c, \u0449\u043e \u043f\u0430\u043c\u2019\u044f\u0442\u044c \u0437\u0430\u043a\u0456\u043d\u0447\u0438\u043b\u0430\u0441\u044f, \u0456 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0432\u0431\u0438\u0432\u0430\u0454 \u043f\u0440\u043e\u0446\u0435\u0441\u0438.<\/p>\n\n\n\n<p><strong>5. \u042f\u043a\u0449\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0437\u0430\u0432\u0438\u0441\u043b\u0430 \u2014 \u043c\u2019\u044f\u043a\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0443\u0454\u043c\u043e \u0447\u0435\u0440\u0435\u0437 SysRq<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><\/ol>\n\n\n\n<p>\u041a\u043e\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 <strong>\u043f\u043e\u0432\u043d\u0456\u0441\u0442\u044e \u0437\u0430\u0432\u0438\u0441<\/strong>, \u0430\u043b\u0435 \u0449\u0435 \u0445\u043e\u0447 \u044f\u043a\u043e\u0441\u044c \u0440\u0435\u0430\u0433\u0443\u0454, \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0439 <strong>\u043c\u0430\u0433\u0456\u0447\u043d\u0438\u0439 SysRq<\/strong> \u0434\u043b\u044f \u0431\u0435\u0437\u043f\u0435\u0447\u043d\u043e\u0433\u043e \u0440\u0435\u0431\u0443\u0442\u0430:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo b &gt; \/proc\/sysrq-trigger<\/code><\/pre>\n\n\n\n<p>\u0426\u0435 \u0432\u0438\u043a\u043e\u043d\u0430\u0454 <strong>\u0431\u0435\u0437\u043f\u0435\u0447\u043d\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f<\/strong>, \u0437\u0431\u0435\u0440\u0456\u0433\u0448\u0438 \u0432\u0441\u0456 \u0434\u0430\u043d\u0456 \u043f\u0435\u0440\u0435\u0434 \u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043d\u044f\u043c.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u042f\u043a \u0443\u043d\u0438\u043a\u043d\u0443\u0442\u0438 \u0442\u0430\u043a\u0438\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0456\u0439 \u0443 \u043c\u0430\u0439\u0431\u0443\u0442\u043d\u044c\u043e\u043c\u0443?<\/h5>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0439 \u043c\u043e\u043d\u0456\u0442\u043e\u0440\u0438\u043d\u0433:<\/strong> htop, glances \u0430\u0431\u043e Prometheus + Grafana \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0443\u0442\u044c \u0432\u0456\u0434\u0441\u0442\u0435\u0436\u0443\u0432\u0430\u0442\u0438 \u043f\u0435\u0440\u0435\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f.<\/li>\n\n\n\n<li><strong>\u041e\u0431\u043c\u0435\u0436\u0443\u0439 \u0440\u0435\u0441\u0443\u0440\u0441\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0456\u0432:<\/strong> \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439 ulimit \u0456 systemd \u0434\u043b\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f CPU\/RAM.<\/li>\n\n\n\n<li><strong>\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0435 \u0437\u043d\u0438\u0449\u0435\u043d\u043d\u044f \u0437\u0430\u0432\u0438\u0441\u043b\u0438\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0456\u0432:<\/strong><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl set-property --runtime -- user.slice MemoryMax=1G<\/code><\/pre>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u0441\u0435\u0440\u0432\u0435\u0440 \u0437\u0430\u0432\u0438\u0441, \u0433\u043e\u043b\u043e\u0432\u043d\u0435 \u2014 \u043d\u0435 \u043f\u0430\u043d\u0456\u043a\u0443\u0432\u0430\u0442\u0438. \u0404 \u0447\u0456\u0442\u043a\u0438\u0439 \u043f\u043b\u0430\u043d \u0434\u0456\u0439, \u044f\u043a\u0438\u0439 \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0435 \u0448\u0432\u0438\u0434\u043a\u043e \u043f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Linux \u0431\u0435\u0437 \u0432\u0438\u043a\u043b\u0438\u043a\u0456\u0432 \u2014 \u043d\u0435 Linux \ud83d\ude0f<\/h3>\n\n\n\n<p>\u0412\u043c\u0456\u0442\u0438 \u0440\u043e\u0437\u0440\u0443\u043b\u044e\u0432\u0430\u0442\u0438 \u043d\u0435\u043e\u0447\u0456\u043a\u0443\u0432\u0430\u043d\u0456 \u0441\u0438\u0442\u0443\u0430\u0446\u0456\u0457 \u2014 \u043c\u0430\u0441\u0442\u0445\u0435\u0432 \u0434\u043b\u044f \u043a\u043e\u0436\u043d\u043e\u0433\u043e, \u0445\u0442\u043e \u043f\u0440\u0430\u0446\u044e\u0454 \u0437 Linux. \u0412\u0438\u0434\u0430\u043b\u0435\u043d\u0456 \u0444\u0430\u0439\u043b\u0438, \u0437\u0430\u0431\u0443\u0442\u0438\u0439 root-\u043f\u0430\u0440\u043e\u043b\u044c, \u0437\u0430\u0432\u0438\u0441\u043b\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0447\u0438 \u0437\u0430\u0431\u0438\u0442\u0438\u0439 \u0434\u0438\u0441\u043a \u2014 \u0443\u0441\u0435 \u0446\u0435 \u043d\u0435 \u043a\u0430\u0442\u0430\u0441\u0442\u0440\u043e\u0444\u0430, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0449\u0435 \u043e\u0434\u0438\u043d \u0432\u0438\u043a\u043b\u0438\u043a, \u044f\u043a\u0438\u0439 \u043c\u043e\u0436\u043d\u0430 \u0448\u0432\u0438\u0434\u043a\u043e \u0432\u0438\u0440\u0456\u0448\u0438\u0442\u0438, \u044f\u043a\u0449\u043e \u0437\u043d\u0430\u0442\u0438 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u0456 \u043a\u043e\u043c\u0430\u043d\u0434\u0438.<\/p>\n\n\n\n<p>\u041f\u0440\u0430\u0433\u043d\u0435\u0448 \u043d\u0430\u0432\u0447\u0438\u0442\u0438\u0441\u044c \u043f\u0440\u0430\u0446\u044e\u0432\u0430\u0442\u0438 \u0432\u043f\u0435\u0432\u043d\u0435\u043d\u043e \u0437 Linux? \u0426\u0435 \u043b\u0435\u0433\u043a\u043e. \u0412 ITEDU 6 \u043a\u0443\u0440\u0441\u0456\u0432 \u0437 Linux \u0434\u043b\u044f \u0440\u0456\u0437\u043d\u043e\u0433\u043e \u0440\u0456\u0432\u043d\u044f \u0437\u043d\u0430\u043d\u044c. \u041e\u0431\u0438\u0440\u0430\u0439 \u0441\u0432\u0456\u0439.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-pale-ocean-gradient-background has-background wp-element-button\" href=\"https:\/\/itedu.center\/ua\/courses\/?technology=1&amp;utm_source=blog&amp;utm_medium=referral&amp;utm_campaign=blog_5_realnykh_vyklykiv_pry_roboti_z_Linux\" target=\"_blank\" rel=\"noreferrer noopener\" data-wpel-link=\"internal\">\u041a\u0443\u0440\u0441\u0438 Linux<\/a><\/div>\n<\/div>\n\n\n\n<p>\u0410 \u044f\u043a\u0456 \u0442\u0432\u043e\u0457 \u0443\u043b\u044e\u0431\u043b\u0435\u043d\u0456 \u043b\u0430\u0439\u0444\u0445\u0430\u043a\u0438 \u0434\u043b\u044f troubleshooting \u0443 Linux? \u0414\u0456\u043b\u0438\u0441\u044f \u0432 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f\u0445 \u2013 \u0440\u0430\u0437\u043e\u043c \u0437\u0440\u043e\u0431\u0438\u043c\u043e \u0446\u0435\u0439 \u0433\u0430\u0439\u0434 \u0449\u0435 \u043a\u043e\u0440\u0438\u0441\u043d\u0456\u0448\u0438\u043c \u0434\u043b\u044f \u0432\u0441\u0456\u0445.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux \u2014 \u0446\u0435 \u044f\u043a \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438\u0439 \u043e\u043a\u0435\u0430\u043d: \u0456\u043d\u043e\u0434\u0456 \u0432\u043e\u0434\u0430 \u0442\u0438\u0445\u0430, \u0430 \u0456\u043d\u043a\u043e\u043b\u0438 \u0448\u0442\u043e\u0440\u043c\u0438\u0442\u044c \u0442\u0430\u043a, \u0449\u043e \u0437\u0434\u0430\u0454\u0442\u044c\u0441\u044f, \u043d\u0456\u0431\u0438 \u043e\u0441\u044c-\u043e\u0441\u044c \u0437\u0430\u0442\u044f\u0433\u043d\u0435 \u0443 \u0432\u0438\u0440. \u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0440\u0430\u043f\u0442\u043e\u043c \u0433\u0430\u043b\u044c\u043c\u0443\u0454, \u0444\u0430\u0439\u043b\u0438 \u0437\u043d\u0438\u043a\u0430\u044e\u0442\u044c, \u043c\u0435\u0440\u0435\u0436\u0430 \u043f\u043e\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u044f\u043a\u043e\u0441\u044c \u0434\u0438\u0432\u043d\u043e\u2026 \u0417\u043d\u0430\u0439\u043e\u043c\u043e? \u0421\u043f\u043e\u043a\u0456\u0439\u043d\u043e, \u0446\u0435 \u043d\u0435 \u043a\u0430\u0442\u0430\u0441\u0442\u0440\u043e\u0444\u0430 \u2014 \u0446\u0435 \u0432\u0438\u043a\u043b\u0438\u043a. \u0410 \u0437\u043d\u0430\u0447\u0438\u0442\u044c, \u0454 \u0448\u0430\u043d\u0441 \u043f\u0440\u043e\u043a\u0430\u0447\u0430\u0442\u0438 \u043d\u0430\u0432\u0438\u0447\u043a\u0438 \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 Linux.\u00a0 \u041c\u0438 \u0437\u0456\u0431\u0440\u0430\u043b\u0438 5 \u043d\u0430\u0439\u043f\u043e\u0448\u0438\u0440\u0435\u043d\u0456\u0448\u0438\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0457\u0432 \u043d\u0435\u0441\u043f\u0440\u0430\u0432\u043d\u043e\u0441\u0442\u0435\u0439 \u0456 \u043f\u043e\u043a\u0440\u043e\u043a\u043e\u0432\u0456 \u0440\u0456\u0448\u0435\u043d\u043d\u044f, \u044f\u043a\u0456 \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0443\u0442\u044c \u0432\u0438\u0440\u0456\u0448\u0438\u0442\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0456\u044e \u0442\u0430&hellip;<\/p>\n","protected":false},"author":4,"featured_media":37671,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[352],"tags":[15],"class_list":["post-37670","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides","tag-linux"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"uk","enabled_languages":["uk"],"languages":{"uk":{"title":true,"content":true,"excerpt":false}}},"acf":[],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/posts\/37670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/comments?post=37670"}],"version-history":[{"count":16,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/posts\/37670\/revisions"}],"predecessor-version":[{"id":37687,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/posts\/37670\/revisions\/37687"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/media\/37671"}],"wp:attachment":[{"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/media?parent=37670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/categories?post=37670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/tags?post=37670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}