{"id":35371,"date":"2024-02-27T10:31:09","date_gmt":"2024-02-27T08:31:09","guid":{"rendered":"https:\/\/itedu.center\/ua\/blog\/?p=35371"},"modified":"2025-09-16T11:06:48","modified_gmt":"2025-09-16T08:06:48","slug":"instalyaciya-steka-lemp-v-ubuntu-20-04-ta-22-04-pokrokova-instrukciya","status":"publish","type":"post","link":"https:\/\/itedu.center\/ua\/blog\/guides\/instalyaciya-steka-lemp-v-ubuntu-20-04-ta-22-04-pokrokova-instrukciya\/","title":{"rendered":"\u0406\u043d\u0441\u0442\u0430\u043b\u044f\u0446\u0456\u044f \u0441\u0442\u0435\u043a\u0430 LEMP \u0432 Ubuntu 20.04 \u0442\u0430 22.04: \u043f\u043e\u043a\u0440\u043e\u043a\u043e\u0432\u0430 \u0456\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0456\u044f"},"content":{"rendered":"\n<p>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u0438\u0439 \u0441\u0442\u0435\u043a LEMP \u2014 \u0446\u0435 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f, \u044f\u043a\u0438\u0439 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u044e\u0442\u044c \u0434\u043b\u044f \u043e\u0431\u0441\u043b\u0443\u0433\u043e\u0432\u0443\u0432\u0430\u043d\u043d\u044f \u0434\u0438\u043d\u0430\u043c\u0456\u0447\u043d\u0438\u0445 \u0432\u0435\u0431\u0441\u0442\u043e\u0440\u0456\u043d\u043e\u043a \u0442\u0430 \u0432\u0435\u0431\u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043a\u0456\u0432, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0445 \u043d\u0430 PHP.&nbsp;<\/p>\n\n\n\n<p>\u0410\u0431\u0440\u0435\u0432\u0456\u0430\u0442\u0443\u0440\u0430 LEMP \u043e\u0437\u043d\u0430\u0447\u0430\u0454 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0439\u043d\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 Linux \u0437 \u0432\u0435\u0431\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c Nginx. \u0414\u0430\u043d\u0456 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0457 \u0447\u0430\u0441\u0442\u0438\u043d\u0438 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0443 \u0431\u0430\u0437\u0456 \u0434\u0430\u043d\u0438\u0445 MySQL, \u0430 \u0434\u0438\u043d\u0430\u043c\u0456\u0447\u043d\u0430 \u043e\u0431\u0440\u043e\u0431\u043a\u0430 \u0432\u0438\u043a\u043e\u043d\u0443\u0454\u0442\u044c\u0441\u044f PHP.<\/p>\n\n\n\n<p>\u041f\u0440\u043e \u0442\u0435, \u0449\u043e \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0437\u043d\u0430\u0442\u0438, \u0449\u043e\u0431 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0441\u0442\u0435\u043a LEMP \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0456\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f\u043c Ubuntu 20.04 \u0442\u0430 22.04, \u044f\u043a \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0442\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0438 \u0432\u0441\u0456 \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0456 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0438 \u2014 \u043f\u043e\u0434\u0456\u043b\u0438\u043c\u043e\u0441\u044f \u0432 \u043c\u0430\u0442\u0435\u0440\u0456\u0430\u043b\u0456.<\/p>\n\n\n\n<p><strong>\u041a\u0440\u043e\u043a 1. \u0412\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0454\u043c\u043e \u0432\u0435\u0431\u0441\u0435\u0440\u0432\u0435\u0440 Nginx<\/strong><\/p>\n\n\n\n<p>\u0414\u043b\u044f \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0456\u0457 \u0432\u0435\u0431\u0441\u0442\u043e\u0440\u0456\u043d\u043e\u043a \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0430\u043c \u0441\u0430\u0439\u0442\u0443, \u0431\u0443\u0434\u0435\u043c\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0441\u0443\u0447\u0430\u0441\u043d\u0438\u0439 \u0442\u0430 \u0435\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0438\u0439 \u0432\u0435\u0431\u0441\u0435\u0440\u0432\u0435\u0440 Nginx. \u0417\u0430\u0441\u0442\u043e\u0441\u0443\u0454\u043c\u043e \u0434\u0438\u0441\u043f\u0435\u0442\u0447\u0435\u0440 \u043f\u0430\u043a\u0435\u0442\u0456\u0432 apt \u0434\u043b\u044f \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u043d\u044f \u0446\u044c\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f. \u041e\u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0432 \u0446\u044c\u043e\u043c\u0443 \u0441\u0435\u0430\u043d\u0441\u0456 \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u0454\u043c\u043e apt \u0432\u043f\u0435\u0440\u0448\u0435, \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043e\u043d\u043e\u0432\u0438\u0442\u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0430\u043a\u0435\u0442\u0456\u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u041f\u0456\u0441\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u0430 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0442\u0438\u0441\u044f apt install \u0434\u043b\u044f \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f Nginx:<\/p>\n\n\n\n<p><code>sudo apt update<\/code><\/p>\n\n\n\n<p><code>sudo apt install nginx<\/code><\/p>\n\n\n\n<p>\u0414\u043b\u044f \u043f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043d\u043d\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0432\u0435\u0441\u0442\u0438 <strong>Y<\/strong>. \u041f\u0456\u0441\u043b\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044f \u0456\u043d\u0441\u0442\u0430\u043b\u044f\u0446\u0456\u0457 \u0432\u0435\u0431\u0441\u0435\u0440\u0432\u0435\u0440 Nginx \u0431\u0443\u0434\u0435 \u0430\u043a\u0442\u0438\u0432\u043e\u0432\u0430\u043d\u0438\u0439 \u0456 \u043f\u0440\u0430\u0446\u044e\u0432\u0430\u0442\u0438\u043c\u0435 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0456 Ubuntu 20.04.&nbsp;<\/p>\n\n\n\n<p>\u0417\u0432\u0435\u0440\u043d\u0438 \u0443\u0432\u0430\u0433\u0443, \u044f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u0443\u0432\u0456\u043c\u043a\u043d\u0435\u043d\u043e \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u0435\u0440 ufw, \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0434\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u0438 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0434\u043e Nginx. \u041f\u0456\u0441\u043b\u044f \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f Nginx \u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0454 \u043a\u0456\u043b\u044c\u043a\u0430 \u0440\u0456\u0437\u043d\u0438\u0445 \u043f\u0440\u043e\u0444\u0456\u043b\u0456\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c UFW. \u0429\u043e\u0431 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438, \u044f\u043a\u0456 \u0437 \u043f\u0440\u043e\u0444\u0456\u043b\u0456\u0432 UFW \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0456, \u0432\u0438\u043a\u043e\u043d\u0430\u0439:<\/p>\n\n\n\n<p><code>sudo ufw app list<\/code><\/p>\n\n\n\n<p><code>Available applications:<\/code><\/p>\n\n\n\n<p>&nbsp;&nbsp;<code>Nginx Full<\/code><\/p>\n\n\n\n<p>&nbsp;&nbsp;<code>Nginx HTTP<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;Nginx HTTPS<\/code><\/p>\n\n\n\n<p>&nbsp;<code>&nbsp;OpenSSH<\/code><\/p>\n\n\n\n<p>\u0412\u0430\u0440\u0442\u043e \u0437\u0430\u0441\u0442\u043e\u0441\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0431\u0456\u043b\u044c\u0448 \u043e\u0431\u043c\u0435\u043d\u0435\u0436\u0438\u0439 \u043f\u0440\u043e\u0444\u0456\u043b\u044c, \u044f\u043a\u0438\u0439 \u0431\u0443\u0434\u0435 \u0434\u043e\u0437\u0432\u043e\u043b\u044f\u0442\u0438 \u043d\u0430\u043b\u0430\u0448\u0442\u043e\u0432\u0430\u043d\u0438\u0439 \u0442\u0440\u0430\u0444\u0456\u043a. \u041e\u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0442\u0438 \u043d\u0435 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0432 SSL \u0434\u043b\u044f \u0441\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u043b\u0438\u0448\u0435 \u0434\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u0438 \u0442\u0440\u0430\u0444\u0456\u043a \u043d\u0430 \u043f\u043e\u0440\u0442\u0443 80.<\/p>\n\n\n\n<p>\u0414\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u0432\u0432\u0435\u0434\u0438:<\/p>\n\n\n\n<p><code>sudo ufw allow 'Nginx HTTP'<\/code><\/p>\n\n\n\n<p>\u0414\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0438 \u0437\u043c\u0456\u043d\u0438 \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n\n\n\n<p><code>sudo ufw status<\/code><\/p>\n\n\n\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e\u043a\u0430\u0436\u0435, \u0449\u043e \u0442\u0440\u0430\u0444\u0456\u043a HTTP \u0442\u0435\u043f\u0435\u0440 \u0434\u043e\u0437\u0432\u043e\u043b\u0435\u043d\u043e.<\/p>\n\n\n\n<p>\u041f\u0456\u0441\u043b\u044f \u0434\u043e\u0434\u0430\u0432\u0430\u043d\u043d\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u0435\u0440\u0430 \u043c\u043e\u0436\u0435\u0448 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438, \u0447\u0438 \u0441\u0435\u0440\u0432\u0456\u0441 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u0438\u0439, \u0432\u043a\u0430\u0437\u0430\u0432\u0448\u0438 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0456 \u0434\u043e\u043c\u0435\u043d\u043d\u0435 \u0456\u043c&#8217;\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0430\u0431\u043e \u043f\u0443\u0431\u043b\u0456\u0447\u043d\u0443 IP-\u0430\u0434\u0440\u0435\u0441\u0443. \u042f\u043a\u0449\u043e \u0443 \u0442\u0435\u0431\u0435 \u043d\u0435\u043c\u0430\u0454 \u0434\u043e\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0456\u043c\u0435\u043d\u0456, \u0449\u043e \u0432\u043a\u0430\u0437\u0443\u0454 \u043d\u0430 \u0442\u0432\u0456\u0439 \u0441\u0435\u0440\u0432\u0435\u0440, \u0456 \u0442\u0438 \u043d\u0435 \u0437\u043d\u0430\u0454\u0448 \u0439\u043e\u0433\u043e \u043f\u0443\u0431\u043b\u0456\u0447\u043d\u0443 IP-\u0430\u0434\u0440\u0435\u0441\u0443, \u043c\u043e\u0436\u0435\u0448 \u0437\u043d\u0430\u0439\u0442\u0438 \u0439\u043e\u0433\u043e, \u0432\u0432\u0456\u0432\u0448\u0438 \u0432 \u0442\u0435\u0440\u043c\u0456\u043d\u0430\u043b \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n\n\n\n<p><code>ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's\/\\\/.*$\/\/'<\/code><\/p>\n\n\n\n<p>\u0412\u043e\u043d\u0430 \u0432\u0438\u0432\u0435\u0434\u0435 \u043a\u0456\u043b\u044c\u043a\u0430 IP-\u0430\u0434\u0440\u0435\u0441. \u0422\u043e\u0436 \u0437\u043c\u043e\u0436\u0435\u0448 \u0441\u043f\u0440\u043e\u0431\u0443\u0432\u0430\u0442\u0438 \u043a\u043e\u0436\u0435\u043d \u0456\u0437 \u043d\u0438\u0445 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0443 \u0441\u0432\u043e\u0454\u043c\u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0456, \u0430 \u0442\u0430\u043a\u043e\u0436 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u0437\u043e\u0432\u043d\u0456\u0448\u043d\u044e IP-\u0430\u0434\u0440\u0435\u0441\u0443 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u044c, \u0432\u0432\u0456\u0432\u0448\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n\n\n\n<p><code>curl -4 icanhazip.com<\/code><\/p>\n\n\n\n<p>\u041f\u0456\u0441\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u0432\u0432\u0435\u0434\u0438 \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u0443 \u0430\u0434\u0440\u0435\u0441\u0443 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0456 \u0442\u0438 \u043f\u043e\u0442\u0440\u0430\u043f\u0438\u0448 \u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 Nginx \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c:<\/p>\n\n\n\n<p><code>http:\/\/server_domain_or_IP<\/code><\/p>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u0431\u0430\u0447\u0438\u0448 \u0446\u044e \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443, \u0432\u0456\u0442\u0430\u0454\u043c\u043e, \u0431\u043e \u0446\u0435 \u043e\u0437\u043d\u0430\u0447\u0430\u0454, \u0449\u043e \u0442\u0438 \u0443\u0441\u043f\u0456\u0448\u043d\u043e \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0432 Nginx \u0456 \u0430\u043a\u0442\u0438\u0432\u0443\u0432\u0430\u0432 \u0442\u0440\u0430\u0444\u0456\u043a HTTP \u0434\u043b\u044f \u0441\u0432\u043e\u0433\u043e \u0432\u0435\u0431\u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n\n\n\n<p><strong>\u041a\u0440\u043e\u043a 2. \u0406\u043d\u0441\u0442\u0430\u043b\u044e\u0454\u043c\u043e MySQL<\/strong><\/p>\n\n\n\n<p>\u0422\u0435\u043f\u0435\u0440 \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0421\u0423\u0411\u0414, \u0449\u043e \u043c\u043e\u0436\u0435 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0442\u0438 \u0434\u0430\u043d\u0456 \u0441\u0430\u0439\u0442\u0443 \u0442\u0430 \u043a\u0435\u0440\u0443\u0432\u0430\u0442\u0438 \u043d\u0438\u043c\u0438. MySQL \u2014 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430 \u0421\u0423\u0411\u0414, \u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0432 \u0441\u0435\u0440\u0435\u0434\u043e\u0432\u0438\u0449\u0430\u0445 PHP. \u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439 apt \u0434\u043b\u044f \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u043d\u044f \u0442\u0430 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0446\u044c\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f:<\/p>\n\n\n\n<p><code>sudo apt install mysql-server<\/code><\/p>\n\n\n\n<p>\u0429\u043e\u0431 \u043f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f, \u0432\u0432\u0435\u0434\u0438 <strong>Y<\/strong>, \u0430 \u043f\u043e\u0442\u0456\u043c \u043d\u0430\u0442\u0438\u0441\u043d\u0438 ENTER.<\/p>\n\n\n\n<p>\u0414\u0430\u043b\u0456 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0431\u0435\u0437\u043f\u0435\u043a\u0438, \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u0443 MySQL. \u0412\u0456\u043d \u0432\u0438\u0434\u0430\u043b\u044f\u0442\u0438\u043c\u0435 \u0434\u0435\u044f\u043a\u0456 \u043d\u0435\u0431\u0435\u0437\u043f\u0435\u0447\u043d\u0456 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0456 \u0431\u043b\u043e\u043a\u0443\u0432\u0430\u0442\u0438\u043c\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0438 \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u0431\u0430\u0437\u0438 \u0434\u0430\u043d\u0438\u0445. \u0429\u043e\u0431 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0438 \u0456\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439 \u0441\u043a\u0440\u0438\u043f\u0442, \u0432\u0438\u043a\u043e\u043d\u0430\u0454\u043c\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n\n\n\n<p><code>sudo mysql_secure_installation<\/code><\/p>\n\n\n\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u0437\u0430\u043f\u0440\u043e\u043f\u043e\u043d\u0443\u0454 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u043f\u043b\u0430\u0433\u0456\u043d VALIDATE PASSWORD PLUGIN.<\/p>\n\n\n\n<p>\u0426\u044e \u0444\u0443\u043d\u043a\u0446\u0456\u044e \u0441\u043b\u0456\u0434 \u0430\u043a\u0442\u0438\u0432\u0443\u0432\u0430\u0442\u0438 \u0437\u0430 \u043d\u0430\u044f\u0432\u043d\u043e\u0441\u0442\u0456 \u043f\u0435\u0432\u043d\u0438\u0445 \u043f\u0456\u0434\u0441\u0442\u0430\u0432. \u042f\u043a\u0449\u043e \u0432\u043e\u043d\u0430 \u0430\u043a\u0442\u0438\u0432\u043e\u0432\u0430\u043d\u0430, MySQL \u0432\u0456\u0434\u0445\u0438\u043b\u044f\u0442\u0438\u043c\u0435 \u043f\u0430\u0440\u043e\u043b\u0456, \u0449\u043e \u043d\u0435 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u044e\u0442\u044c \u043f\u0435\u0432\u043d\u0438\u043c \u043a\u0440\u0438\u0442\u0435\u0440\u0456\u044f\u043c, \u0456 \u043f\u043e\u043a\u0430\u0437\u0443\u0432\u0430\u0442\u0438\u043c\u0435 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u043f\u0440\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443. \u0417\u0430\u043b\u0438\u0448\u0438\u0442\u0438 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0443 \u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e\u044e \u0434\u043e\u0441\u0438\u0442\u044c \u0431\u0435\u0437\u043f\u0435\u0447\u043d\u043e, \u0430\u043b\u0435 \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0443 \u0434\u043e \u0431\u0430\u0437\u0438 \u0434\u0430\u043d\u0438\u0445 \u0437\u0430\u0432\u0436\u0434\u0438 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u043d\u0430\u0434\u0456\u0439\u043d\u0456 \u0443\u043d\u0456\u043a\u0430\u043b\u044c\u043d\u0456 \u043f\u0430\u0440\u043e\u043b\u0456.<\/p>\n\n\n\n<p>\u041e\u0431\u0435\u0440\u0438 <strong>Y<\/strong> \u0434\u043b\u044f \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0456\u0457 \u0430\u0431\u043e \u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u0439 \u0456\u043d\u0448\u0438\u0439 \u0432\u0430\u0440\u0456\u0430\u043d\u0442, \u0449\u043e\u0431 \u043f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438 \u0431\u0435\u0437 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0456\u0457 \u0446\u0456\u0454\u0457 \u0444\u0443\u043d\u043a\u0446\u0456\u0457.<\/p>\n\n\n\n<p>\u0414\u0430\u043b\u0456 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u0440\u0456\u0432\u0435\u043d\u044c \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0438 \u043f\u0430\u0440\u043e\u043b\u044f. \u042f\u043a\u0449\u043e \u0432\u043a\u0430\u0436\u0435\u0448 \u043d\u0430\u0439\u0432\u0438\u0449\u0438\u0439 \u0440\u0456\u0432\u0435\u043d\u044c 2, \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0431\u0443\u0434\u0435 \u0432\u0438\u0432\u043e\u0434\u0438\u0442\u0438 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u043f\u0440\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443 \u043f\u0440\u0438 \u0441\u043f\u0440\u043e\u0431\u0456 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u043f\u0430\u0440\u043e\u043b\u044f, \u044f\u043a\u0438\u0439 \u043d\u0435 \u043c\u0456\u0441\u0442\u0438\u0442\u0438\u043c\u0435 \u0446\u0438\u0444\u0440\u0438, \u043b\u0456\u0442\u0435\u0440\u0438 \u0443 \u0432\u0435\u0440\u0445\u043d\u044c\u043e\u043c\u0443 \u0442\u0430 \u043d\u0438\u0436\u043d\u044c\u043e\u043c\u0443 \u0440\u0435\u0433\u0456\u0441\u0442\u0440\u0456 \u0442\u0430 \u0441\u043f\u0435\u0446\u0456\u0430\u043b\u044c\u043d\u0456 \u0441\u0438\u043c\u0432\u043e\u043b\u0438 \u0430\u0431\u043e \u043c\u0456\u0441\u0442\u0438\u0442\u0438\u043c\u0435 \u043f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u0441\u043b\u043e\u0432\u043d\u0438\u043a\u043e\u0432\u0456 \u0441\u043b\u043e\u0432\u0430.<\/p>\n\n\n\n<p>\u041d\u0435\u0437\u0430\u043b\u0435\u0436\u043d\u043e \u0432\u0456\u0434 \u0442\u043e\u0433\u043e, \u0447\u0438 \u0431\u0443\u0434\u0435\u0448 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u043f\u043b\u0430\u0433\u0456\u043d VALIDATE PASSWORD PLUGIN, \u0442\u0432\u0456\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0437\u0430\u043f\u0440\u043e\u043f\u043e\u043d\u0443\u0454 \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u0442\u0430 \u043f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 root \u0432 MySQL. \u041d\u0435 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043f\u043b\u0443\u0442\u0430\u0442\u0438 \u0439\u043e\u0433\u043e \u0456\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0438\u043c \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0435\u043c root. \u041a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 root \u0431\u0430\u0437\u0438 \u0434\u0430\u043d\u0438\u0445 \u2014 \u0446\u0435 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u0437 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u0430\u0434\u043c\u0456\u043d\u0456\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430, \u044f\u043a\u0438\u0439 \u043c\u0430\u0454 \u0432\u0441\u0456 \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0440\u043e\u0431\u043e\u0442\u0443 \u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u044e \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u0431\u0430\u0437\u0438 \u0434\u0430\u043d\u0438\u0445. \u0425\u043e\u0447\u0430 \u0432 MySQL \u043c\u0435\u0442\u043e\u0434 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u0457 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 root \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u043d\u0435 \u0432\u0438\u043c\u0430\u0433\u0430\u0454 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u043f\u0430\u0440\u043e\u043b\u044f \u043d\u0430\u0432\u0456\u0442\u044c \u0437\u0430 \u0439\u043e\u0433\u043e \u043d\u0430\u044f\u0432\u043d\u043e\u0441\u0442\u0456, \u0430\u043b\u0435 \u0437\u0430\u0434\u0430\u0439 \u043d\u0430\u0434\u0456\u0439\u043d\u0438\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u043e\u0433\u043e \u0437\u0430\u0445\u0438\u0441\u0442\u0443.<\/p>\n\n\n\n<p>\u0414\u043b\u044f \u0432\u0441\u0456\u0445 \u0456\u043d\u0448\u0438\u0445 \u043f\u0438\u0442\u0430\u043d\u044c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0432\u0438\u0431\u0438\u0440\u0430\u0442\u0438 <strong>Y<\/strong> \u0442\u0430 \u043d\u0430\u0442\u0438\u0441\u043a\u0430\u0442\u0438 ENTER \u0443 \u043a\u043e\u0436\u043d\u043e\u043c\u0443 \u0434\u0456\u0430\u043b\u043e\u0437\u0456. \u0412\u0438\u0431\u0440\u0430\u0432\u0448\u0438 \u0446\u0456 \u043e\u043f\u0446\u0456\u0457, \u0442\u0438 \u0432\u0438\u0434\u0430\u043b\u0438\u0448 \u0440\u044f\u0434 \u0430\u043d\u043e\u043d\u0456\u043c\u043d\u0438\u0445 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456\u0432 \u0456 \u0442\u0435\u0441\u0442\u043e\u0432\u0443 \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u0438\u0445. \u0412\u0456\u0434\u043a\u043b\u044e\u0447\u0438\u0448 \u043c\u043e\u0436\u043b\u0438\u0432\u0456\u0441\u0442\u044c \u0432\u0456\u0434\u0434\u0430\u043b\u0435\u043d\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u0443 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 root \u0456 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u0448 \u043d\u043e\u0432\u0456 \u043f\u0440\u0430\u0432\u0438\u043b\u0430, \u0449\u043e\u0431 \u0432\u043d\u0435\u0441\u0435\u043d\u0456 \u0437\u043c\u0456\u043d\u0438 \u043d\u0435\u0433\u0430\u0439\u043d\u043e \u0430\u043a\u0442\u0438\u0432\u0443\u0432\u0430\u043b\u0438\u0441\u044f MySQL.<\/p>\n\n\n\n<p>\u041f\u0456\u0441\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0432\u0456\u0440 \u043c\u043e\u0436\u043b\u0438\u0432\u0456\u0441\u0442\u044c \u0432\u0445\u043e\u0434\u0443 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c MySQL:<\/p>\n\n\n\n<p><code>sudo mysql<\/code><\/p>\n\n\n\n<p>\u0412\u0456\u0434\u0442\u0430\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0434\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 MySQL \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 root \u0431\u0430\u0437\u0438 \u0434\u0430\u043d\u0438\u0445 \u0456\u0437 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u0430\u0434\u043c\u0456\u043d\u0456\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430, \u044f\u043a\u0438\u0439 \u0432\u0438\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0456 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f sudo \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u0446\u0456\u0454\u0457 \u043a\u043e\u043c\u0430\u043d\u0434\u0438.<\/p>\n\n\n\n<p>\u0414\u043b\u044f \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u043e\u0457 \u0431\u0435\u0437\u043f\u0435\u043a\u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0454\u0442\u044c\u0441\u044f \u043c\u0430\u0442\u0438 \u0441\u043f\u0435\u0446\u0456\u0430\u043b\u044c\u043d\u0456 \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u0456 \u0437\u0430\u043f\u0438\u0441\u0438 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456\u0432 \u0437 \u043c\u0435\u043d\u0448\u0438\u043c\u0438 \u043f\u0440\u0438\u0432\u0456\u043b\u0435\u044f\u043c\u0438, \u043e\u0441\u043e\u0431\u043b\u0438\u0432\u043e \u044f\u043a\u0449\u043e \u043f\u043b\u0430\u043d\u0443\u0454\u0448 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u043a\u0456\u043b\u044c\u043a\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0456.<\/p>\n\n\n\n<p><strong>\u041a\u0440\u043e\u043a 3. \u041f\u0440\u0430\u0446\u044e\u0454\u043c\u043e \u043d\u0430\u0434 PHP<\/strong><\/p>\n\n\n\n<p>\u041e\u0442\u0436\u0435, \u0449\u043e \u043c\u0438 \u043c\u0430\u0454\u043c\u043e? \u0422\u0438 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0432 Nginx \u0434\u043b\u044f \u043e\u0431\u0441\u043b\u0443\u0433\u043e\u0432\u0443\u0432\u0430\u043d\u043d\u044f \u0441\u0432\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u0442\u0430 MySQL \u0434\u043b\u044f \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f \u0442\u0430 \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u043c\u0438. \u0422\u0435\u043f\u0435\u0440 \u043c\u043e\u0436\u0435\u0448 \u0456\u043d\u0441\u0442\u0430\u043b\u044e\u0432\u0430\u0442\u0438 PHP \u0434\u043b\u044f \u043e\u0431\u0440\u043e\u0431\u043a\u0438 \u043a\u043e\u0434\u0443 \u0442\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0456\u0457 \u0434\u0438\u043d\u0430\u043c\u0456\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443 \u0434\u043b\u044f \u0432\u0435\u0431\u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n\n\n\n<p>\u0429\u043e\u0431 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0434\u0432\u0430 \u043f\u0430\u043a\u0435\u0442\u0438 \u2014 php-fpm \u0442\u0430 php-mysql \u0441\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0439\u0441\u044f \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u044e:<\/p>\n\n\n\n<p><code>sudo apt install php-fpm php-mysql<\/code><\/p>\n\n\n\n<p>\u041f\u0456\u0434 \u0447\u0430\u0441 \u043d\u0430\u0434\u0445\u043e\u0434\u0436\u0435\u043d\u043d\u044f \u0437\u0430\u043f\u0438\u0442\u0443 \u0432\u0432\u0435\u0434\u0438 <strong>Y<\/strong> \u0442\u0430 ENTER \u0434\u043b\u044f \u043f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043d\u043d\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438.<\/p>\n\n\n\n<p><strong>\u041a\u0440\u043e\u043a 4. \u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f Nginx \u0434\u043b\u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u043e\u0440\u0430 PHP<\/strong><\/p>\n\n\n\n<p>\u041d\u0430 Ubuntu 20.04 \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0454 \u043e\u0434\u0438\u043d \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0438\u0439 \u0431\u043b\u043e\u043a, \u043d\u0430\u043b\u0430\u0448\u0442\u043e\u0432\u0430\u043d\u0438\u0439 \u0434\u043b\u044f \u0432\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0456\u0432 \u0456\u0437 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0457<strong> \/var\/www\/html<\/strong>. \u0425\u043e\u0447\u0430 \u0446\u0435 \u0434\u043e\u0431\u0440\u0435 \u043f\u0440\u0430\u0446\u044e\u0454 \u0434\u043b\u044f \u043e\u043a\u0440\u0435\u043c\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0443, \u043f\u0440\u0438 \u0440\u043e\u0437\u043c\u0456\u0449\u0435\u043d\u043d\u0456 \u043a\u0456\u043b\u044c\u043a\u043e\u0445 \u0441\u0430\u0439\u0442\u0456\u0432 \u0446\u0435 \u043c\u043e\u0436\u0435 \u0437\u0430\u0432\u0434\u0430\u0432\u0430\u0442\u0438 \u043d\u0435\u0437\u0440\u0443\u0447\u043d\u043e\u0441\u0442\u0435\u0439.&nbsp;<\/p>\n\n\n\n<p>\u0417\u0430\u043c\u0456\u0441\u0442\u044c \u0437\u043c\u0456\u043d\u0438 <strong>\/var\/www\/html<\/strong> \u043c\u0438 \u0441\u0442\u0432\u043e\u0440\u0438\u043c\u043e \u0432\u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0456 <strong>\/var\/www \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443<\/strong> \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0439 \u0434\u043b\u044f \u043d\u0430\u0448\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0443 your_domain, \u0437\u0430\u043b\u0438\u0448\u0438\u0432\u0448\u0438 \/var\/www\/html \u044f\u043a \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u044f \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0434\u043b\u044f \u0432\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044f \u0443 \u0432\u0438\u043f\u0430\u0434\u043a\u0443, \u044f\u043a\u0449\u043e \u0437\u0430\u043f\u0438\u0442 \u043a\u043b\u0456\u0454\u043d\u0442\u0430 \u043d\u0435 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u0436\u043e\u0434\u043d\u0438\u043c \u0456\u043d\u0448\u0438\u043c \u0441\u0430\u0439\u0442\u0430\u043c.<\/p>\n\n\n\n<p>\u0421\u0442\u0432\u043e\u0440\u0438 \u043a\u043e\u0440\u0435\u043d\u0435\u0432\u0443 \u0432\u0435\u0431\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u044e \u0434\u043b\u044f your_domain \u0442\u0430\u043a\u0438\u043c \u0447\u0438\u043d\u043e\u043c:<\/p>\n\n\n\n<p><code>sudo mkdir \/var\/www\/your_domain<\/code><\/p>\n\n\n\n<p>\u041f\u043e\u0442\u0456\u043c \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0438\u0442\u0438 \u043f\u0440\u0430\u0432\u0430 \u0432\u043e\u043b\u043e\u0434\u0456\u043d\u043d\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u044e \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0437\u043c\u0456\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0435\u0434\u043e\u0432\u0438\u0449\u0430 $USER, \u044f\u043a\u0435 \u0431\u0443\u0434\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430:<\/p>\n\n\n\n<p><code>sudo chown -R $USER:$USER \/var\/www\/your_domain<\/code><\/p>\n\n\n\n<p>\u041f\u0456\u0441\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u0432\u0456\u0434\u043a\u0440\u0438\u0439 \u043d\u043e\u0432\u0438\u0439 \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0457 Nginx sites-available \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0433\u043e \u0440\u044f\u0434\u043a\u0430. \u041c\u0438 \u0431\u0443\u0434\u0435\u043c\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 nano:<\/p>\n\n\n\n<p><code>sudo nano \/etc\/nginx\/sites-available\/your_domain<\/code><\/p>\n\n\n\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0456 \u0441\u0442\u0432\u043e\u0440\u0438\u043b\u0438 \u043d\u043e\u0432\u0438\u0439 \u043f\u043e\u0440\u043e\u0436\u043d\u0456\u0439 \u0444\u0430\u0439\u043b. \u0412\u0441\u0442\u0430\u0432 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443 \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u0443 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044e:<\/p>\n\n\n\n<p><code>server {<\/code><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;<code>&nbsp;listen 80;<\/code><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;<code>&nbsp;server_name your_domain www.your_domain;<\/code><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;<code>&nbsp;root \/var\/www\/your_domain;<\/code><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;<code>index index.html index.htm index.php;<\/code><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;<code>location \/ {<\/code><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try_files $uri $uri\/ =404;<\/code><\/p>\n\n\n\n<p>&nbsp;&nbsp;<code>&nbsp;&nbsp;}<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;location ~ \\.php$ {<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include snippets\/fastcgi-php.conf;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_pass unix:\/var\/run\/php\/php7.4-fpm.sock;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;location ~ \/\\.ht {<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;deny all;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;}<\/code><\/p>\n\n\n\n<p><code>}<\/code><\/p>\n\n\n\n<p><strong><em>\u0417\u0430\u043b\u0438\u0448\u0438\u043c\u043e \u0434\u043b\u044f \u0442\u0435\u0431\u0435 \u043e\u043f\u0438\u0441\u0438 \u0434\u0456\u0457 \u0446\u0438\u0445 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432 \u0442\u0430 \u0431\u043b\u043e\u043a\u0456\u0432 \u0440\u043e\u0437\u0442\u0430\u0448\u0443\u0432\u0430\u043d\u043d\u044f:<\/em><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>listen <\/strong><strong>\u2014<\/strong><strong> <\/strong>\u0432\u0438\u0437\u043d\u0430\u0447\u0430\u0454, \u0449\u043e \u043f\u0440\u043e\u0441\u043b\u0443\u0445\u043e\u0432\u0443\u0432\u0430\u0442\u0438\u043c\u0435 \u043f\u043e\u0440\u0442 Nginx. \u0423 \u0446\u044c\u043e\u043c\u0443 \u0432\u0438\u043f\u0430\u0434\u043a\u0443 \u0432\u0456\u043d \u043f\u0440\u043e\u0441\u043b\u0443\u0445\u043e\u0432\u0443\u0432\u0430\u0442\u0438\u043c\u0435 \u043f\u043e\u0440\u0442 80, \u044f\u043a\u0438\u0439 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0434\u043b\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 HTTP.<\/li>\n\n\n\n<li><strong>root <\/strong>\u2014 \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u0454 \u043a\u043e\u0440\u0435\u043d\u0435\u0432\u0443 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u044e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430, \u0434\u0435 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0444\u0430\u0439\u043b\u0438, \u044f\u043a\u0456 \u043e\u0431\u0441\u043b\u0443\u0433\u043e\u0432\u0443\u0454 \u0446\u0435\u0439 \u0441\u0430\u0439\u0442.<\/li>\n\n\n\n<li><strong>index <\/strong>\u2014 \u0437\u0430\u0434\u0430\u0454 \u0434\u043b\u044f Nginx \u043f\u0440\u0456\u043e\u0440\u0438\u0442\u0435\u0442 \u043e\u0431\u0441\u043b\u0443\u0433\u043e\u0432\u0443\u0432\u0430\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0456\u0432 \u0456\u043d\u0434\u0435\u043a\u0441\u0443 \u0434\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0443. \u0414\u043e\u0441\u0438\u0442\u044c \u0447\u0430\u0441\u0442\u043e \u0432\u043a\u0430\u0437\u0443\u044e\u0442\u044c \u0444\u0430\u0439\u043b\u0438 index.html, \u044f\u043a\u0456 \u043c\u0430\u044e\u0442\u044c \u043d\u0430\u0439\u0432\u0438\u0449\u0438\u0439 \u043f\u0440\u0456\u043e\u0440\u0438\u0442\u0435\u0442 \u0443 \u043f\u043e\u0440\u0456\u0432\u043d\u044f\u043d\u043d\u0456 \u0437 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 index.php, \u0449\u043e\u0431 \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0438\u0442\u0438 \u0448\u0432\u0438\u0434\u043a\u0435 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u043f\u043e\u0447\u0430\u0442\u043a\u043e\u0432\u043e\u0457 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0438 \u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430\u0445 PHP. \u041c\u043e\u0436\u0435\u0448 \u0437\u043c\u0456\u043d\u044e\u0432\u0430\u0442\u0438 \u0446\u0456 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0437\u0430\u043b\u0435\u0436\u043d\u043e \u0432\u0456\u0434 \u043f\u043e\u0442\u0440\u0435\u0431 \u0442\u0432\u043e\u0454\u0457 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438.<\/li>\n\n\n\n<li><strong>server_name <\/strong>\u2014 \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u0454, \u043d\u0430 \u044f\u043a\u0456 \u0434\u043e\u043c\u0435\u043d\u043d\u0456 \u0456\u043c\u0435\u043d\u0430 \u0442\u0430\/\u0430\u0431\u043e IP-\u0430\u0434\u0440\u0435\u0441\u0438 \u043c\u0430\u0454 \u0440\u0435\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0432\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0438\u0439 \u0431\u043b\u043e\u043a. \u0426\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0430 \u043f\u043e\u0432\u0438\u043d\u043d\u0430 \u0432\u043a\u0430\u0437\u0443\u0432\u0430\u0442\u0438 \u043d\u0430 \u0434\u043e\u043c\u0435\u043d\u043d\u0435 \u0456\u043c&#8217;\u044f \u0430\u0431\u043e \u043f\u0443\u0431\u043b\u0456\u0447\u043d\u0443 IP-\u0430\u0434\u0440\u0435\u0441\u0443 \u0442\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/li>\n\n\n\n<li><strong>location \/<\/strong> \u2014 \u043f\u0435\u0440\u0448\u0438\u0439 \u0431\u043b\u043e\u043a \u0440\u043e\u0437\u0442\u0430\u0448\u0443\u0432\u0430\u043d\u043d\u044f \u0432\u043a\u043b\u044e\u0447\u0430\u0454 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0443 try_files, \u044f\u043a\u0430 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u044f\u0454 \u043d\u0430\u044f\u0432\u043d\u0456\u0441\u0442\u044c \u0444\u0430\u0439\u043b\u0456\u0432 \u0447\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0439, \u044f\u043a\u0456 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u044e\u0442\u044c \u0437\u0430\u043f\u0438\u0442\u0443 URI. \u042f\u043a\u0449\u043e Nginx \u043d\u0435 \u0437\u043c\u043e\u0436\u0435 \u0437\u043d\u0430\u0439\u0442\u0438 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u0438\u0439 \u0440\u0435\u0441\u0443\u0440\u0441, \u0431\u0443\u0434\u0435 \u043f\u043e\u043c\u0438\u043b\u043a\u0430 404.<\/li>\n\n\n\n<li><strong>location ~ \\.php$<\/strong> \u2014 \u0446\u0435\u0439 \u0431\u043b\u043e\u043a \u0440\u043e\u0437\u0442\u0430\u0448\u0443\u0432\u0430\u043d\u043d\u044f \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u0437\u0430 \u0444\u0430\u043a\u0442\u0438\u0447\u043d\u0443 \u043e\u0431\u0440\u043e\u0431\u043a\u0443 PHP \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0432\u043a\u0430\u0437\u0456\u0432\u043a\u0438 Nginx \u043d\u0430 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439\u043d\u0438\u0439 \u0444\u0430\u0439\u043b fastcgi-php.conf \u0456 \u0444\u0430\u0439\u043b php7.4-fpm.sock, \u044f\u043a\u0438\u0439 \u043e\u0433\u043e\u043b\u043e\u0448\u0443\u0454, \u044f\u043a\u0438\u0439 \u0441\u043e\u043a\u0435\u0442 \u0430\u0441\u043e\u0446\u0456\u0439\u043e\u0432\u0430\u043d\u0438\u0439 \u0437 php-fpm.<\/li>\n\n\n\n<li><strong>location ~ \/\\.ht<\/strong> \u2014 \u043e\u0441\u0442\u0430\u043d\u043d\u0456\u0439 \u0431\u043b\u043e\u043a \u0440\u043e\u0437\u0442\u0430\u0448\u0443\u0432\u0430\u043d\u043d\u044f \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u0437\u0430 \u0444\u0430\u0439\u043b\u0438 .htaccess, \u044f\u043a\u0456 Nginx \u043d\u0435 \u043e\u0431\u0440\u043e\u0431\u043b\u044f\u0454. \u041f\u0440\u0438 \u0434\u043e\u0434\u0430\u0432\u0430\u043d\u043d\u0456 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0438 deny all, \u044f\u043a\u0449\u043e \u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u0439 \u0456\u0437 \u0444\u0430\u0439\u043b\u0456\u0432 .htaccess \u043f\u043e\u0442\u0440\u0430\u043f\u0438\u0442\u044c \u0434\u043e \u043a\u043e\u0440\u0435\u043d\u0435\u0432\u043e\u0457 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0457 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430, \u0442\u043e \u0432\u043e\u043d\u0438 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442\u044c \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u0438\u0441\u044c \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0430\u043c.<\/li>\n<\/ul>\n\n\n\n<p>\u041a\u043e\u043b\u0438 \u0437\u0430\u043a\u0456\u043d\u0447\u0438\u0448 \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u043d\u043d\u044f, \u0437\u0431\u0435\u0440\u0435\u0436\u0438 \u0442\u0430 \u0437\u0430\u043a\u0440\u0438\u0439 \u0444\u0430\u0439\u043b. \u042f\u043a\u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0448 nano, \u043c\u043e\u0436\u043d\u0430 \u0432\u0432\u0435\u0441\u0442\u0438 CTRL+X, \u0430 \u043f\u043e\u0442\u0456\u043c <strong>Y<\/strong> \u0442\u0430 ENTER \u0434\u043b\u044f \u043f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043d\u043d\u044f.<\/p>\n\n\n\n<p>\u0414\u0430\u043b\u0456 \u0432\u0430\u0440\u0442\u043e \u0430\u043a\u0442\u0438\u0432\u0443\u0432\u0430\u0442\u0438 \u043d\u043e\u0432\u0438\u0439 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0439\u043d\u0438\u0439 \u0444\u0430\u0439\u043b \u0441\u0430\u0439\u0442\u0443 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f \u043d\u0430 \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0437 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0457 Nginx sites-enabled:<\/p>\n\n\n\n<p><code>sudo ln -s \/etc\/nginx\/sites-available\/your_domain \/etc\/nginx\/sites-enabled\/<\/code><\/p>\n\n\n\n<p>\u0422\u043e\u0434\u0456 Nginx \u0431\u0443\u0434\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0446\u044e \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044e \u043f\u0456\u0441\u043b\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f. \u0422\u0438 \u043c\u043e\u0436\u0435\u0448 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0443\u0432\u0430\u0442\u0438 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044e \u043d\u0430 \u043d\u0430\u044f\u0432\u043d\u0456\u0441\u0442\u044c \u043f\u043e\u043c\u0438\u043b\u043e\u043a \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0443 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0438:<\/p>\n\n\n\n<p><code>sudo nginx -t<\/code><\/p>\n\n\n\n<p>\u042f\u043a\u0449\u043e \u0454 \u044f\u043a\u0456\u0441\u044c \u043f\u043e\u043c\u0438\u043b\u043a\u0438, \u043f\u0435\u0440\u0435\u0434 \u0442\u0438\u043c, \u044f\u043a \u043f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438, \u043f\u043e\u0432\u0435\u0440\u043d\u0438\u0441\u044c \u0434\u043e \u0444\u0430\u0439\u043b\u0443 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0442\u0430 \u043f\u0435\u0440\u0435\u0432\u0456\u0440 \u0439\u043e\u0433\u043e \u0437\u043c\u0456\u0441\u0442. \u041f\u043e\u0442\u0456\u043c \u043f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436 Nginx \u0434\u043b\u044f \u0432\u043d\u0435\u0441\u0435\u043d\u043d\u044f \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0438\u0445 \u0437\u043c\u0456\u043d:<\/p>\n\n\n\n<p><code>sudo systemctl reload nginx<\/code><\/p>\n\n\n\n<p>\u0422\u0435\u043f\u0435\u0440 \u0442\u0432\u0456\u0439 \u043d\u043e\u0432\u0438\u0439 \u0441\u0430\u0439\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439, \u0430\u043b\u0435 \u043a\u043e\u0440\u0435\u043d\u0435\u0432\u0430 \u0432\u0435\u0431\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u044f <strong>\/var\/www\/your_domain<\/strong> \u0432\u0441\u0435 \u0449\u0435 \u043f\u043e\u0440\u043e\u0436\u043d\u044f. \u0421\u0442\u0432\u043e\u0440\u0438 \u0444\u0430\u0439\u043b index.html \u0443 \u0446\u044c\u043e\u043c\u0443 \u043c\u0456\u0441\u0446\u0456, \u0449\u043e\u0431 \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0442\u0438\u0441\u044f, \u0449\u043e \u0432\u0435\u0431\u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043e\u0431\u0440\u0435 \u043f\u0440\u0430\u0446\u044e\u0454:<\/p>\n\n\n\n<p><code>nano \/var\/www\/your_domain\/index.html<\/code><\/p>\n\n\n\n<p>\u0414\u0430\u043b\u0456 \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u0440\u043e\u0437\u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u0443 \u0444\u0430\u0439\u043b\u0456:<\/p>\n\n\n\n<p><code>&lt;html&gt;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&lt;head&gt;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;your_domain website&lt;\/title&gt;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&lt;\/head&gt;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&lt;body&gt;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;h1&gt;Hello World!&lt;\/h1&gt;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;This is the landing page of &lt;strong&gt;your_domain&lt;\/strong&gt;.&lt;\/p&gt;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&lt;\/body&gt;<\/code><\/p>\n\n\n\n<p><code>&lt;\/html&gt;<\/code><\/p>\n\n\n\n<p>\u0412\u0456\u0434\u043a\u0440\u0438\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0456 \u043e\u0442\u0440\u0438\u043c\u0430\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0434\u043e\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0456\u043c\u0435\u043d\u0456 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0430\u0431\u043e IP-\u0430\u0434\u0440\u0435\u0441\u0438, \u044f\u043a \u0437\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043e \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0456 server_name \u0443 \u0444\u0430\u0439\u043b\u0456 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0443:<\/p>\n\n\n\n<p><code>http:\/\/server_domain_or_IP<\/code><\/p>\n\n\n\n<p>\u0422\u0438 \u043c\u043e\u0436\u0435\u0448 \u0437\u0430\u043b\u0438\u0448\u0438\u0442\u0438 \u0446\u0435\u0439 \u0444\u0430\u0439\u043b \u044f\u043a \u0442\u0438\u043c\u0447\u0430\u0441\u043e\u0432\u0443 \u043f\u043e\u0447\u0430\u0442\u043a\u043e\u0432\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 \u0434\u043b\u044f \u0441\u0432\u043e\u0454\u0457 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438, \u043f\u043e\u043a\u0438 \u043d\u0435 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0454\u0448 \u0444\u0430\u0439\u043b <strong>index.php<\/strong> \u0434\u043b\u044f \u0439\u043e\u0433\u043e \u0437\u0430\u043c\u0456\u043d\u0438. \u042f\u043a \u0442\u0456\u043b\u044c\u043a\u0438 \u0437\u0440\u043e\u0431\u0438\u0448 \u0446\u0435, \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c \u0432\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0430\u0431\u043e \u043f\u0435\u0440\u0435\u0439\u043c\u0435\u043d\u0443\u0432\u0430\u0442\u0438 \u0444\u0430\u0439\u043b <strong>index.html<\/strong> \u0437 \u043a\u043e\u0440\u0435\u043d\u0435\u0432\u043e\u0457 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0457 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0456\u0432, \u043e\u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0432\u0456\u043d \u0437\u0430 \u0434\u0435\u0444\u043e\u043b\u0442\u043e\u043c \u043c\u0430\u0442\u0438\u043c\u0435 \u043f\u0440\u0456\u043e\u0440\u0438\u0442\u0435\u0442 \u043f\u0435\u0440\u0435\u0434 \u0444\u0430\u0439\u043b\u043e\u043c index.php.<\/p>\n\n\n\n<p><strong>\u041a\u0440\u043e\u043a 5. \u0417\u0430\u0439\u043c\u0430\u0454\u043c\u043e\u0441\u044f \u0456\u043d\u0441\u0442\u0430\u043b\u044f\u0446\u0456\u0454\u044e \u0441\u0442\u0435\u043a\u0430 \u043d\u0430 Ubuntu 22.04<\/strong><\/p>\n\n\n\n<p>\u041a\u043e\u043b\u0438 \u0442\u0438 \u043e\u0437\u043d\u0430\u0439\u043e\u043c\u0438\u0432\u0441\u044f \u0437 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u043c \u00ab\u0432\u0430\u0440\u0456\u0430\u043d\u0442\u043e\u043c\u00bb \u0456\u043d\u0441\u0442\u0430\u043b\u044f\u0446\u0456\u0457, \u0442\u043e \u0442\u0435\u043f\u0435\u0440 \u043f\u043e\u043a\u0430\u0436\u0435\u043c\u043e, \u044f\u043a \u0446\u0435 \u0437\u0440\u043e\u0431\u0438\u0442\u0438 \u043d\u0430 Ubuntu 22.04.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u041e\u043d\u043e\u0432\u043b\u044e\u0454\u043c\u043e Ubuntu<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u041f\u0435\u0440\u0435\u0434 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f\u043c LEMP \u0441\u0442\u0435\u043a\u0430 \u043e\u043d\u043e\u0432\u043b\u044e\u0454\u043c\u043e \u043f\u0430\u043a\u0435\u0442\u0438 Ubuntu. \u0414\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0442\u0435\u0440\u043c\u0456\u043d\u0430\u043b \u0442\u0430 \u0432\u0438\u043a\u043e\u043d\u0430\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0438:<\/p>\n\n\n\n<p><code>sudo apt update<\/code><\/p>\n\n\n\n<p><code>sudo apt upgrade<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0412\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0454\u043c\u043e Nginx<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Nginx \u0454 \u0432\u0435\u0431\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c, \u044f\u043a\u0438\u0439 \u0434\u043e\u0437\u0432\u043e\u043b\u044f\u0454 \u043e\u0431\u0441\u043b\u0443\u0433\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u0438\u0439 \u0442\u0430 \u0434\u0438\u043d\u0430\u043c\u0456\u0447\u043d\u0438\u0439 \u043a\u043e\u043d\u0442\u0435\u043d\u0442. \u0414\u043b\u044f \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f Nginx \u0432\u0438\u043a\u043e\u043d\u0430\u0439\u0442\u0435 \u0442\u0430\u043a\u0456 \u043a\u043e\u043c\u0430\u043d\u0434\u0438:<\/p>\n\n\n\n<p><code>sudo apt install nginx<\/code><\/p>\n\n\n\n<p><code>sudo systemctl start nginx<\/code><\/p>\n\n\n\n<p><code>sudo systemctl enable nginx<\/code><\/p>\n\n\n\n<p>\u041f\u0456\u0441\u043b\u044f \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f Nginx \u043c\u043e\u0436\u043d\u0430 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u0440\u043e\u0431\u043e\u0442\u0443 \u0432\u0435\u0431\u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0432\u0456\u0434\u043a\u0440\u0438\u0432\u0448\u0438 \u0432\u0435\u0431\u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0456 \u0432\u0432\u043e\u0434\u0438\u0442\u0438 \u0432 \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u043c\u0443 \u0440\u044f\u0434\u043a\u0443 IP-\u0430\u0434\u0440\u0435\u0441\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Ubuntu. \u0422\u0438 \u043c\u0430\u0454\u0448 \u043f\u043e\u0431\u0430\u0447\u0438\u0442\u0438 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 \u043f\u0440\u0438\u0432\u0456\u0442\u0430\u043d\u043d\u044f Nginx.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0406\u043d\u0441\u0442\u0430\u043b\u044f\u0446\u0456\u044f MySQL<\/strong><\/li>\n<\/ul>\n\n\n\n<p>MySQL \u0454 \u0440\u0435\u043b\u044f\u0446\u0456\u0439\u043d\u043e\u044e \u0431\u0430\u0437\u043e\u044e \u0434\u0430\u043d\u0438\u0445, \u044f\u043a\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f \u0434\u0430\u043d\u0438\u0445 \u0432\u0435\u0431\u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043a\u0456\u0432. \u0414\u043b\u044f \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f MySQL \u0432\u0438\u043a\u043e\u043d\u0430\u0439 \u0442\u0430\u043a\u0456 \u043a\u043e\u043c\u0430\u043d\u0434\u0438:<\/p>\n\n\n\n<p><code>sudo apt install mysql-server<\/code><\/p>\n\n\n\n<p><code>sudo systemctl start mysql<\/code><\/p>\n\n\n\n<p><code>sudo systemctl enable mysql<\/code><\/p>\n\n\n\n<p>\u0414\u0430\u043b\u0456 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u0438\u0445 \u0442\u0430 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430:<\/p>\n\n\n\n<p><code>sudo mysql_secure_installation<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u041f\u0440\u0430\u0446\u044e\u0454\u043c\u043e \u043d\u0430\u0434 PHP 7.4<\/strong><\/li>\n<\/ul>\n\n\n\n<p>PHP \u0454 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432\u043e\u044e \u043c\u043e\u0432\u043e\u044e, \u044f\u043a\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0434\u0438\u043d\u0430\u043c\u0456\u0447\u043d\u0438\u0445 \u0432\u0435\u0431\u0441\u0442\u043e\u0440\u0456\u043d\u043e\u043a. \u0423 \u043d\u0430\u0448\u043e\u043c\u0443 \u0432\u0438\u043f\u0430\u0434\u043a\u0443 \u043c\u0438 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c\u043e PHP \u0434\u043b\u044f \u0440\u043e\u0431\u043e\u0442\u0438 \u0432 \u0440\u0435\u0436\u0438\u043c\u0456 FastCGI:<\/p>\n\n\n\n<p><code>sudo apt install php-fpm php-mysql<\/code><\/p>\n\n\n\n<p><code>sudo systemctl start php7.4-fpm<\/code><\/p>\n\n\n\n<p><code>sudo systemctl enable php7.4-fpm<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u041d\u0430\u043b\u0430\u0448\u0442\u043e\u0432\u0443\u0454\u043c\u043e Nginx<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u041f\u0456\u0441\u043b\u044f \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0432\u0441\u0456\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0456\u0432 LEMP \u0441\u0442\u0435\u043a\u0430 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 Nginx \u0434\u043b\u044f \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 PHP. \u0414\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 Nginx:<\/p>\n\n\n\n<p><code>sudo nano \/etc\/nginx\/sites-available\/default<\/code><\/p>\n\n\n\n<p>\u0423 \u0446\u044c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0456 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0437\u043d\u0430\u0439\u0442\u0438 \u0431\u043b\u043e\u043a-\u0441\u0435\u0440\u0432\u0435\u0440 \u0456 \u0434\u043e\u0434\u0430\u0442\u0438 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0456 \u0440\u044f\u0434\u043a\u0438 \u0432\u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0456 \u0431\u043b\u043e\u043a\u0443:<\/p>\n\n\n\n<p><code>location ~ \\.php$ {<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;include snippets\/fastcgi-php.conf;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;fastcgi_pass unix:\/run\/php\/php7.4-fpm.sock;<\/code><\/p>\n\n\n\n<p><code>}<\/code><\/p>\n\n\n\n<p>\u041f\u0456\u0441\u043b\u044f \u0432\u043d\u0435\u0441\u0435\u043d\u043d\u044f \u0437\u043c\u0456\u043d \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438 Nginx:<\/p>\n\n\n\n<p><code>sudo systemctl restart nginx<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u042f\u043a \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 LEMP \u0441\u0442\u0435\u043a?<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u0414\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u0430 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043f\u0440\u043e\u0441\u0442\u0438\u0439 PHP-\u0441\u043a\u0440\u0438\u043f\u0442 \u0442\u0430 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u0439\u043e\u0433\u043e \u0440\u043e\u0431\u043e\u0442\u0443 \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431\u0431\u0440\u0430\u0443\u0437\u0435\u0440.<\/p>\n\n\n\n<p>1) \u0421\u0442\u0432\u043e\u0440\u0438 \u0444\u0430\u0439\u043b index.php \u0443 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0456\u0457 \/var\/www\/html\/ \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0438:<\/p>\n\n\n\n<p><code>sudo nano \/var\/www\/html\/index.php<\/code><\/p>\n\n\n\n<p>2) \u0412\u0441\u0442\u0430\u0432 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u043a\u043e\u0434 \u0443 \u0444\u0430\u0439\u043b index.php:<\/p>\n\n\n\n<p><code>&lt;?php phpinfo(); ?&gt;<\/code><\/p>\n\n\n\n<p>3) \u0417\u0431\u0435\u0440\u0435\u0436\u0438 \u0442\u0430 \u0437\u0430\u043a\u0440\u0438\u0439 \u0444\u0430\u0439\u043b.<\/p>\n\n\n\n<p>4) \u0412\u0456\u0434\u043a\u0440\u0438\u0439 \u0432\u0435\u0431\u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0456 \u0432\u0432\u0435\u0434\u0438 IP-\u0430\u0434\u0440\u0435\u0441\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Ubuntu \u0432 \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u043c\u0443 \u0440\u044f\u0434\u043a\u0443: http:\/\/\u0442\u0432\u0456\u0439_ip\/index.php. \u041f\u0435\u0440\u0435\u0434 \u0442\u043e\u0431\u043e\u044e \u043c\u0430\u0454 \u0437\u2019\u044f\u0432\u0438\u0442\u0438\u0441\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430 \u0437 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0454\u044e \u043f\u0440\u043e \u0432\u0435\u0440\u0441\u0456\u044e PHP, \u0439\u043e\u0433\u043e \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0442\u0430 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0456 \u0440\u043e\u0437\u0448\u0438\u0440\u0435\u043d\u043d\u044f.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<p><strong>\u041f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u041a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f Nginx \u0434\u043b\u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f SSL<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u0414\u043b\u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f SSL \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u0437\u0433\u0435\u043d\u0435\u0440\u0443\u0432\u0430\u0442\u0438 \u0441\u0430\u043c\u043e\u043f\u0456\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0456\u043a\u0430\u0442 \u0442\u0430 \u0434\u043e\u0434\u0430\u0442\u0438 \u0439\u043e\u0433\u043e \u0434\u043e \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 Nginx. \u041e\u0441\u044c \u043f\u0440\u0438\u043a\u043b\u0430\u0434 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u0443, \u0449\u043e \u043f\u0440\u0430\u0446\u044e\u0454 \u043d\u0430 SSL:<\/p>\n\n\n\n<p><code>server {<\/code><\/p>\n\n\n\n<p>&nbsp;&nbsp;<code>&nbsp;listen 443 ssl;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;server_name example.com;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;ssl_certificate \/path\/to\/cert.pem;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;ssl_certificate_key \/path\/to\/key.pem;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;location \/ {<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;root \/var\/www\/html;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index index.html index.htm index.php;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;}<\/code><\/p>\n\n\n\n<p>&nbsp;&nbsp;<code>&nbsp;location ~ \\.php$ {<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include snippets\/fastcgi-php.conf;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_pass unix:\/run\/php\/php7.4-fpm.sock;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;}<\/code><\/p>\n\n\n\n<p><code>}<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\" start=\"2\">\n<li><strong>\u041a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f Nginx \u0434\u043b\u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u043a\u0435\u0448\u0443:<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u0414\u043b\u044f \u0437\u0431\u0456\u043b\u044c\u0448\u0435\u043d\u043d\u044f \u0448\u0432\u0438\u0434\u043a\u043e\u0441\u0442\u0456 \u0440\u043e\u0431\u043e\u0442\u0438 \u0441\u0430\u0439\u0442\u0443 \u043c\u043e\u0436\u043d\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u043a\u0435\u0448 Nginx, \u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434:<\/p>\n\n\n\n<p><code>proxy_cache_path \/var\/cache\/nginx levels=1:2 keys_zone=cache_zone:10m inactive=60m;<\/code><\/p>\n\n\n\n<p><code>proxy_cache_key \"$scheme$request_method$host$request_uri\";<\/code><\/p>\n\n\n\n<p><code>proxy_cache_valid 200 60m;<\/code><\/p>\n\n\n\n<p><code>proxy_cache_valid 404 1m;<\/code><\/p>\n\n\n\n<p><code>server {<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;listen 80;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;server_name example.com;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;location \/ {<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_pass http:\/\/localhost:8080;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_set_header Host $host;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_cache_bypass $http_cache_control;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add_header X-Cache-Status $upstream_cache_status;<\/code><\/p>\n\n\n\n<p><code>&nbsp;&nbsp;&nbsp;}<\/code><\/p>\n\n\n\n<p><code>}<\/code><\/p>\n\n\n\n<p><strong>\u041a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f MySQL \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0456\u0437\u0430\u0446\u0456\u0457 RAM<\/strong><\/p>\n\n\n\n<p>\u041a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f MySQL \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0456\u0437\u0430\u0446\u0456\u0457 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f RAM \u0454 \u043e\u0434\u043d\u0438\u043c \u0437 \u0432\u0430\u0436\u043b\u0438\u0432\u0438\u0445 \u0437\u0430\u0432\u0434\u0430\u043d\u044c \u043f\u0440\u0438 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u0456 \u0431\u0430\u0437\u0438 \u0434\u0430\u043d\u0438\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0456. \u041f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0430 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f \u0434\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0435\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0442\u0430 \u0441\u043a\u043e\u0440\u043e\u0442\u0438\u0442\u0438 \u0447\u0430\u0441 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0456 \u0431\u0430\u0437\u0438 \u0434\u0430\u043d\u0438\u0445:<\/p>\n\n\n\n<p><code>[mysqld]<\/code><\/p>\n\n\n\n<p><code>key_buffer_size = 16M<\/code><\/p>\n\n\n\n<p><code>max_allowed_packet = 64M<\/code><\/p>\n\n\n\n<p><code>thread_stack = 192K<\/code><\/p>\n\n\n\n<p><code>thread_cache_size = 8<\/code><\/p>\n\n\n\n<p><code>query_cache_limit = 1M<\/code><\/p>\n\n\n\n<p><code>query_cache_size = 16M<\/code><\/p>\n\n\n\n<p><code>innodb_buffer_pool_size = 256M<\/code><\/p>\n\n\n\n<p><code>innodb_log_buffer_size = 8M<\/code><\/p>\n\n\n\n<p><code>innodb_flush_log_at_trx_commit = 2<\/code><\/p>\n\n\n\n<p><strong>\u0420\u043e\u0437\u0431\u0435\u0440\u0435\u043c\u043e \u043a\u043e\u0436\u043d\u0438\u0439 \u0440\u044f\u0434\u043e\u043a \u0443 \u0446\u0456\u0439 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>key_buffer_size = 16M:<\/strong> \u0426\u0435 \u0440\u043e\u0437\u043c\u0456\u0440 \u0431\u0443\u0444\u0435\u0440\u0430 \u0456\u043d\u0434\u0435\u043a\u0441\u0456\u0432 \u0434\u043b\u044f MyISAM \u0442\u0430\u0431\u043b\u0438\u0446\u044c. \u0417\u0431\u0456\u043b\u044c\u0448\u0435\u043d\u043d\u044f \u0446\u044c\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u043c\u043e\u0436\u0435 \u043f\u043e\u043a\u0440\u0430\u0449\u0438\u0442\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u0456\u0441\u0442\u044c \u043f\u0456\u0434 \u0447\u0430\u0441 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u044c MyISAM.<\/li>\n\n\n\n<li><strong>max_allowed_packet = 64M:<\/strong> \u0426\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0438\u0439 \u0440\u043e\u0437\u043c\u0456\u0440 \u043f\u0430\u043a\u0435\u0442\u0430, \u044f\u043a\u0438\u0439 \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u043d\u0430\u0434\u0456\u0441\u043b\u0430\u043d\u0438\u0439 \u0430\u0431\u043e \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u0438\u0439 \u0447\u0435\u0440\u0435\u0437 \u0437&#8217;\u0454\u0434\u043d\u0430\u043d\u043d\u044f MySQL. \u0412\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0432\u0438\u0449\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u043c\u043e\u0436\u0435 \u0434\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u0438 \u043d\u0430\u0434\u0441\u0438\u043b\u0430\u0442\u0438 \u0432\u0435\u043b\u0438\u043a\u0456 \u043e\u0431\u0441\u044f\u0433\u0438 \u0434\u0430\u043d\u0438\u0445, \u0437\u043e\u043a\u0440\u0435\u043c\u0430 \u0432\u0435\u043b\u0438\u043a\u0456 \u0437\u0430\u043f\u0438\u0442\u0438 \u0430\u0431\u043e \u0444\u0430\u0439\u043b\u0438.<\/li>\n\n\n\n<li><strong>thread_stack = 192K:<\/strong> \u0426\u0435 \u0440\u043e\u0437\u043c\u0456\u0440 \u0441\u0442\u0435\u043a\u0430 \u043f\u043e\u0442\u043e\u043a\u0443. \u0412\u0456\u043d \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u0454, \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0457 \u043f\u0430\u043c&#8217;\u044f\u0442\u0456 \u0432\u0438\u0434\u0456\u043b\u044f\u0454\u0442\u044c\u0441\u044f \u043a\u043e\u0436\u043d\u043e\u043c\u0443 \u043f\u043e\u0442\u043e\u043a\u0443 MySQL. \u0412\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0446\u044c\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0435 \u043a\u0435\u0440\u0443\u0432\u0430\u0442\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f\u043c \u043f\u0430\u043c&#8217;\u044f\u0442\u0456.<\/li>\n\n\n\n<li><strong>thread_cache_size = 8: <\/strong>\u0426\u0435 \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u043f\u043e\u0442\u043e\u043a\u0456\u0432, \u044f\u043a\u0456 \u0431\u0443\u0434\u0443\u0442\u044c \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u0456 \u0432 \u043a\u0435\u0448\u0456 \u0434\u043b\u044f \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f. \u0426\u0435 \u043c\u043e\u0436\u0435 \u0437\u043c\u0435\u043d\u0448\u0438\u0442\u0438 \u043d\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u043e\u0441\u043a\u0456\u043b\u044c\u043a\u0438 MySQL \u043d\u0435 \u0441\u0442\u0432\u043e\u0440\u044e\u0432\u0430\u0442\u0438\u043c\u0435 \u043d\u043e\u0432\u0438\u0445 \u043f\u043e\u0442\u043e\u043a\u0456\u0432 \u043f\u0440\u0438 \u043a\u043e\u0436\u043d\u043e\u043c\u0443 \u0437\u0430\u043f\u0438\u0442\u0456.<\/li>\n\n\n\n<li><strong>query_cache_limit = 1M: <\/strong>\u0426\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0438\u0439 \u0440\u043e\u0437\u043c\u0456\u0440 \u0437\u0430\u043f\u0438\u0442\u0443 \u043a\u0435\u0448\u0443. \u0412\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u043d\u0438\u0437\u044c\u043a\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0435 \u0443\u043d\u0438\u043a\u043d\u0443\u0442\u0438 \u043f\u0435\u0440\u0435\u043f\u043e\u0432\u043d\u0435\u043d\u043d\u044f \u043a\u0435\u0448\u0443 \u0437\u0430\u043f\u0438\u0442\u0456\u0432.<\/li>\n\n\n\n<li><strong>query_cache_size=16M: <\/strong>\u0426\u0435 \u0440\u043e\u0437\u043c\u0456\u0440 \u043a\u0435\u0448\u0443 \u0437\u0430\u043f\u0438\u0442\u0456\u0432. \u0426\u0435\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u0454, \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u043f\u0430\u043c&#8217;\u044f\u0442\u0456 \u0431\u0443\u0434\u0435 \u0432\u0438\u0434\u0456\u043b\u0435\u043d\u043e \u0434\u043b\u044f \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0456\u0432 \u0437\u0430\u043f\u0438\u0442\u0456\u0432 \u0443 \u043a\u0435\u0448\u0456.<\/li>\n\n\n\n<li><strong>innodb_buffer_pool_size = 256M:<\/strong> \u0426\u0435 \u0440\u043e\u0437\u043c\u0456\u0440 \u0431\u0443\u0444\u0435\u0440\u0430 \u043f\u0443\u043b\u0443 \u043f\u0430\u043c&#8217;\u044f\u0442\u0456 \u0434\u043b\u044f InnoDB. \u0417\u0431\u0456\u043b\u044c\u0448\u0435\u043d\u043d\u044f \u0446\u044c\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u043c\u043e\u0436\u0435 \u043f\u043e\u043a\u0440\u0430\u0449\u0438\u0442\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u0456\u0441\u0442\u044c \u043f\u0456\u0434 \u0447\u0430\u0441 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f InnoDB.<\/li>\n\n\n\n<li><strong>innodb_log_buffer_size = 8M:<\/strong> \u0426\u0435 \u0440\u043e\u0437\u043c\u0456\u0440 \u0431\u0443\u0444\u0435\u0440\u0430 \u0436\u0443\u0440\u043d\u0430\u043b\u0443 \u0434\u043b\u044f InnoDB. \u0412\u0456\u043d \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u0454, \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0457 \u043f\u0430\u043c&#8217;\u044f\u0442\u0456 \u0432\u0438\u0434\u0456\u043b\u044f\u0454\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0431\u0443\u0444\u0435\u0440\u0430 \u0436\u0443\u0440\u043d\u0430\u043b\u0443. \u0412\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0432\u0438\u0449\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u043c\u043e\u0436\u0435 \u043f\u043e\u043a\u0440\u0430\u0449\u0438\u0442\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u0456\u0441\u0442\u044c \u043f\u0456\u0434 \u0447\u0430\u0441 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f InnoDB.<\/li>\n\n\n\n<li><strong>innodb_flush_log_at_trx_commit = 2:<\/strong> \u0426\u0435\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u0454, \u044f\u043a \u0447\u0430\u0441\u0442\u043e InnoDB \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u0437\u0430\u043f\u0438\u0441\u0443\u0432\u0430\u0442\u0438 \u0434\u0430\u043d\u0456 \u0432 \u0436\u0443\u0440\u043d\u0430\u043b \u043f\u0440\u0438 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0456\u0457. \u0417\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u00ab2\u00bb \u043e\u0437\u043d\u0430\u0447\u0430\u0454, \u0449\u043e \u0434\u0430\u043d\u0456 \u0437\u0430\u043f\u0438\u0441\u0443\u0432\u0430\u0442\u0438\u043c\u0443\u0442\u044c\u0441\u044f \u043a\u043e\u0436\u043d\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u0449\u043e \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0435 \u043f\u043e\u043b\u0456\u043f\u0448\u0438\u0442\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u0456\u0441\u0442\u044c.<\/li>\n<\/ul>\n\n\n\n<p>\u041f\u0435\u0440\u0448 \u043d\u0456\u0436 \u0437\u0430\u0441\u0442\u043e\u0441\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0442\u0430\u043a\u0443 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044e, \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0432\u0440\u0430\u0445\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u043e\u0441\u043e\u0431\u043b\u0438\u0432\u043e\u0441\u0442\u0456 \u0442\u0432\u043e\u0454\u0457 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438. \u0422\u0430\u043a\u043e\u0436 \u0441\u043b\u0456\u0434 \u043f\u0430\u043c&#8217;\u044f\u0442\u0430\u0442\u0438, \u0449\u043e \u0435\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0430 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u044f \u0437\u0430\u043b\u0435\u0436\u0438\u0442\u044c \u0432\u0456\u0434 \u0431\u0430\u0433\u0430\u0442\u044c\u043e\u0445 \u0444\u0430\u043a\u0442\u043e\u0440\u0456\u0432, \u0442\u0430\u043a\u0438\u0445 \u044f\u043a \u0440\u043e\u0437\u043c\u0456\u0440 \u0431\u0430\u0437\u0438 \u0434\u0430\u043d\u0438\u0445, \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0437\u0430\u043f\u0438\u0442\u0456\u0432 \u0442\u043e\u0449\u043e.<\/p>\n\n\n\n<p><strong>\u041e\u0441\u044c \u0456 \u0432\u0441\u0435!<\/strong> \u041c\u0438 \u0440\u043e\u0437\u0456\u0431\u0440\u0430\u043b\u0438\u0441\u044f \u0437 \u0456\u043d\u0441\u0442\u0430\u043b\u044f\u0446\u0456\u0454\u044e Nginx, MySQL, PHP (LEMP) Ubuntu 20.04 \u0442\u0430 22.04. \u0425\u043e\u0447\u0435\u0448 \u043e\u0441\u0432\u043e\u0457\u0442\u0438 \u0441\u0442\u0435\u043a LEMP? \u0417\u0430\u043b\u0438\u0448\u0430\u0439 \u0437\u0430\u044f\u0432\u043a\u0443 \u043d\u0430 \u043a\u0443\u0440\u0441 <a href=\"https:\/\/itedu.center\/ua\/courses\/administruvannia-vebserveriv-na-linux\/\" data-wpel-link=\"internal\">\u0410\u0414\u041c\u0406\u041d\u0406\u0421\u0422\u0420\u0423\u0412\u0410\u041d\u041d\u042f \u0412\u0415\u0411\u0421\u0415\u0420\u0412\u0415\u0420\u0406\u0412 \u041d\u0410 LINUX<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u0438\u0439 \u0441\u0442\u0435\u043a LEMP \u2014 \u0446\u0435 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f, \u044f\u043a\u0438\u0439 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u044e\u0442\u044c \u0434\u043b\u044f \u043e\u0431\u0441\u043b\u0443\u0433\u043e\u0432\u0443\u0432\u0430\u043d\u043d\u044f \u0434\u0438\u043d\u0430\u043c\u0456\u0447\u043d\u0438\u0445 \u0432\u0435\u0431\u0441\u0442\u043e\u0440\u0456\u043d\u043e\u043a \u0442\u0430 \u0432\u0435\u0431\u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043a\u0456\u0432, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0445 \u043d\u0430 PHP.&nbsp; \u0410\u0431\u0440\u0435\u0432\u0456\u0430\u0442\u0443\u0440\u0430 LEMP \u043e\u0437\u043d\u0430\u0447\u0430\u0454 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0439\u043d\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 Linux \u0437 \u0432\u0435\u0431\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c Nginx. \u0414\u0430\u043d\u0456 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0457 \u0447\u0430\u0441\u0442\u0438\u043d\u0438 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0443 \u0431\u0430\u0437\u0456 \u0434\u0430\u043d\u0438\u0445 MySQL, \u0430 \u0434\u0438\u043d\u0430\u043c\u0456\u0447\u043d\u0430 \u043e\u0431\u0440\u043e\u0431\u043a\u0430 \u0432\u0438\u043a\u043e\u043d\u0443\u0454\u0442\u044c\u0441\u044f PHP. \u041f\u0440\u043e \u0442\u0435, \u0449\u043e \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0437\u043d\u0430\u0442\u0438, \u0449\u043e\u0431 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0441\u0442\u0435\u043a LEMP \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0456\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f\u043c Ubuntu 20.04 \u0442\u0430 22.04, \u044f\u043a \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438&hellip;<\/p>\n","protected":false},"author":4,"featured_media":38641,"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,75,22,252,18],"class_list":["post-35371","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides","tag-linux","tag-mysql","tag-nginx","tag-php","tag-ubuntu"],"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\/35371","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=35371"}],"version-history":[{"count":10,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/posts\/35371\/revisions"}],"predecessor-version":[{"id":35951,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/posts\/35371\/revisions\/35951"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/media\/38641"}],"wp:attachment":[{"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/media?parent=35371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/categories?post=35371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/tags?post=35371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}