{"id":26150,"date":"2026-01-04T09:00:00","date_gmt":"2026-01-04T05:30:00","guid":{"rendered":"https:\/\/webdade.com\/blog\/?p=26150"},"modified":"2025-12-31T16:33:12","modified_gmt":"2025-12-31T13:03:12","slug":"install-configure-lemp-centos","status":"publish","type":"post","link":"https:\/\/webdade.com\/blog\/install-configure-lemp-centos","title":{"rendered":"\u0645\u06cc \u062e\u0648\u0627\u0647\u0645 Nginx, MySQL, PHP \u0631\u0627 \u0631\u0648\u06cc \u0633\u06cc\u0633\u062a\u0645\u200c\u0639\u0627\u0645\u0644 CentOS \u06a9\u0627\u0646\u0641\u06cc\u06af \u06a9\u0646\u0645"},"content":{"rendered":"\n<div id=\"gspb_text-id-gsbp-41fa4b4\" class=\"gspb_text gspb_text-id-gsbp-41fa4b4 \">\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u06cc\u06a9 \u0648\u0628\u200c\u0633\u0631\u0648\u0631 \u067e\u0631\u0642\u062f\u0631\u062a \u0648 \u067e\u0627\u06cc\u062f\u0627\u0631 \u0647\u0645\u06cc\u0634\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u062f\u063a\u062f\u063a\u0647\u200c\u0647\u0627\u06cc \u0627\u0635\u0644\u06cc \u0645\u062f\u06cc\u0631\u0627\u0646 \u0633\u0631\u0648\u0631 \u0648 \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0628\u0648\u062f\u0647 \u0627\u0633\u062a. \u0633\u0627\u062e\u062a\u0627\u0631 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631\u06cc LEMP \u06a9\u0647 \u0627\u0632 <strong>Linux + Nginx + MySQL\/MariaDB + PHP-FPM<\/strong> \u062a\u0634\u06a9\u06cc\u0644 \u0634\u062f\u0647\u060c \u06cc\u06a9 \u0645\u0639\u0645\u0627\u0631\u06cc \u0645\u062f\u0631\u0646\u060c \u0633\u0631\u06cc\u0639 \u0648 \u0628\u0647\u06cc\u0646\u0647 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u200c\u0647\u0627\u06cc PHP\u200c\u0645\u062d\u0648\u0631 \u0645\u062d\u0633\u0648\u0628 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0627\u06af\u0631 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u062f \u06cc\u06a9 \u0648\u0628\u200c\u0633\u0631\u0648\u0631 \u0633\u0631\u06cc\u0639\u200c\u062a\u0631 \u0627\u0632 Apache\u060c \u0628\u0627 \u0645\u0635\u0631\u0641 \u0645\u0646\u0627\u0628\u0639 \u06a9\u0645\u062a\u0631 \u0648 \u0627\u0645\u0646\u06cc\u062a \u0628\u0627\u0644\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u0627\u0646\u062a\u062e\u0627\u0628 LEMP \u0628\u0647\u062a\u0631\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0627\u0633\u062a\u061b \u0628\u0647\u200c\u062e\u0635\u0648\u0635 \u0631\u0648\u06cc \u0633\u06cc\u0633\u062a\u0645\u200c\u0639\u0627\u0645\u0644 <strong>CentOS \/ AlmaLinux \/ RHEL \/ Rocky Linux<\/strong> \u06a9\u0647 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u067e\u0627\u06cc\u062f\u0627\u0631 \u0648 \u0645\u0646\u0627\u0633\u0628 \u0645\u062d\u06cc\u0637\u200c\u0647\u0627\u06cc Production \u0637\u0631\u0627\u062d\u06cc \u0634\u062f\u0647\u200c\u0627\u0646\u062f.<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-ece0ea6\" id=\"gspb_container-id-gsbp-ece0ea6\">\n<div id=\"gspb_text-id-gsbp-67df801\" class=\"gspb_text gspb_text-id-gsbp-67df801 \">\ud83d\udca1 <strong>LEMP \u0686\u06cc\u0633\u062a\u061f<\/strong> \u062a\u0631\u06a9\u06cc\u0628\u06cc \u0627\u0632 Linux + Nginx + MySQL + PHP \u0627\u0633\u062a \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u200c\u0647\u0627\u06cc PHP \u0628\u0627 \u0633\u0631\u0639\u062a \u0628\u0627\u0644\u0627 \u0637\u0631\u0627\u062d\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a.<br>\u2705 <strong>\u0645\u0632\u06cc\u062a \u0627\u0635\u0644\u06cc:<\/strong> \u0645\u0635\u0631\u0641 RAM \u0628\u0633\u06cc\u0627\u0631 \u06a9\u0645\u062a\u0631 \u0646\u0633\u0628\u062a \u0628\u0647 Apache \u0648 \u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u067e\u0631\u062f\u0627\u0632\u0634 \u0647\u0632\u0627\u0631\u0627\u0646 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0645\u0632\u0645\u0627\u0646.<\/div>\n<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-087dda4\" class=\"gspb_text gspb_text-id-gsbp-087dda4 \">\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0645\u0644\u060c \u0634\u0645\u0627 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f \u0686\u0637\u0648\u0631 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u0639\u0645\u0644\u06cc \u0648 \u0642\u062f\u0645\u200c\u0628\u0647\u200c\u0642\u062f\u0645\u060c LEMP \u0631\u0627 \u0646\u0635\u0628 \u0648 \u0631\u0648\u06cc CentOS \u06a9\u0627\u0646\u0641\u06cc\u06af \u06a9\u0646\u06cc\u062f\u060c Virtual Host \u0628\u0633\u0627\u0632\u06cc\u062f\u060c PHP-FPM \u0631\u0627 \u0628\u0647 Nginx \u0645\u062a\u0635\u0644 \u06a9\u0646\u06cc\u062f\u060c \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0631\u0627 \u0627\u06cc\u0645\u0646 \u0633\u0627\u0632\u06cc\u062f \u0648 \u062f\u0631 \u0646\u0647\u0627\u06cc\u062a \u0633\u0631\u0648\u0631 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627 \u0622\u0645\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-9ad445d\" class=\"gspb_text gspb_text-id-gsbp-9ad445d \"><strong>\u0686\u06a9\u200c\u0644\u06cc\u0633\u062a \u0645\u0648\u0627\u0631\u062f\u06cc \u06a9\u0647 \u062f\u0631 \u0645\u0642\u062f\u0645\u0647 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f:<\/strong><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u062a\u0641\u0627\u0648\u062a LEMP \u0628\u0627 LAMP<\/li>\n\n\n\n<li>\u062f\u0644\u06cc\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062d\u0631\u0641\u0647\u200c\u0627\u06cc\u200c\u0647\u0627 \u0627\u0632 Nginx<\/li>\n\n\n\n<li>\u0636\u0631\u0648\u0631\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 PHP-FPM<\/li>\n\n\n\n<li>\u0627\u0647\u0645\u06cc\u062a \u0627\u0645\u0646\u06cc\u062a MySQL\/MariaDB<\/li>\n\n\n\n<li>\u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627\u06cc \u0646\u0635\u0628 \u0648 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627<\/li>\n\n\n\n<li>\u062a\u0646\u0638\u06cc\u0645\u0627\u062a SELinux \u0648 Firewall<\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-5449bff\" class=\"gspb_text gspb_text-id-gsbp-5449bff \">\u062d\u062a\u0645\u0627\u064b \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f\u2026<br>\u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u06cc\u06a9 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0639\u0645\u0644\u06cc\u060c \u0648\u0627\u0642\u0639\u06cc \u0648 \u0642\u0627\u0628\u0644 \u0627\u0639\u062a\u0645\u0627\u062f \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 <strong>Nginx\u060c MySQL \u0648 PHP \u0631\u0648\u06cc CentOS<\/strong> \u0647\u0633\u062a\u06cc\u062f. \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u062f\u0642\u06cc\u0642\u0627\u064b \u0647\u0645\u0627\u0646 \u0686\u06cc\u0632\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f\u061b \u0686\u0648\u0646 \u062a\u0645\u0627\u0645 \u0645\u0631\u0627\u062d\u0644 \u0646\u0635\u0628\u060c \u0627\u0645\u0646\u06cc\u062a\u060c \u062a\u0633\u062a \u0646\u0647\u0627\u06cc\u06cc \u0648 \u0631\u0641\u0639 \u062e\u0637\u0627\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0632\u0628\u0627\u0646 \u0633\u0627\u062f\u0647 \u0627\u0645\u0627 \u062a\u062e\u0635\u0635\u06cc \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0647\u200c\u0627\u0645. \u067e\u0633 \u0647\u0645\u0631\u0627\u0647 \u0645\u0627 \u0628\u0627\u0634\u06cc\u062f\u2026 \ud83d\ude09\ud83d\udc47<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-e02f07f\" id=\"gspb_container-id-gsbp-e02f07f\">\n<div id=\"gspb_text-id-gsbp-fe6e4a7\" class=\"gspb_text gspb_text-id-gsbp-fe6e4a7 \">\u0627\u06af\u0631 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u062f \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u067e\u0627\u06cc\u062f\u0627\u0631\u060c \u0633\u0631\u06cc\u0639 \u0648 \u0627\u0645\u0646 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc PHP \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c <strong>\u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u062c\u0627\u0632\u06cc \u0648 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0648\u0628\u200c\u062f\u0627\u062f\u0647<\/strong>  \u062f\u0631 \u0627\u0646\u0648\u0627\u0639 \u0645\u0648\u0642\u0639\u06cc\u062a \u0647\u0627\u06cc \u062c\u0647\u0627\u0646\u06cc \u0628\u0647\u062a\u0631\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0633\u062a\u0646\u062f.\ud83d\udc47<\/div>\n\n\n\n<div class=\"gspb_button_wrapper gspb_button-id-gsbp-fd33550\" id=\"gspb_button-id-gsbp-fd33550\"><a class=\"wp-block-greenshift-blocks-buttonbox gspb-buttonbox wp-element-button\" href=\"https:\/\/webdade.com\/dedicated-server\" id=\"https:\/\/webdade.com\/dedicated-server\" title=\"\u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u062c\u0647\u0627\u0646\u06cc \u0648\u0628\u200c\u062f\u0627\u062f\u0647\" target=\"_blank\" rel=\"noopener\"><span class=\"gspb-buttonbox-textwrap\"><span class=\"gspb-buttonbox-text\"><span class=\"gspb-buttonbox-title\">\u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u062c\u0647\u0627\u0646\u06cc \u0648\u0628\u200c\u062f\u0627\u062f\u0647<\/span><\/span><\/span><\/a><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-3090342\" id=\"gspb_container-id-gsbp-3090342\">\n<p id=\"gspb_heading-id-gsbp-4f2eab8\" class=\"gspb_heading gspb_heading-id-gsbp-4f2eab8 \"><strong>\u0622\u0646\u0686\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0646\u06cc\u062f:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-greenshift-blocks-toc gs-toc gspb_toc-id-gsbp-9ed45ff\" id=\"gspb_toc-id-gsbp-9ed45ff\" data-offset=\"100\" itemscope itemtype=\"\"><div class=\"gs-autolist\"><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"LEMP \u0686\u06cc\u0633\u062a \u0648 \u0686\u06af\u0648\u0646\u0647 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u061f\"\/><a class=\"gs-scrollto\" href=\"#what-is-lemp-stack\">LEMP \u0686\u06cc\u0633\u062a \u0648 \u0686\u06af\u0648\u0646\u0647 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u061f<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0686\u0631\u0627 \u0628\u0627\u06cc\u062f LEMP \u0631\u0627 \u0631\u0648\u06cc CentOS \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645\u061f\"\/><a class=\"gs-scrollto\" href=\"#why-lemp-on-centos\">\u0686\u0631\u0627 \u0628\u0627\u06cc\u062f LEMP \u0631\u0627 \u0631\u0648\u06cc CentOS \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645\u061f<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">2.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0645\u0632\u0627\u06cc\u0627\u06cc \u0646\u0635\u0628 LEMP \u0631\u0648\u06cc CentOS:\"\/><a class=\"gs-scrollto\" href=\"#Benefits-of-installing-LEMP-on-CentOS\">\u0645\u0632\u0627\u06cc\u0627\u06cc \u0646\u0635\u0628 LEMP \u0631\u0648\u06cc CentOS:<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627\u06cc \u0646\u0635\u0628 LEMP \u0631\u0648\u06cc CentOS\"\/><a class=\"gs-scrollto\" href=\"#lemp-prerequisites-centos\">\u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627\u06cc \u0646\u0635\u0628 LEMP \u0631\u0648\u06cc CentOS<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">4<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0648 \u06a9\u0627\u0646\u0641\u06cc\u06af LEMP \u0631\u0648\u06cc CentOS\"\/><a class=\"gs-scrollto\" href=\"#how-to-install-lemp-centos\">\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0648 \u06a9\u0627\u0646\u0641\u06cc\u06af LEMP \u0631\u0648\u06cc CentOS<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">4.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"1- \u0646\u0635\u0628 \u0648 \u0622\u0645\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0633\u06cc\u0633\u062a\u0645 (Foundation Setup)\"\/><a class=\"gs-scrollto\" href=\"#lemp-foundation-setup\">1- \u0646\u0635\u0628 \u0648 \u0622\u0645\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0633\u06cc\u0633\u062a\u0645 (Foundation Setup)<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">4.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"2- \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc Nginx\"\/><a class=\"gs-scrollto\" href=\"#install-nginx-centos\">2- \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc Nginx<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">4.3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"3-  \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc PHP-FPM\"\/><a class=\"gs-scrollto\" href=\"#install-php-fpm-centos\">3-  \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc PHP-FPM<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">4.4<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"4- \u062a\u0646\u0638\u06cc\u0645\u0627\u062a SELinux (\u0628\u0633\u06cc\u0627\u0631 \u0645\u0647\u0645!)\"\/><a class=\"gs-scrollto\" href=\"#selinux-configuration-lemp\">4- \u062a\u0646\u0638\u06cc\u0645\u0627\u062a SELinux (\u0628\u0633\u06cc\u0627\u0631 \u0645\u0647\u0645!)<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">4.5<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"5- \u062a\u0646\u0638\u06cc\u0645\u0627\u062a Firewall\"\/><a class=\"gs-scrollto\" href=\"#firewall-configuration-lemp\">5- \u062a\u0646\u0638\u06cc\u0645\u0627\u062a Firewall<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">4.6<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"6- \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc MySQL\/MariaDB\"\/><a class=\"gs-scrollto\" href=\"#install-mysql-mariadb-centos\">6- \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc MySQL\/MariaDB<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">4.7<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"7- \u0633\u0627\u062e\u062a Virtual Host \u062f\u0631 Nginx\"\/><a class=\"gs-scrollto\" href=\"#nginx-virtual-host-setup\">7- \u0633\u0627\u062e\u062a Virtual Host \u062f\u0631 Nginx<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">4.8<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"8- \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc Nginx\"\/><a class=\"gs-scrollto\" href=\"#nginx-optimization\">8- \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc Nginx<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">4.9<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"9- \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc PHP\"\/><a class=\"gs-scrollto\" href=\"#php-optimization\">9- \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc PHP<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">5<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"10- \u0646\u0635\u0628 SSL \u0628\u0627 Certbot\"\/><a class=\"gs-scrollto\" href=\"#install-ssl-certbot\">10- \u0646\u0635\u0628 SSL \u0628\u0627 Certbot<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">6<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062a\u0633\u062a \u0646\u0647\u0627\u06cc\u06cc \u0645\u0639\u0645\u0627\u0631\u06cc LEMP\"\/><a class=\"gs-scrollto\" href=\"#test-phpinfo-lemp\">\u062a\u0633\u062a \u0646\u0647\u0627\u06cc\u06cc \u0645\u0639\u0645\u0627\u0631\u06cc LEMP<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">6.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0633\u0627\u062e\u062a \u0641\u0627\u06cc\u0644 phpinfo\"\/><a class=\"gs-scrollto\" href=\"#Creating-a-phpinfo-file\">\u0633\u0627\u062e\u062a \u0641\u0627\u06cc\u0644 phpinfo<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">6.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0633\u0627\u062e\u062a \u0641\u0627\u06cc\u0644 \u062a\u0633\u062a MySQL\"\/><a class=\"gs-scrollto\" href=\"#Creating-a-MySQL-test-file\">\u0633\u0627\u062e\u062a \u0641\u0627\u06cc\u0644 \u062a\u0633\u062a MySQL<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">6.3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0628\u0631\u0631\u0633\u06cc \u062f\u0631 \u0645\u0631\u0648\u0631\u06af\u0631\"\/><a class=\"gs-scrollto\" href=\"#Check-in-browser\">\u0628\u0631\u0631\u0633\u06cc \u062f\u0631 \u0645\u0631\u0648\u0631\u06af\u0631<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">6.4<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\" \u062d\u0630\u0641 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u062a\u0633\u062a (\u0627\u0645\u0646\u06cc\u062a)\"\/><a class=\"gs-scrollto\" href=\"#Delete-test-files-security\"> \u062d\u0630\u0641 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u062a\u0633\u062a (\u0627\u0645\u0646\u06cc\u062a)<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">6.5<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0628\u0631\u0631\u0633\u06cc \u0644\u0627\u06af\u200c\u0647\u0627\"\/><a class=\"gs-scrollto\" href=\"#Checking-logs\">\u0628\u0631\u0631\u0633\u06cc \u0644\u0627\u06af\u200c\u0647\u0627<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">7<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0646\u0645\u0648\u0646\u0647 \u0645\u0648\u0631\u062f\u06cc: \u062a\u062c\u0631\u0628\u0647 \u06a9\u0627\u0631\u0628\u0631\"\/><a class=\"gs-scrollto\" href=\"#lemp-case-study\">\u0646\u0645\u0648\u0646\u0647 \u0645\u0648\u0631\u062f\u06cc: \u062a\u062c\u0631\u0628\u0647 \u06a9\u0627\u0631\u0628\u0631<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">8<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062c\u062f\u0648\u0644 \u0645\u0642\u0627\u06cc\u0633\u0647 \u0639\u0645\u0644\u06a9\u0631\u062f LEMP \u0648 LAMP\"\/><a class=\"gs-scrollto\" href=\"#lemp-vs-lamp\">\u062c\u062f\u0648\u0644 \u0645\u0642\u0627\u06cc\u0633\u0647 \u0639\u0645\u0644\u06a9\u0631\u062f LEMP \u0648 LAMP<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">8.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0646\u062a\u06cc\u062c\u0647\u200c\u06af\u06cc\u0631\u06cc \u0646\u0647\u0627\u06cc\u06cc: \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0648\u0628 \u0633\u0631\u0648\u0631 LEMP \u0628\u0631\u0627\u06cc CentOS\"\/><a class=\"gs-scrollto\" href=\"#lemp-installation-summary\">\u0646\u062a\u06cc\u062c\u0647\u200c\u06af\u06cc\u0631\u06cc \u0646\u0647\u0627\u06cc\u06cc: \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0648\u0628 \u0633\u0631\u0648\u0631 LEMP \u0628\u0631\u0627\u06cc CentOS<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">8.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0633\u0648\u0627\u0644\u0627\u062a \u0645\u062a\u062f\u0627\u0648\u0644 \u0627\u0632 \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 LEMP (Linux- Nginx \u2013 MySQL \u2013 PHP) \u0631\u0648\u06cc CentOS 7\"\/><a class=\"gs-scrollto\" href=\"#lemp-faq\">\u0633\u0648\u0627\u0644\u0627\u062a \u0645\u062a\u062f\u0627\u0648\u0644 \u0627\u0632 \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 LEMP (Linux- Nginx \u2013 MySQL \u2013 PHP) \u0631\u0648\u06cc CentOS 7<\/a><\/span><\/div><\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-image gspb_image gspb_image-id-gsbp-19d11a7\" id=\"gspb_image-id-gsbp-19d11a7\"><img decoding=\"async\" src=\"https:\/\/webdade.com\/blog\/wp-content\/uploads\/2025\/12\/install-configure-lemp-centos-min_11zon.webp\" data-src=\"\" alt=\"\u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc LEMP Stack \u062f\u0631 CentOS\" loading=\"lazy\" width=\"910\" height=\"492\"\/><\/div>\n\n\n\n<div id=\"what-is-lemp-stack\"><\/div><h2 id=\"gspb_heading-id-gsbp-3f83581\" class=\"gspb_heading gspb_heading-id-gsbp-3f83581 \">LEMP \u0686\u06cc\u0633\u062a \u0648 \u0686\u06af\u0648\u0646\u0647 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u061f<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-0d64386\" class=\"gspb_text gspb_text-id-gsbp-0d64386 \">\u0645\u0639\u0645\u0627\u0631\u06cc LEMP \u0645\u062c\u0645\u0648\u0639\u0647\u200c\u0627\u06cc \u0627\u0632 \u0686\u0647\u0627\u0631 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631 \u0627\u0635\u0644\u06cc \u0627\u0633\u062a \u06a9\u0647 \u06a9\u0646\u0627\u0631 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u06cc\u06a9 \u0648\u0628\u200c\u0633\u0631\u0648\u0631 \u06a9\u0627\u0645\u0644 \u0631\u0627 \u062a\u0634\u06a9\u06cc\u0644 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f. Nginx \u0648\u0638\u06cc\u0641\u0647 \u0633\u0631\u0648\u06cc\u0633\u200c\u062f\u0647\u06cc \u0628\u0647 \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u200c\u0647\u0627\u06cc \u0648\u0628 \u0631\u0627 \u0628\u0631\u0639\u0647\u062f\u0647 \u062f\u0627\u0631\u062f\u060c MySQL\/MariaDB \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0631\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 PHP-FPM \u067e\u0631\u062f\u0627\u0632\u0634 \u06a9\u062f\u0647\u0627\u06cc PHP \u0631\u0627 \u0628\u0647 \u0634\u06a9\u0644 \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u062f. \u0627\u06cc\u0646 \u062c\u062f\u0627\u0633\u0627\u0632\u06cc \u0628\u0627\u0639\u062b \u0627\u0641\u0632\u0627\u06cc\u0634 \u0633\u0631\u0639\u062a \u0648 \u067e\u0627\u06cc\u062f\u0627\u0631\u06cc \u0633\u0631\u0648\u0631 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-0829f5f\" class=\"gspb_text gspb_text-id-gsbp-0829f5f \"><strong>\ud83d\udcdd \u0633\u0627\u062e\u062a\u0627\u0631 LEMP<\/strong><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-f90f694\" id=\"gspb_container-id-gsbp-f90f694\">\n<div id=\"gspb_text-id-gsbp-13f7455\" class=\"gspb_text gspb_text-id-gsbp-13f7455 \">Client Browser<br>       \u2b07\ufe0f<br>      Nginx (Web Server)<br>       \u2b07\ufe0f<br>    PHP-FPM (Process Manager)<br>       \u2b07\ufe0f<br>    MySQL\/MariaDB (Database)<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-5edec11\" id=\"gspb_container-id-gsbp-5edec11\">\n<div id=\"gspb_text-id-gsbp-6e00b49\" class=\"gspb_text gspb_text-id-gsbp-6e00b49 \">Nginx \u0627\u0632 \u0633\u0627\u062e\u062a\u0627\u0631 <strong>event-driven<\/strong> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u0647\u0632\u0627\u0631\u0627\u0646 \u0627\u062a\u0635\u0627\u0644 \u0647\u0645\u0632\u0645\u0627\u0646 \u0631\u0627 \u0628\u0627 \u0645\u0635\u0631\u0641 \u0645\u0646\u0627\u0628\u0639 \u0628\u0633\u06cc\u0627\u0631 \u06a9\u0645 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f. \u062f\u0631 \u0645\u0642\u0627\u0628\u0644\u060c Apache \u0627\u0632 \u0645\u062f\u0644 <strong>process-based<\/strong> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0647\u0631 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u06cc\u06a9 process \u062c\u062f\u06cc\u062f \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/div>\n<\/div>\n\n\n\n<div id=\"why-lemp-on-centos\"><\/div><h2 id=\"gspb_heading-id-gsbp-77b9602\" class=\"gspb_heading gspb_heading-id-gsbp-77b9602 \">\u0686\u0631\u0627 \u0628\u0627\u06cc\u062f LEMP \u0631\u0627 \u0631\u0648\u06cc CentOS \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645\u061f<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-19cf2cc\" class=\"gspb_text gspb_text-id-gsbp-19cf2cc \">CentOS \u0647\u0645\u06cc\u0634\u0647 \u0628\u0647\u200c\u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645\u200c\u0639\u0627\u0645\u0644 \u067e\u0627\u06cc\u062f\u0627\u0631\u060c \u0642\u0627\u0628\u0644 \u0627\u0639\u062a\u0645\u0627\u062f \u0648 \u0645\u0646\u0627\u0633\u0628 \u0645\u062d\u06cc\u0637 Production \u0634\u0646\u0627\u062e\u062a\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0627\u0632 \u0637\u0631\u0641\u06cc \u062a\u0631\u06a9\u06cc\u0628 LEMP \u0628\u0627 CentOS \u06cc\u06a9 \u0627\u0646\u062a\u062e\u0627\u0628 \u0641\u0648\u0642\u200c\u0627\u0644\u0639\u0627\u062f\u0647 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0633\u0627\u06cc\u062a\u200c\u0647\u0627\u06cc \u067e\u0631\u062a\u0631\u0627\u0641\u06cc\u06a9 \u0645\u0627\u0646\u0646\u062f \u0648\u0631\u062f\u067e\u0631\u0633\u060c \u0641\u0631\u0648\u0634\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u0622\u0646\u0644\u0627\u06cc\u0646 \u06cc\u0627 API\u0647\u0627\u06cc \u0633\u0646\u06af\u06cc\u0646 \u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"Benefits-of-installing-LEMP-on-CentOS\"><\/div><h3 id=\"gspb_heading-id-gsbp-e0bf260\" class=\"gspb_heading gspb_heading-id-gsbp-e0bf260 \">\u0645\u0632\u0627\u06cc\u0627\u06cc \u0646\u0635\u0628 LEMP \u0631\u0648\u06cc CentOS:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0633\u0631\u0639\u062a \u0648 Performance \u0628\u0633\u06cc\u0627\u0631 \u0628\u0627\u0644\u0627<\/li>\n\n\n\n<li>\u0645\u0635\u0631\u0641 RAM \u06a9\u0645\u062a\u0631 \u0646\u0633\u0628\u062a \u0628\u0647 Apache (\u062a\u0627 40% \u06a9\u0627\u0647\u0634)<\/li>\n\n\n\n<li>\u0627\u0645\u0646\u06cc\u062a \u0628\u06cc\u0634\u062a\u0631 \u0628\u0647\u200c\u062f\u0644\u06cc\u0644 \u0633\u0627\u062e\u062a\u0627\u0631 \u0645\u0627\u0698\u0648\u0644\u0627\u0631<\/li>\n\n\n\n<li>\u067e\u0631\u062f\u0627\u0632\u0634 PHP \u062c\u062f\u0627 \u0627\u0632 Nginx (\u0627\u0641\u0632\u0627\u06cc\u0634 \u067e\u0627\u06cc\u062f\u0627\u0631\u06cc)<\/li>\n\n\n\n<li>\u0645\u0646\u0627\u0633\u0628 \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0634\u0631\u06a9\u062a\u200c\u0647\u0627 \u0648 \u0633\u0627\u0632\u0645\u0627\u0646\u200c\u0647\u0627<\/li>\n\n\n\n<li>\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0628\u0644\u0646\u062f\u0645\u062f\u062a (LTS) \u062f\u0631 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc Stream<\/li>\n<\/ul>\n\n\n\n<div id=\"lemp-prerequisites-centos\"><\/div><h2 id=\"gspb_heading-id-gsbp-c4a6b61\" class=\"gspb_heading gspb_heading-id-gsbp-c4a6b61 \">\u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627\u06cc \u0646\u0635\u0628 LEMP \u0631\u0648\u06cc CentOS<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-4c8b1f7\" class=\"gspb_text gspb_text-id-gsbp-4c8b1f7 \">\u067e\u06cc\u0634 \u0627\u0632 \u0634\u0631\u0648\u0639 \u0646\u0635\u0628 \u067e\u0634\u062a\u0647 \u06cc\u0627 \u0645\u0639\u0645\u0627\u0631\u06cc LEMP\u060c \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u0645\u062d\u06cc\u0637 \u0633\u06cc\u0633\u062a\u0645\u200c\u0639\u0627\u0645\u0644 \u0622\u0645\u0627\u062f\u0647 \u0648 \u0633\u0627\u0632\u06af\u0627\u0631 \u0628\u0627\u0634\u062f \u062a\u0627 \u0627\u0632 \u0628\u0631\u0648\u0632 \u062e\u0637\u0627\u0647\u0627\u06cc \u0627\u062d\u062a\u0645\u0627\u0644\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0634\u0648\u062f. \u0641\u0631\u0627\u0647\u0645\u200c\u0628\u0648\u062f\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc\u200c\u0647\u0627\u06cc \u0644\u0627\u0632\u0645\u060c \u0641\u0639\u0627\u0644\u200c\u0628\u0648\u062f\u0646 \u0645\u062e\u0627\u0632\u0646 \u0648 \u0628\u0627\u0632 \u0628\u0648\u062f\u0646 \u067e\u0648\u0631\u062a\u200c\u0647\u0627\u06cc \u0648\u0628\u200c\u0633\u0631\u0648\u0631 \u0628\u0627\u0639\u062b \u0645\u06cc\u200c\u0634\u0648\u062f \u0645\u0631\u0627\u062d\u0644 \u0646\u0635\u0628 \u0628\u062f\u0648\u0646 \u0648\u0642\u0641\u0647 \u0627\u0646\u062c\u0627\u0645 \u0634\u0648\u062f. \u0627\u06cc\u0646 \u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627 \u0647\u0645\u0686\u0646\u06cc\u0646 \u067e\u0627\u06cc\u0647\u200c\u0627\u06cc \u0628\u0631\u0627\u06cc \u0627\u0645\u0646\u06cc\u062a \u0648 \u067e\u0627\u06cc\u062f\u0627\u0631\u06cc \u0633\u0631\u0648\u0631 \u062f\u0631 \u0645\u0631\u0627\u062d\u0644 \u0628\u0639\u062f\u06cc \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u062f\u0633\u062a\u0631\u0633\u06cc SSH \u0628\u0647 \u0633\u0631\u0648\u0631<\/li>\n\n\n\n<li>\u062f\u0627\u0634\u062a\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc root \u06cc\u0627 sudo<\/li>\n\n\n\n<li>\u0641\u0639\u0627\u0644 \u0628\u0648\u062f\u0646 \u0645\u062e\u0627\u0632\u0646 EPEL \u0648 Remi<\/li>\n\n\n\n<li>\u067e\u0648\u0631\u062a\u200c\u0647\u0627\u06cc 80 \u0648 443 \u0628\u0627\u0632 \u0628\u0627\u0634\u0646\u062f<\/li>\n\n\n\n<li>\u062d\u062f\u0627\u0642\u0644 1GB RAM (\u062a\u0648\u0635\u06cc\u0647: 2GB+)<\/li>\n\n\n\n<li>\u0641\u0636\u0627\u06cc \u062f\u06cc\u0633\u06a9 \u06a9\u0627\u0641\u06cc (\u062d\u062f\u0627\u0642\u0644 10GB \u0622\u0632\u0627\u062f)<\/li>\n<\/ul>\n\n\n\n<div id=\"how-to-install-lemp-centos\"><\/div><h2 id=\"gspb_heading-id-gsbp-155e91b\" class=\"gspb_heading gspb_heading-id-gsbp-155e91b \">\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0648 \u06a9\u0627\u0646\u0641\u06cc\u06af LEMP \u0631\u0648\u06cc CentOS<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-237b3af\" class=\"gspb_text gspb_text-id-gsbp-237b3af \">\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0648 \u06a9\u0627\u0646\u0641\u06cc\u06af LEMP \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0628\u0647\u200c\u06af\u0648\u0646\u0647\u200c\u0627\u06cc \u0637\u0631\u0627\u062d\u06cc \u0634\u062f\u0647 \u06a9\u0647 \u062d\u062a\u06cc \u0627\u06af\u0631 \u0628\u0631\u0627\u06cc \u0627\u0648\u0644\u06cc\u0646\u200c\u0628\u0627\u0631 \u0628\u0627 Nginx \u06cc\u0627 PHP-FPM \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f\u060c \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u0645\u0627\u0645 \u0645\u0631\u0627\u062d\u0644 \u0631\u0627 \u0628\u062f\u0648\u0646 \u062e\u0637\u0627 \u067e\u06cc\u0634 \u0628\u0628\u0631\u06cc\u062f. \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u0627\u0632 \u0645\u0642\u0627\u0644\u0647 \u0628\u0647 \u0634\u0645\u0627 \u06a9\u0645\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0633\u0627\u062e\u062a\u0627\u0631 \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647\u062a\u0631 \u062f\u0631\u06a9 \u06a9\u0646\u06cc\u062f \u0648 \u0628\u062f\u0627\u0646\u06cc\u062f \u0647\u0631 \u0645\u0631\u062d\u0644\u0647 \u062f\u0642\u06cc\u0642\u0627\u064b \u0686\u0647 \u0646\u0642\u0634\u06cc \u062f\u0631 \u0639\u0645\u0644\u06a9\u0631\u062f \u0646\u0647\u0627\u06cc\u06cc \u0633\u0631\u0648\u0631 \u062f\u0627\u0631\u062f. \u0647\u062f\u0641 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u067e\u0627\u06cc\u0627\u0646 \u0627\u06cc\u0646 \u0628\u062e\u0634\u060c \u06cc\u06a9 \u0645\u062d\u06cc\u0637 \u06a9\u0627\u0645\u0644\u0627\u064b \u0622\u0645\u0627\u062f\u0647 \u0648 \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0648\u0628\u200c\u0633\u0627\u06cc\u062a\u200c\u0647\u0627\u06cc PHP \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f. <br>\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0647\u0645\u0631\u0627\u0647 \u062a\u06cc\u0645 \u0648\u0628\u200c\u062f\u0627\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f \u062a\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a <strong>\u0639\u0645\u0644\u06cc \u0648 \u0642\u062f\u0645\u200c\u0628\u0647\u200c\u0642\u062f\u0645<\/strong> LEMP \u0631\u0627 \u0631\u0648\u06cc CentOS \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645.<\/div>\n\n\n\n<div id=\"lemp-foundation-setup\"><\/div><h3 id=\"gspb_heading-id-gsbp-36c31c0\" class=\"gspb_heading gspb_heading-id-gsbp-36c31c0 \">1- \u0646\u0635\u0628 \u0648 \u0622\u0645\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0633\u06cc\u0633\u062a\u0645 (Foundation Setup)<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-6c38f7a\" class=\"gspb_text gspb_text-id-gsbp-6c38f7a \">\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0647\u062f\u0641 \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u067e\u0627\u06cc\u0647 \u067e\u0627\u06cc\u062f\u0627\u0631 \u0628\u0631\u0627\u06cc \u0627\u062f\u0627\u0645\u0647 \u0646\u0635\u0628 LEMP \u0627\u0633\u062a\u061b \u0628\u0647\u200c\u0637\u0648\u0631\u06cc\u200c\u06a9\u0647 \u0633\u06cc\u0633\u062a\u0645\u200c\u0639\u0627\u0645\u0644 \u0628\u0647\u200c\u0631\u0648\u0632\u060c \u0645\u062e\u0627\u0632\u0646 \u0641\u0639\u0627\u0644 \u0648 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc\u200c\u0647\u0627 \u0622\u0645\u0627\u062f\u0647 \u0628\u0627\u0634\u0646\u062f. \u0627\u06cc\u0646 \u0628\u062e\u0634 \u06a9\u0645\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0627\u0632 \u0628\u0631\u0648\u0632 \u062e\u0637\u0627\u0647\u0627\u06cc \u0627\u062d\u062a\u0645\u0627\u0644\u06cc \u062f\u0631 \u0645\u0631\u0627\u062d\u0644 \u0628\u0639\u062f\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0634\u062f\u0647 \u0648 \u0641\u0631\u0622\u06cc\u0646\u062f \u0646\u0635\u0628 \u0628\u0627 \u0628\u06cc\u0634\u062a\u0631\u06cc\u0646 \u0633\u0627\u0632\u06af\u0627\u0631\u06cc \u0648 \u06a9\u0645\u062a\u0631\u06cc\u0646 \u0645\u0634\u06a9\u0644 \u0627\u0646\u062c\u0627\u0645 \u0634\u0648\u062f.<\/div>\n\n\n\n<div id=\"System-update\"><\/div><h4 id=\"gspb_heading-id-gsbp-1ca4a6f\" class=\"gspb_heading gspb_heading-id-gsbp-1ca4a6f \">1-1 \u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0633\u06cc\u0633\u062a\u0645<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0631\u0627\u06cc CentOS 7:\nyum update -y\n\n# \u0628\u0631\u0627\u06cc CentOS 8+ \/ AlmaLinux \/ Rocky Linux:\ndnf update -y<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0627\u06cc CentOS 7:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">yum<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">update<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0627\u06cc CentOS 8+ \/ AlmaLinux \/ Rocky Linux:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dnf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">update<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-eb553f4\" class=\"gspb_text gspb_text-id-gsbp-eb553f4 \">\u0627\u06cc\u0646 \u0641\u0631\u0645\u0627\u0646 \u062a\u0645\u0627\u0645 \u0628\u0633\u062a\u0647\u200c\u0647\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0631\u0627 \u0628\u0647 \u0622\u062e\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u067e\u0627\u06cc\u062f\u0627\u0631 \u0622\u067e\u062f\u06cc\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0642\u0628\u0644 \u0627\u0632 \u0646\u0635\u0628 LEMP \u0636\u0631\u0648\u0631\u06cc \u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"Installing-EPEL-and-Remi-repositories\"><\/div><h4 id=\"gspb_heading-id-gsbp-0994c72\" class=\"gspb_heading gspb_heading-id-gsbp-0994c72 \">2-1 \u0646\u0635\u0628 \u0645\u062e\u0627\u0632\u0646 EPEL \u0648 Remi<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0631\u0627\u06cc CentOS 7:\nyum install epel-release -y\nyum install https:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm -y\n\n# \u0628\u0631\u0627\u06cc CentOS 8 \/ AlmaLinux 8 \/ Rocky Linux 8:\ndnf install epel-release -y\ndnf install https:\/\/rpms.remirepo.net\/enterprise\/remi-release-8.rpm -y\n\n# \u0628\u0631\u0627\u06cc AlmaLinux 9 \/ Rocky Linux 9:\ndnf install epel-release -y\ndnf install https:\/\/rpms.remirepo.net\/enterprise\/remi-release-9.rpm -y<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0627\u06cc CentOS 7:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">yum<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">epel-release<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">yum<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">https:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0627\u06cc CentOS 8 \/ AlmaLinux 8 \/ Rocky Linux 8:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dnf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">epel-release<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dnf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">https:\/\/rpms.remirepo.net\/enterprise\/remi-release-8.rpm<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0627\u06cc AlmaLinux 9 \/ Rocky Linux 9:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dnf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">epel-release<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dnf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">https:\/\/rpms.remirepo.net\/enterprise\/remi-release-9.rpm<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-78bebdc\" class=\"gspb_text gspb_text-id-gsbp-78bebdc \">\u0627\u06cc\u0646 \u0645\u062e\u0627\u0632\u0646 \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc \u062c\u062f\u06cc\u062f PHP \u0648 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0631\u0627 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.<\/div>\n\n\n\n<div id=\"Activating-the-desired-PHP-module\"><\/div><h4 id=\"gspb_heading-id-gsbp-126947a\" class=\"gspb_heading gspb_heading-id-gsbp-126947a \">3-1 \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 PHP \u0645\u0648\u0631\u062f \u0646\u0638\u0631<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0631\u0627\u06cc CentOS 8+:\ndnf module reset php\ndnf module enable php:remi-8.2 -y\n\n# \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 PHP 8.1:\ndnf module enable php:remi-8.1 -y\n\n# \u0628\u0631\u0627\u06cc CentOS 7:\nyum-config-manager --enable remi-php82<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0627\u06cc CentOS 8+:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dnf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">module<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">reset<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dnf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">module<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">enable<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php:remi-8.2<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 PHP 8.1:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dnf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">module<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">enable<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php:remi-8.1<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0627\u06cc CentOS 7:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">yum-config-manager<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--enable<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">remi-php82<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-c2e4972\" class=\"gspb_text gspb_text-id-gsbp-c2e4972 \">\u26a0\ufe0f <strong>\u0646\u06a9\u062a\u0647:<\/strong> \u0646\u0633\u062e\u0647\u200c\u0647\u0627\u06cc PHP 8.1 \u0648 8.2 \u062f\u0631 \u0633\u0627\u0644 2025 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0627\u0646\u062a\u062e\u0627\u0628 \u0647\u0633\u062a\u0646\u062f.<\/div>\n\n\n\n<div id=\"install-nginx-centos\"><\/div><h3 id=\"gspb_heading-id-gsbp-a8a7d0f\" class=\"gspb_heading gspb_heading-id-gsbp-a8a7d0f \">2- \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc Nginx<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-8377177\" class=\"gspb_text gspb_text-id-gsbp-8377177 \">\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0647\u062f\u0641 \u0627\u06cc\u062c\u0627\u062f \u0647\u0645\u0627\u0647\u0646\u06af\u06cc \u06a9\u0627\u0645\u0644 \u0645\u06cc\u0627\u0646 \u0648\u0628\u200c\u0633\u0631\u0648\u0631 \u0648 \u067e\u0631\u062f\u0627\u0632\u0634\u06af\u0631 PHP \u0627\u0633\u062a \u062a\u0627 \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u200c\u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0628\u0627 \u0633\u0631\u06cc\u0639\u200c\u062a\u0631\u06cc\u0646 \u0648 \u06a9\u0645\u200c\u0645\u0635\u0631\u0641\u200c\u062a\u0631\u06cc\u0646 \u0634\u06cc\u0648\u0647 \u0645\u0645\u06a9\u0646 \u067e\u0631\u062f\u0627\u0632\u0634 \u0634\u0648\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f \u0686\u0637\u0648\u0631 Nginx \u0631\u0627 \u0628\u0647\u200c\u0639\u0646\u0648\u0627\u0646 \u0645\u0648\u062a\u0648\u0631 \u0627\u0635\u0644\u06cc \u0633\u0631\u0648\u06cc\u0646\u06af \u0635\u0641\u062d\u0627\u062a \u0648 PHP-FPM \u0631\u0627 \u0628\u0647\u200c\u0639\u0646\u0648\u0627\u0646 \u067e\u0631\u062f\u0627\u0632\u0634\u06af\u0631 \u0645\u0633\u062a\u0642\u0644 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0648 \u0628\u0647 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u0645\u062a\u0635\u0644 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u067e\u0627\u06cc\u0647\u200c\u0627\u06cc \u0628\u0631\u0627\u06cc \u06cc\u06a9 \u0645\u062d\u06cc\u0637 \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u0628\u0647\u06cc\u0646\u0647 \u0648 \u067e\u0627\u06cc\u062f\u0627\u0631 \u0641\u0631\u0627\u0647\u0645 \u0634\u0648\u062f.<\/div>\n\n\n\n<div id=\"Installing-Nginx\"><\/div><h4 id=\"gspb_heading-id-gsbp-130fb7c\" class=\"gspb_heading gspb_heading-id-gsbp-130fb7c \">1-2 \u0646\u0635\u0628 Nginx<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># CentOS 7:\nyum install nginx -y\n\n# CentOS 8+:\ndnf install nginx -y<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># CentOS 7:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">yum<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># CentOS 8+:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dnf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"Activation-and-start-of-the-service\"><\/div><h4 id=\"gspb_heading-id-gsbp-ae0c664\" class=\"gspb_heading gspb_heading-id-gsbp-ae0c664 \">2-2 \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0648 \u0634\u0631\u0648\u0639 \u0633\u0631\u0648\u06cc\u0633<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>systemctl enable nginx\nsystemctl start nginx\nsystemctl status nginx<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">enable<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">start<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">status<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"Check-Nginx-version\"><\/div><h4 id=\"gspb_heading-id-gsbp-a9ec4ba\" class=\"gspb_heading gspb_heading-id-gsbp-a9ec4ba \">3-2 \u0628\u0631\u0631\u0633\u06cc \u0646\u0633\u062e\u0647 Nginx<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>nginx -v<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">nginx<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-v<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"install-php-fpm-centos\"><\/div><h3 id=\"gspb_heading-id-gsbp-c1271f6\" class=\"gspb_heading gspb_heading-id-gsbp-c1271f6 \">3-  \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc PHP-FPM<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-f5f2e9f\" class=\"gspb_text gspb_text-id-gsbp-f5f2e9f \">PHP-FPM (FastCGI Process Manager) \u06cc\u06a9 \u067e\u0631\u062f\u0627\u0632\u0634\u06af\u0631 \u0645\u0633\u062a\u0642\u0644 \u0648 \u0628\u0647\u06cc\u0646\u0647\u200c\u0634\u062f\u0647 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u06a9\u062f\u0647\u0627\u06cc PHP \u0627\u0633\u062a \u06a9\u0647 \u0628\u0631\u062e\u0644\u0627\u0641 mod_php \u062f\u0631 Apache\u060c \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u0627\u0632 \u0648\u0628\u200c\u0633\u0631\u0648\u0631 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0627\u06cc\u0646 \u062c\u062f\u0627\u0633\u0627\u0632\u06cc \u0628\u0627\u0639\u062b \u0645\u06cc\u200c\u0634\u0648\u062f Nginx \u0628\u062a\u0648\u0627\u0646\u062f \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u200c\u0647\u0627\u06cc \u0627\u0633\u062a\u0627\u062a\u06cc\u06a9 \u0631\u0627 \u0645\u0633\u062a\u0642\u06cc\u0645\u0627\u064b \u0633\u0631\u0648\u06cc\u0633 \u062f\u0647\u062f \u0648 \u0641\u0642\u0637 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc PHP \u0631\u0627 \u0628\u0647 FPM \u0627\u0631\u0633\u0627\u0644 \u06a9\u0646\u062f\u060c \u062f\u0631 \u0646\u062a\u06cc\u062c\u0647 \u0645\u0635\u0631\u0641 \u0645\u0646\u0627\u0628\u0639 \u062a\u0627 60% \u06a9\u0627\u0647\u0634 \u0645\u06cc\u200c\u06cc\u0627\u0628\u062f \u0648 \u0633\u0631\u0639\u062a \u067e\u0627\u0633\u062e\u200c\u062f\u0647\u06cc \u0628\u0647\u200c\u0637\u0648\u0631 \u0645\u062d\u0633\u0648\u0633\u06cc \u0627\u0641\u0632\u0627\u06cc\u0634 \u067e\u06cc\u062f\u0627 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634\u060c \u0645\u0631\u0627\u062d\u0644 \u0646\u0635\u0628 PHP-FPM\u060c \u062a\u0646\u0638\u06cc\u0645 Pool \u0628\u0631\u0627\u06cc \u0647\u0631 \u0648\u0628\u200c\u0633\u0627\u06cc\u062a\u060c \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0627\u062a\u0635\u0627\u0644 Socket \u0628\u0627 Nginx \u0648 \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc Process Manager \u0631\u0627 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u0639\u0645\u0644\u06cc \u0648 \u06af\u0627\u0645\u200c\u0628\u0647\u200c\u06af\u0627\u0645 \u0622\u0645\u0648\u0632\u0634 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.<\/div>\n\n\n\n<div id=\"Installing-PHP-FPM-and-necessary-extensions\"><\/div><h4 id=\"gspb_heading-id-gsbp-08d1c43\" class=\"gspb_heading gspb_heading-id-gsbp-08d1c43 \">1-3 \u0646\u0635\u0628 PHP-FPM \u0648 \u0627\u06a9\u0633\u062a\u0646\u0634\u0646\u200c\u0647\u0627\u06cc \u0636\u0631\u0648\u0631\u06cc<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># CentOS 7:\nyum install php php-fpm php-mysqlnd php-cli php-opcache php-zip php-xml php-json php-mbstring php-gd php-curl -y\n\n# CentOS 8+:\ndnf install php php-fpm php-mysqlnd php-cli php-opcache php-zip php-xml php-json php-mbstring php-gd php-curl -y<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># CentOS 7:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">yum<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-fpm<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-mysqlnd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-cli<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-opcache<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-zip<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-xml<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-json<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-mbstring<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-gd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-curl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># CentOS 8+:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dnf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-fpm<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-mysqlnd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-cli<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-opcache<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-zip<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-xml<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-json<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-mbstring<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-gd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-curl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"Enabling-PHP-FPM\"><\/div><h4 id=\"gspb_heading-id-gsbp-b033431\" class=\"gspb_heading gspb_heading-id-gsbp-b033431 \">2-3 \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc PHP-FPM<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>systemctl enable php-fpm\nsystemctl start php-fpm\nsystemctl status php-fpm<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">enable<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-fpm<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">start<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-fpm<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">status<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-fpm<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"Check-PHP-version\"><\/div><h4 id=\"gspb_heading-id-gsbp-d34556d\" class=\"gspb_heading gspb_heading-id-gsbp-d34556d \">3-3 \u0628\u0631\u0631\u0633\u06cc \u0646\u0633\u062e\u0647 PHP<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>php -v<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">php<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-v<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<h4 id=\"gspb_heading-id-gsbp-b73cc02\" class=\"gspb_heading gspb_heading-id-gsbp-b73cc02 \">4-3 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a PHP-FPM \u0628\u0631\u0627\u06cc Nginx<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>vi \/etc\/php-fpm.d\/www.conf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">vi<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/php-fpm.d\/www.conf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-801eadf\" class=\"gspb_text gspb_text-id-gsbp-801eadf \"><strong>\u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0636\u0631\u0648\u0631\u06cc:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>; \u062a\u063a\u06cc\u06cc\u0631 user \u0648 group \u0628\u0647 nginx\nuser = nginx\ngroup = nginx\n\n; \u062a\u0646\u0638\u06cc\u0645 socket\nlisten = \/run\/php-fpm\/www.sock\n\n; \u062a\u0646\u0638\u06cc\u0645 \u0645\u0627\u0644\u06a9\u06cc\u062a socket\nlisten.owner = nginx\nlisten.group = nginx\nlisten.mode = 0660\n\n; \u062a\u0646\u0638\u06cc\u0645\u0627\u062a Process Manager\npm = dynamic\npm.max_children = 50\npm.start_servers = 5\npm.min_spare_servers = 5\npm.max_spare_servers = 35\npm.max_requests = 500<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F6F6F4\">; <\/span><span style=\"color: #62E884\">\u062a\u063a\u06cc\u06cc\u0631<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">user<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\u0648<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">group<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\u0628\u0647<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">user<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">group<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">; <\/span><span style=\"color: #62E884\">\u062a\u0646\u0638\u06cc\u0645<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">socket<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">listen<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/run\/php-fpm\/www.sock<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">; <\/span><span style=\"color: #62E884\">\u062a\u0646\u0638\u06cc\u0645<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\u0645\u0627\u0644\u06a9\u06cc\u062a<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">socket<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">listen.owner<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">listen.group<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">listen.mode<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">0660<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">; <\/span><span style=\"color: #62E884\">\u062a\u0646\u0638\u06cc\u0645\u0627\u062a<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Process<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Manager<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">pm<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dynamic<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">pm.max_children<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">50<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">pm.start_servers<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">5<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">pm.min_spare_servers<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">5<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">pm.max_spare_servers<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">35<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">pm.max_requests<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">500<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<h4 id=\"gspb_heading-id-gsbp-6f239ca\" class=\"gspb_heading gspb_heading-id-gsbp-6f239ca \">5-3 \u0631\u06cc\u0633\u062a\u0627\u0631\u062a PHP-FPM<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>systemctl restart php-fpm<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">restart<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-fpm<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<h4 id=\"gspb_heading-id-gsbp-ee0b996\" class=\"gspb_heading gspb_heading-id-gsbp-ee0b996 \">6-3 \u0628\u0631\u0631\u0633\u06cc \u0645\u0633\u06cc\u0631 Socket<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>ls -la \/run\/php-fpm\/www.sock<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">ls<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-la<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/run\/php-fpm\/www.sock<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-ddab2cc\" class=\"gspb_text gspb_text-id-gsbp-ddab2cc \">\u062e\u0631\u0648\u062c\u06cc \u0628\u0627\u06cc\u062f \u0634\u0628\u06cc\u0647 \u0627\u06cc\u0646 \u0628\u0627\u0634\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>srw-rw---- 1 nginx nginx 0 Dec 8 10:30 \/run\/php-fpm\/www.sock<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">srw-rw----<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">1<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">0<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Dec<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">8<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">10<\/span><span style=\"color: #E7EE98\">:30<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/run\/php-fpm\/www.sock<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"selinux-configuration-lemp\"><\/div><h3 id=\"gspb_heading-id-gsbp-f9ff313\" class=\"gspb_heading gspb_heading-id-gsbp-f9ff313 \">4- \u062a\u0646\u0638\u06cc\u0645\u0627\u062a SELinux (\u0628\u0633\u06cc\u0627\u0631 \u0645\u0647\u0645!)<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-0e5ac89\" class=\"gspb_text gspb_text-id-gsbp-0e5ac89 \">SELinux \u062f\u0631 CentOS \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0641\u0639\u0627\u0644 \u0627\u0633\u062a \u0648 \u0628\u0627\u06cc\u062f \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0644\u0627\u0632\u0645 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>={IMPORTXML(\"https:\/\/webdade.com\/post-sitemap1.xml\",\"\/\/*&#91;local-name() = 'url'&#93;\/*&#91;local-name() = 'loc'&#93;\");IMPORTXML(\"https:\/\/webdade.com\/post-sitemap2.xml\",\"\/\/*&#91;local-name() = 'ur# \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0627\u062a\u0635\u0627\u0644 \u0634\u0628\u06a9\u0647 \u0628\u0631\u0627\u06cc Nginx\nsetsebool -P httpd_can_network_connect 1\n\n# \u0627\u062c\u0627\u0632\u0647 \u0627\u062c\u0631\u0627\u06cc \u062d\u0627\u0641\u0638\u0647 \u0628\u0631\u0627\u06cc PHP\nsetsebool -P httpd_execmem 1\n\n# \u062a\u0646\u0638\u06cc\u0645 context \u0628\u0631\u0627\u06cc \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0648\u0628\nchcon -R -t httpd_sys_content_t \/var\/www\/html\/\n\n# \u0627\u062c\u0627\u0632\u0647 \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 database\nsetsebool -P httpd_can_network_connect_db 1\n\n# \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a SELinux\ngetenforcel'&#93;\/*&#91;local-name() = 'loc'&#93;\");IMPORTXML(\"https:\/\/webdade.com\/post-sitemap3.xml\",\"\/\/*&#91;local-name() = 'url'&#93;\/*&#91;local-name() = 'loc'&#93;\");IMPORTXML(\"https:\/\/webdade.com\/page-sitemap.xml\",\"\/\/*&#91;local-name() = 'url'&#93;\/*&#91;local-name() = 'loc'&#93;\")}<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F6F6F4\">={IMPORTXML(<\/span><span style=\"color: #62E884\">&quot;https:\/\/webdade.com\/post-sitemap1.xml&quot;<\/span><span style=\"color: #62E884\">,<\/span><span style=\"color: #62E884\">&quot;\/\/*&#91;local-name() = &#39;url&#39;&#93;\/*&#91;local-name() = &#39;loc&#39;&#93;&quot;<\/span><span style=\"color: #F6F6F4\">);<\/span><span style=\"color: #62E884\">IMPORTXML(<\/span><span style=\"color: #62E884\">&quot;https:\/\/webdade.com\/post-sitemap2.xml&quot;<\/span><span style=\"color: #62E884\">,<\/span><span style=\"color: #62E884\">&quot;\/\/*&#91;local-name() = &#39;ur# \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0627\u062a\u0635\u0627\u0644 \u0634\u0628\u06a9\u0647 \u0628\u0631\u0627\u06cc Nginx<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">setsebool -P httpd_can_network_connect 1<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\"># \u0627\u062c\u0627\u0632\u0647 \u0627\u062c\u0631\u0627\u06cc \u062d\u0627\u0641\u0638\u0647 \u0628\u0631\u0627\u06cc PHP<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">setsebool -P httpd_execmem 1<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\"># \u062a\u0646\u0638\u06cc\u0645 context \u0628\u0631\u0627\u06cc \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0648\u0628<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">chcon -R -t httpd_sys_content_t \/var\/www\/html\/<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\"># \u0627\u062c\u0627\u0632\u0647 \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 database<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">setsebool -P httpd_can_network_connect_db 1<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\"># \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a SELinux<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">getenforcel&#39;&#93;\/*&#91;local-name() = &#39;loc&#39;&#93;&quot;<\/span><span style=\"color: #F6F6F4\">);<\/span><span style=\"color: #62E884\">IMPORTXML(<\/span><span style=\"color: #62E884\">&quot;https:\/\/webdade.com\/post-sitemap3.xml&quot;<\/span><span style=\"color: #62E884\">,<\/span><span style=\"color: #62E884\">&quot;\/\/*&#91;local-name() = &#39;url&#39;&#93;\/*&#91;local-name() = &#39;loc&#39;&#93;&quot;<\/span><span style=\"color: #F6F6F4\">);<\/span><span style=\"color: #62E884\">IMPORTXML(<\/span><span style=\"color: #62E884\">&quot;https:\/\/webdade.com\/page-sitemap.xml&quot;<\/span><span style=\"color: #62E884\">,<\/span><span style=\"color: #62E884\">&quot;\/\/*&#91;local-name() = &#39;url&#39;&#93;\/*&#91;local-name() = &#39;loc&#39;&#93;&quot;<\/span><span style=\"color: #F6F6F4\">)}<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-f16ce52\" id=\"gspb_container-id-gsbp-f16ce52\">\n<div id=\"gspb_text-id-gsbp-d41002e\" class=\"gspb_text gspb_text-id-gsbp-d41002e \">\u26a0\ufe0f <strong>\u0647\u0631\u06af\u0632 SELinux \u0631\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0646\u06a9\u0646\u06cc\u062f!<\/strong> \u0641\u0642\u0637 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0635\u062d\u06cc\u062d \u0631\u0627 \u0627\u0639\u0645\u0627\u0644 \u06a9\u0646\u06cc\u062f.<\/div>\n<\/div>\n\n\n\n<div id=\"firewall-configuration-lemp\"><\/div><h3 id=\"gspb_heading-id-gsbp-0f0902d\" class=\"gspb_heading gspb_heading-id-gsbp-0f0902d \">5- \u062a\u0646\u0638\u06cc\u0645\u0627\u062a Firewall<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0627\u0632 \u06a9\u0631\u062f\u0646 \u067e\u0648\u0631\u062a HTTP\nfirewall-cmd --permanent --add-service=http\n\n# \u0628\u0627\u0632 \u06a9\u0631\u062f\u0646 \u067e\u0648\u0631\u062a HTTPS\nfirewall-cmd --permanent --add-service=https\n\n# \u0627\u0639\u0645\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\nfirewall-cmd --reload\n\n# \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a\nfirewall-cmd --list-all<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0627\u0632 \u06a9\u0631\u062f\u0646 \u067e\u0648\u0631\u062a HTTP<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">firewall-cmd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--permanent<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--add-service=http<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0627\u0632 \u06a9\u0631\u062f\u0646 \u067e\u0648\u0631\u062a HTTPS<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">firewall-cmd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--permanent<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--add-service=https<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u0639\u0645\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">firewall-cmd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--reload<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">firewall-cmd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--list-all<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"install-mysql-mariadb-centos\"><\/div><h3 id=\"gspb_heading-id-gsbp-3a592ab\" class=\"gspb_heading gspb_heading-id-gsbp-3a592ab \">6- \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc MySQL\/MariaDB<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-5155679\" class=\"gspb_text gspb_text-id-gsbp-5155679 \">\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0647\u062f\u0641 \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647 \u0627\u0645\u0646\u060c \u067e\u0627\u06cc\u062f\u0627\u0631 \u0648 \u0628\u0647\u06cc\u0646\u0647 \u0627\u0633\u062a\u061b \u062c\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062d\u0633\u0627\u0633 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u0648 \u0628\u0627\u06cc\u062f \u0632\u06cc\u0631\u0633\u0627\u062e\u062a \u0622\u0646 \u0628\u062f\u0648\u0646 \u0636\u0639\u0641 \u0648 \u062e\u0637\u0627 \u0628\u0627\u0634\u062f. \u062a\u0645\u0631\u06a9\u0632 \u0627\u0635\u0644\u06cc \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0628\u0631 \u0646\u0635\u0628 \u062f\u0631\u0633\u062a \u0633\u0631\u0648\u06cc\u0633\u060c \u0627\u06cc\u0645\u0646\u200c\u0633\u0627\u0632\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0648 \u0633\u0627\u062e\u062a \u0633\u0627\u062e\u062a\u0627\u0631\u0647\u0627\u06cc \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc PHP \u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"Database installation\"><\/div><h4 id=\"gspb_heading-id-gsbp-bf6ceed\" class=\"gspb_heading gspb_heading-id-gsbp-bf6ceed \">1-6 \u0646\u0635\u0628 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># CentOS 7:\nyum install mariadb-server -y\n\n# CentOS 8+:\ndnf install mariadb-server -y<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># CentOS 7:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">yum<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mariadb-server<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># CentOS 8+:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dnf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mariadb-server<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"Service-Activation\"><\/div><h4 id=\"gspb_heading-id-gsbp-14e0157\" class=\"gspb_heading gspb_heading-id-gsbp-14e0157 \">2-6 \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0633\u0631\u0648\u06cc\u0633<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>systemctl enable mariadb\nsystemctl start mariadb\nsystemctl status mariadb<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">enable<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mariadb<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">start<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mariadb<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">status<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mariadb<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"Implementing-basic-security\"><\/div><h4 id=\"gspb_heading-id-gsbp-73ac4c8\" class=\"gspb_heading gspb_heading-id-gsbp-73ac4c8 \">3-6 \u0627\u062c\u0631\u0627\u06cc \u0627\u0645\u0646\u06cc\u062a \u0627\u0648\u0644\u06cc\u0647<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>mysql_secure_installation<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">mysql_secure_installation<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-0992e91\" class=\"gspb_text gspb_text-id-gsbp-0992e91 \">\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0628\u0627\u06cc\u062f:<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0631\u0645\u0632 root \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f (\u0631\u0645\u0632 \u0642\u0648\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f)<\/li>\n\n\n\n<li>\u06a9\u0627\u0631\u0628\u0631\u0647\u0627\u06cc Anonymous \u062d\u0630\u0641 \u0634\u0648\u0646\u062f (Yes)<\/li>\n\n\n\n<li>Remote root login \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0634\u0648\u062f (Yes)<\/li>\n\n\n\n<li>\u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 test \u062d\u0630\u0641 \u0634\u0648\u062f (Yes)<\/li>\n\n\n\n<li>Reload privilege tables (Yes)<\/li>\n<\/ul>\n\n\n\n<div id=\"Creating-a-sample-database-and-user\"><\/div><h4 id=\"gspb_heading-id-gsbp-d9e15f7\" class=\"gspb_heading gspb_heading-id-gsbp-d9e15f7 \">4-6 \u0633\u0627\u062e\u062a \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0648 \u06a9\u0627\u0631\u0628\u0631 \u0646\u0645\u0648\u0646\u0647<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>mysql -u root -p<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">mysql<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-u<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">root<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-p<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>CREATE DATABASE myapp CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\nCREATE USER 'myuser'@'localhost' IDENTIFIED BY 'StrongPassword123!';\nGRANT ALL PRIVILEGES ON myapp.* TO 'myuser'@'localhost';\nFLUSH PRIVILEGES;\nEXIT;<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">CREATE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">DATABASE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">myapp<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">CHARACTER<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">SET<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">utf8mb4<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">COLLATE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">utf8mb4_unicode_ci<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">CREATE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">USER<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">myuser<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">@<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">localhost<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">IDENTIFIED<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">BY<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">StrongPassword123!<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">GRANT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ALL<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">PRIVILEGES<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ON<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">myapp.<\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">TO<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">myuser<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">@<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">localhost<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">FLUSH<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">PRIVILEGES<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">EXIT<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"Test-the-connection\"><\/div><h4 id=\"gspb_heading-id-gsbp-3ac4d7b\" class=\"gspb_heading gspb_heading-id-gsbp-3ac4d7b \">5-6 \u062a\u0633\u062a \u0627\u062a\u0635\u0627\u0644<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>mysql -u myuser -p myapp<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">mysql<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-u<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">myuser<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-p<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">myapp<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"nginx-virtual-host-setup\"><\/div><h3 id=\"gspb_heading-id-gsbp-7cf65da\" class=\"gspb_heading gspb_heading-id-gsbp-7cf65da \">7- \u0633\u0627\u062e\u062a Virtual Host \u062f\u0631 Nginx<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-894ed4a\" class=\"gspb_text gspb_text-id-gsbp-894ed4a \">Virtual Host \u062f\u0631 Nginx \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f \u0686\u0646\u062f\u06cc\u0646 \u0648\u0628\u200c\u0633\u0627\u06cc\u062a \u0628\u0627 \u062f\u0627\u0645\u0646\u0647\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0631\u0627 \u0631\u0648\u06cc \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u0648\u0627\u062d\u062f \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0628\u0647\u200c\u0637\u0648\u0631\u06cc\u200c\u06a9\u0647 \u0647\u0631 \u0633\u0627\u06cc\u062a \u062f\u0627\u0631\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645\u0627\u062a\u060c \u0645\u0633\u06cc\u0631 \u0641\u0627\u06cc\u0644\u060c \u0644\u0627\u06af \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0645\u0633\u062a\u0642\u0644 \u062e\u0648\u062f \u0628\u0627\u0634\u062f. \u062f\u0631 Nginx \u0627\u06cc\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0627\u06cc\u062c\u0627\u062f \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u06a9\u0627\u0646\u0641\u06cc\u06af \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u062f\u0631 \u0645\u0633\u06cc\u0631 <code>\/etc\/nginx\/conf.d\/<\/code> \u0628\u0627 \u0633\u0627\u062e\u062a\u0627\u0631 <code>server {}<\/code> block \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0645\u06cc\u200c\u0634\u0648\u062f \u0648 \u0628\u0647 \u0634\u0645\u0627 \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0627\u0645\u0644 \u0628\u0631 \u0631\u0648\u06cc \u0647\u0631 \u062f\u0627\u0645\u0646\u0647\u060c \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a SSL \u0648 PHP-FPM \u06af\u0631\u0641\u062a\u0647 \u062a\u0627 \u0642\u0648\u0627\u0646\u06cc\u0646 Rewrite \u0648 Cache \u0631\u0627 \u0645\u06cc\u200c\u062f\u0647\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634\u060c \u0645\u0631\u0627\u062d\u0644 \u0633\u0627\u062e\u062a \u06cc\u06a9 Virtual Host \u06a9\u0627\u0645\u0644\u060c \u0627\u0645\u0646 \u0648 \u0628\u0647\u06cc\u0646\u0647\u200c\u0634\u062f\u0647 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u200c\u0647\u0627\u06cc PHP \u0645\u0627\u0646\u0646\u062f \u0648\u0631\u062f\u067e\u0631\u0633 \u0648 \u0644\u0627\u0631\u0627\u0648\u0644 \u0631\u0627 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u0639\u0645\u0644\u06cc \u0622\u0645\u0648\u0632\u0634 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.<\/div>\n\n\n\n<div id=\"Create-a-website-directory\"><\/div><h4 id=\"gspb_heading-id-gsbp-9d049fb\" class=\"gspb_heading gspb_heading-id-gsbp-9d049fb \">1-7 \u0633\u0627\u062e\u062a \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0648\u0628\u200c\u0633\u0627\u06cc\u062a<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>mkdir -p \/var\/www\/html\/example.com\nchown -R nginx:nginx \/var\/www\/html\/example.com\nchmod -R 755 \/var\/www\/html\/example.com<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">mkdir<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-p<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/www\/html\/example.com<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">chown<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-R<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx:nginx<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/www\/html\/example.com<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">chmod<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-R<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">755<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/www\/html\/example.com<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"Create-the-config-file\"><\/div><h4 id=\"gspb_heading-id-gsbp-8a84b80\" class=\"gspb_heading gspb_heading-id-gsbp-8a84b80 \">2-7 \u0633\u0627\u062e\u062a \u0641\u0627\u06cc\u0644 \u06a9\u0627\u0646\u0641\u06cc\u06af<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>vi \/etc\/nginx\/conf.d\/example.com.conf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">vi<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/nginx\/conf.d\/example.com.conf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-172802d\" class=\"gspb_text gspb_text-id-gsbp-172802d \"><strong>\u0645\u062d\u062a\u0648\u0627\u06cc \u0641\u0627\u06cc\u0644 (\u06a9\u0627\u0646\u0641\u06cc\u06af \u06a9\u0627\u0645\u0644 \u0648 \u0628\u0647\u06cc\u0646\u0647):<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>server {\n    listen 80;\n    server_name example.com www.example.com;\n    root \/var\/www\/html\/example.com;\n    \n    index index.php index.html index.htm;\n    \n    # \u0644\u0627\u06af\u200c\u0647\u0627\n    access_log \/var\/log\/nginx\/example.com-access.log;\n    error_log \/var\/log\/nginx\/example.com-error.log;\n    \n    # \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc\n    server_tokens off;\n    \n    # \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc\n    client_max_body_size 64M;\n    \n    # \u0645\u0633\u06cc\u0631 \u0627\u0635\u0644\u06cc\n    location \/ {\n        try_files $uri $uri\/ \/index.php?$query_string;\n    }\n    \n    # \u067e\u0631\u062f\u0627\u0632\u0634 PHP\n    location ~ \\.php$ {\n        try_files $uri =404;\n        fastcgi_pass unix:\/run\/php-fpm\/www.sock;\n        fastcgi_index index.php;\n        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n        fastcgi_param PATH_INFO $fastcgi_path_info;\n        include fastcgi_params;\n        \n        # \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc\n        fastcgi_buffer_size 128k;\n        fastcgi_buffers 256 16k;\n        fastcgi_busy_buffers_size 256k;\n        fastcgi_temp_file_write_size 256k;\n        fastcgi_read_timeout 240;\n    }\n    \n    # \u0645\u0633\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc .htaccess\n    location ~ \/\\.ht {\n        deny all;\n    }\n    \n    # \u0645\u0633\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0645\u062e\u0641\u06cc\n    location ~ \/\\. {\n        deny all;\n        access_log off;\n        log_not_found off;\n    }\n    \n    # \u06a9\u0634 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0627\u0633\u062a\u0627\u062a\u06cc\u06a9\n    location ~* \\.(jpg|jpeg|png|gif|ico|css|js|svg|woff|woff2|ttf|eot)$ {\n        expires 1y;\n        add_header Cache-Control \"public, immutable\";\n        access_log off;\n    }\n}<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">server<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">listen<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">80<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">server_name<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">example.com<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">www.example.com<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">root<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/www\/html\/example.com<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">index<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">index.php<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">index.html<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">index.htm<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #7B7F8B\"># \u0644\u0627\u06af\u200c\u0647\u0627<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">access_log<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/log\/nginx\/example.com-access.log<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">error_log<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/log\/nginx\/example.com-error.log<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #7B7F8B\"># \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">server_tokens<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">off<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #7B7F8B\"># \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">client_max_body_size<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">64<\/span><span style=\"color: #E7EE98\">M<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #7B7F8B\"># \u0645\u0633\u06cc\u0631 \u0627\u0635\u0644\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">location<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">try_files<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">$uri<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">$uri<\/span><span style=\"color: #E7EE98\">\/<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/index.php?<\/span><span style=\"color: #BF9EEE\">$query_string<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #7B7F8B\"># \u067e\u0631\u062f\u0627\u0632\u0634 PHP<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">location<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">~<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">\\.<\/span><span style=\"color: #E7EE98\">php<\/span><span style=\"color: #F6F6F4\">$ <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">try_files<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">$uri<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #BF9EEE\">404<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">fastcgi_pass<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">unix:\/run\/php-fpm\/www.sock<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">fastcgi_index<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">index.php<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">fastcgi_param<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">SCRIPT_FILENAME<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">$document_root$fastcgi_script_name<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">fastcgi_param<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">PATH_INFO<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">$fastcgi_path_info<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">include<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">fastcgi_params<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #7B7F8B\"># \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">fastcgi_buffer_size<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">128<\/span><span style=\"color: #E7EE98\">k<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">fastcgi_buffers<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">256<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">16<\/span><span style=\"color: #E7EE98\">k<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">fastcgi_busy_buffers_size<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">256<\/span><span style=\"color: #E7EE98\">k<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">fastcgi_temp_file_write_size<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">256<\/span><span style=\"color: #E7EE98\">k<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">fastcgi_read_timeout<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">240<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #7B7F8B\"># \u0645\u0633\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc .htaccess<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">location<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">~<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/<\/span><span style=\"color: #F286C4\">\\.<\/span><span style=\"color: #E7EE98\">ht<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">deny<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">all<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #7B7F8B\"># \u0645\u0633\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0645\u062e\u0641\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">location<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">~<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/<\/span><span style=\"color: #F286C4\">\\.<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">deny<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">all<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">access_log<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">off<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">log_not_found<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">off<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #7B7F8B\"># \u06a9\u0634 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0627\u0633\u062a\u0627\u062a\u06cc\u06a9<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">location<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">~<\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">\\.<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #62E884\">jpg<\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #62E884\">jpeg<\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #62E884\">png<\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #62E884\">gif<\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #62E884\">ico<\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #62E884\">css<\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #62E884\">js<\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #62E884\">svg<\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #62E884\">woff<\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #62E884\">woff2<\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #62E884\">ttf<\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #62E884\">eot<\/span><span style=\"color: #F6F6F4\">)$ <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">expires<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">1<\/span><span style=\"color: #E7EE98\">y<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">add_header<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Cache-Control<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">public, immutable<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">access_log<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">off<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">}<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"Nginx-configuration-test\"><\/div><h4 id=\"gspb_heading-id-gsbp-5ac1de2\" class=\"gspb_heading gspb_heading-id-gsbp-5ac1de2 \">3-7 \u062a\u0633\u062a \u06a9\u0627\u0646\u0641\u06cc\u06af Nginx<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>nginx -t<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">nginx<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-t<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-3f332b2\" class=\"gspb_text gspb_text-id-gsbp-3f332b2 \">\u062e\u0631\u0648\u062c\u06cc \u0628\u0627\u06cc\u062f:<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>nginx: the configuration file \/etc\/nginx\/nginx.conf syntax is ok\nnginx: configuration file \/etc\/nginx\/nginx.conf test is successful<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">nginx:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">the<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">configuration<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">file<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/nginx\/nginx.conf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">syntax<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">is<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ok<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">nginx:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">configuration<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">file<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/nginx\/nginx.conf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">test<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">is<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">successful<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"Restart-Nginx\"><\/div><h4 id=\"gspb_heading-id-gsbp-89529d4\" class=\"gspb_heading gspb_heading-id-gsbp-89529d4 \">4-7 \u0631\u06cc\u0633\u062a\u0627\u0631\u062a Nginx<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>systemctl restart nginx<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">restart<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"nginx-optimization\"><\/div><h3 id=\"gspb_heading-id-gsbp-1fc7db7\" class=\"gspb_heading gspb_heading-id-gsbp-1fc7db7 \">8- \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc Nginx<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-bace823\" class=\"gspb_text gspb_text-id-gsbp-bace823 \">\u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc Nginx \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u0645\u0631\u0627\u062d\u0644 \u0628\u0631\u0627\u06cc \u0627\u0641\u0632\u0627\u06cc\u0634 \u0633\u0631\u0639\u062a\u060c \u06a9\u0627\u0647\u0634 \u0645\u0635\u0631\u0641 \u0645\u0646\u0627\u0628\u0639 \u0648 \u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u067e\u0631\u062f\u0627\u0632\u0634 \u0647\u0632\u0627\u0631\u0627\u0646 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0645\u0632\u0645\u0627\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062a\u0646\u0638\u06cc\u0645 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u062d\u06cc\u0627\u062a\u06cc \u0645\u0627\u0646\u0646\u062f worker_processes\u060c worker_connections\u060c \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc Gzip\u060c \u062a\u0646\u0638\u06cc\u0645 Buffer \u0647\u0627 \u0648 \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc Cache \u0628\u0631\u0627\u06cc \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0627\u0633\u062a\u0627\u062a\u06cc\u06a9 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0627\u06cc\u0646 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0632\u0645\u0627\u0646 \u067e\u0627\u0633\u062e\u200c\u062f\u0647\u06cc \u0633\u0631\u0648\u0631 (TTFB) \u0631\u0627 \u062a\u0627 70% \u06a9\u0627\u0647\u0634 \u062f\u0647\u0646\u062f\u060c \u0645\u0635\u0631\u0641 \u067e\u0647\u0646\u0627\u06cc \u0628\u0627\u0646\u062f \u0631\u0627 \u0628\u0627 \u0641\u0634\u0631\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u062a\u0627 80% \u06a9\u0645 \u06a9\u0646\u0646\u062f \u0648 \u0638\u0631\u0641\u06cc\u062a \u0633\u0631\u0648\u0631 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0633\u0631\u0648\u06cc\u0633\u200c\u062f\u0647\u06cc \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0628\u06cc\u0634\u062a\u0631 \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0627\u0631\u062a\u0642\u0627\u06cc \u0633\u062e\u062a\u200c\u0627\u0641\u0632\u0627\u0631\u060c \u0686\u0646\u062f\u06cc\u0646 \u0628\u0631\u0627\u0628\u0631 \u0627\u0641\u0632\u0627\u06cc\u0634 \u062f\u0647\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634\u060c \u062a\u0645\u0627\u0645 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 Nginx \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 <code>\/etc\/nginx\/nginx.conf<\/code> \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u0639\u0645\u0644\u06cc \u0648 \u0628\u0627 \u062a\u0648\u0636\u06cc\u062d\u0627\u062a \u06a9\u0627\u0645\u0644 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>vi \/etc\/nginx\/nginx.conf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">vi<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/nginx\/nginx.conf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-4551748\" class=\"gspb_text gspb_text-id-gsbp-4551748 \"><strong>\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0628\u0647\u06cc\u0646\u0647:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>user nginx;\nworker_processes auto;\nerror_log \/var\/log\/nginx\/error.log warn;\npid \/run\/nginx.pid;\n\nevents {\n    worker_connections 1024;\n    use epoll;\n}\n\nhttp {\n    include \/etc\/nginx\/mime.types;\n    default_type application\/octet-stream;\n    \n    log_format main '$remote_addr - $remote_user &#91;$time_local&#93; \"$request\" '\n                    '$status $body_bytes_sent \"$http_referer\" '\n                    '\"$http_user_agent\" \"$http_x_forwarded_for\"';\n    \n    access_log \/var\/log\/nginx\/access.log main;\n    \n    sendfile on;\n    tcp_nopush on;\n    tcp_nodelay on;\n    keepalive_timeout 65;\n    types_hash_max_size 2048;\n    server_tokens off;\n    \n    # \u0641\u0634\u0631\u062f\u0647\u200c\u0633\u0627\u0632\u06cc Gzip\n    gzip on;\n    gzip_vary on;\n    gzip_comp_level 5;\n    gzip_min_length 256;\n    gzip_proxied any;\n    gzip_types\n        application\/atom+xml\n        application\/javascript\n        application\/json\n        application\/ld+json\n        application\/manifest+json\n        application\/rss+xml\n        application\/vnd.geo+json\n        application\/vnd.ms-fontobject\n        application\/x-font-ttf\n        application\/x-web-app-manifest+json\n        application\/xhtml+xml\n        application\/xml\n        font\/opentype\n        image\/bmp\n        image\/svg+xml\n        image\/x-icon\n        text\/cache-manifest\n        text\/css\n        text\/plain\n        text\/vcard\n        text\/vnd.rim.location.xloc\n        text\/vtt\n        text\/x-component\n        text\/x-cross-domain-policy;\n    \n    include \/etc\/nginx\/conf.d\/*.conf;\n}<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">user<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nginx<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">worker_processes<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">auto<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">error_log<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/log\/nginx\/error.log<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">warn<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">pid<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/run\/nginx.pid<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">events<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">worker_connections<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">1024<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">use<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">epoll<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">http<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">include<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/nginx\/mime.types<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">default_type<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">application\/octet-stream<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">log_format<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">main<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">$remote_addr - $remote_user &#91;$time_local&#93; &quot;$request&quot; <\/span><span style=\"color: #DEE492\">&#39;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">                    <\/span><span style=\"color: #62E884\">&#39;$status $body_bytes_sent &quot;$http_referer&quot; &#39;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">                    <\/span><span style=\"color: #62E884\">&#39;&quot;$http_user_agent&quot; &quot;$http_x_forwarded_for&quot;&#39;<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">access_log<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/log\/nginx\/access.log<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">main<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">sendfile<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">tcp_nopush<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">tcp_nodelay<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">keepalive_timeout<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">65<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">types_hash_max_size<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">2048<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">server_tokens<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">off<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #7B7F8B\"># \u0641\u0634\u0631\u062f\u0647\u200c\u0633\u0627\u0632\u06cc Gzip<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">gzip<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">gzip_vary<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">on<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">gzip_comp_level<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">5<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">gzip_min_length<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">256<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">gzip_proxied<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">any<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">gzip_types<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">application\/atom+xml<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">application\/javascript<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">application\/json<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">application\/ld+json<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">application\/manifest+json<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">application\/rss+xml<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">application\/vnd.geo+json<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">application\/vnd.ms-fontobject<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">application\/x-font-ttf<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">application\/x-web-app-manifest+json<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">application\/xhtml+xml<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">application\/xml<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">font\/opentype<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">image\/bmp<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">image\/svg+xml<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">image\/x-icon<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">text\/cache-manifest<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">text\/css<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">text\/plain<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">text\/vcard<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">text\/vnd.rim.location.xloc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">text\/vtt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">text\/x-component<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #62E884\">text\/x-cross-domain-policy<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">include<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/nginx\/conf.d\/<\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #E7EE98\">.conf<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">}<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"php-optimization\"><\/div><h3 id=\"gspb_heading-id-gsbp-dcce2e1\" class=\"gspb_heading gspb_heading-id-gsbp-dcce2e1 \">9- \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc PHP<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-dff4921\" class=\"gspb_text gspb_text-id-gsbp-dff4921 \">\u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc PHP \u0634\u0627\u0645\u0644 \u062a\u0646\u0638\u06cc\u0645 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u062d\u06cc\u0627\u062a\u06cc \u062f\u0631 \u0641\u0627\u06cc\u0644 <code>php.ini<\/code> \u0648 \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc OPcache \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0633\u0631\u0639\u062a \u0627\u062c\u0631\u0627\u06cc \u06a9\u062f\u0647\u0627\u06cc PHP \u0631\u0627 \u062a\u0627 3 \u0628\u0631\u0627\u0628\u0631 \u0627\u0641\u0632\u0627\u06cc\u0634 \u062f\u0647\u062f\u060c \u0645\u0635\u0631\u0641 CPU \u0631\u0627 \u062a\u0627 50% \u06a9\u0627\u0647\u0634 \u062f\u0647\u062f \u0648 \u0632\u0645\u0627\u0646 \u067e\u0627\u0633\u062e\u200c\u062f\u0647\u06cc \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u200c\u0647\u0627\u06cc \u067e\u0631\u062a\u0631\u0627\u0641\u06cc\u06a9 \u0645\u0627\u0646\u0646\u062f \u0648\u0631\u062f\u067e\u0631\u0633 \u0648 \u0644\u0627\u0631\u0627\u0648\u0644 \u0631\u0627 \u0628\u0647\u200c\u0637\u0648\u0631 \u0686\u0634\u0645\u06af\u06cc\u0631\u06cc \u0628\u0647\u0628\u0648\u062f \u0628\u062e\u0634\u062f. \u0628\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0635\u062d\u06cc\u062d \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc\u06cc \u0645\u0627\u0646\u0646\u062f <code>memory_limit<\/code>, <code>max_execution_time<\/code>, <code>upload_max_filesize<\/code> \u0648 \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc OPcache \u06a9\u0647 bytecode \u0647\u0627\u06cc PHP \u0631\u0627 \u062f\u0631 \u062d\u0627\u0641\u0638\u0647 \u06a9\u0634 \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u062f\u0648\u0646 \u0647\u06cc\u0686 \u062a\u063a\u06cc\u06cc\u0631\u06cc \u062f\u0631 \u06a9\u062f\u060c \u0639\u0645\u0644\u06a9\u0631\u062f \u0633\u0631\u0648\u0631 \u0631\u0627 \u0628\u0647 \u062d\u062f\u0627\u06a9\u062b\u0631 \u0628\u0631\u0633\u0627\u0646\u06cc\u062f \u0648 \u062a\u062c\u0631\u0628\u0647 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0628\u0647\u062a\u0631\u06cc \u0628\u0631\u0627\u06cc \u0628\u0627\u0632\u062f\u06cc\u062f\u06a9\u0646\u0646\u062f\u06af\u0627\u0646 \u0641\u0631\u0627\u0647\u0645 \u06a9\u0646\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634\u060c \u062a\u0645\u0627\u0645 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u062a\u0648\u0635\u06cc\u0647\u200c\u0634\u062f\u0647 \u0628\u0631\u0627\u06cc \u0645\u062d\u06cc\u0637 Production \u0631\u0627 \u0628\u0627 \u062a\u0648\u0636\u06cc\u062d\u0627\u062a \u06a9\u0627\u0645\u0644 \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>vi \/etc\/php.ini<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">vi<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/php.ini<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-369648b\" class=\"gspb_text gspb_text-id-gsbp-369648b \"><strong>\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u062a\u0648\u0635\u06cc\u0647\u200c\u0634\u062f\u0647:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>max_execution_time = 300\nmax_input_time = 300\nmemory_limit = 256M\npost_max_size = 64M\nupload_max_filesize = 64M\n\ndate.timezone = Asia\/Tehran\n\nopcache.enable=1\nopcache.enable_cli=1\nopcache.memory_consumption=128\nopcache.interned_strings_buffer=8\nopcache.max_accelerated_files=10000\nopcache.revalidate_freq=2\nopcache.fast_shutdown=1<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">max_execution_time<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">300<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">max_input_time<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">300<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">memory_limit<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">256<\/span><span style=\"color: #E7EE98\">M<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">post_max_size<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">64<\/span><span style=\"color: #E7EE98\">M<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">upload_max_filesize<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">64<\/span><span style=\"color: #E7EE98\">M<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">date.timezone<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Asia\/Tehran<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">opcache.enable<\/span><span style=\"color: #F6F6F4\">=1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">opcache.enable_cli<\/span><span style=\"color: #F6F6F4\">=1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">opcache.memory_consumption<\/span><span style=\"color: #F6F6F4\">=128<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">opcache.interned_strings_buffer<\/span><span style=\"color: #F6F6F4\">=8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">opcache.max_accelerated_files<\/span><span style=\"color: #F6F6F4\">=10000<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">opcache.revalidate_freq<\/span><span style=\"color: #F6F6F4\">=2<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">opcache.fast_shutdown<\/span><span style=\"color: #F6F6F4\">=1<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-fab1a7a\" class=\"gspb_text gspb_text-id-gsbp-fab1a7a \"><strong>\u0631\u06cc\u0633\u062a\u0627\u0631\u062a PHP-FPM:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>systemctl restart php-fpm<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">restart<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">php-fpm<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-3725c5b\" id=\"gspb_container-id-gsbp-3725c5b\">\n<div id=\"gspb_text-id-gsbp-c965875\" class=\"gspb_text gspb_text-id-gsbp-c965875 \">\ud83d\udca1 \u0628\u06cc\u0634\u062a\u0631 \u0628\u062f\u0627\u0646\u06cc\u062f: \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 SSL \u0631\u0627\u06cc\u06af\u0627\u0646 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 LetsEncrypt<\/div>\n<\/div>\n\n\n\n<div id=\"install-ssl-certbot\"><\/div><h2 id=\"gspb_heading-id-gsbp-4b8a3f0\" class=\"gspb_heading gspb_heading-id-gsbp-4b8a3f0 \">10- \u0646\u0635\u0628 SSL \u0628\u0627 Certbot<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-14e3622\" class=\"gspb_text gspb_text-id-gsbp-14e3622 \">\u0646\u0635\u0628 \u06af\u0648\u0627\u0647\u06cc\u0646\u0627\u0645\u0647 SSL \u0631\u0627\u06cc\u06af\u0627\u0646 \u0628\u0627 Certbot (\u0627\u0628\u0632\u0627\u0631 \u0631\u0633\u0645\u06cc Let&#8217;s Encrypt) \u06cc\u06a9\u06cc \u0627\u0632 \u0633\u0627\u062f\u0647\u200c\u062a\u0631\u06cc\u0646 \u0648 \u0633\u0631\u06cc\u0639\u200c\u062a\u0631\u06cc\u0646 \u0631\u0648\u0634\u200c\u0647\u0627 \u0628\u0631\u0627\u06cc \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc HTTPS \u0631\u0648\u06cc \u0648\u0628\u200c\u0633\u0627\u06cc\u062a \u0627\u0633\u062a \u06a9\u0647 \u0646\u0647\u200c\u062a\u0646\u0647\u0627 \u0627\u0645\u0646\u06cc\u062a \u0627\u0631\u062a\u0628\u0627\u0637\u0627\u062a \u0631\u0627 \u062a\u0636\u0645\u06cc\u0646 \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0628\u0644\u06a9\u0647 \u0631\u062a\u0628\u0647 SEO \u0631\u0627 \u0628\u0647\u0628\u0648\u062f \u0645\u06cc\u200c\u0628\u062e\u0634\u062f \u0648 \u0627\u0639\u062a\u0645\u0627\u062f \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0631\u0627 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0645\u06cc\u200c\u062f\u0647\u062f. Certbot \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u06a9\u0627\u0646\u0641\u06cc\u06af Nginx \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 HTTPS \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u06af\u0648\u0627\u0647\u06cc\u0646\u0627\u0645\u0647 \u0631\u0627 \u0635\u0627\u062f\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0647\u0631 90 \u0631\u0648\u0632 \u06cc\u06a9\u200c\u0628\u0627\u0631 \u0622\u0646 \u0631\u0627 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u062a\u0645\u062f\u06cc\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u067e\u0633 \u0627\u0632 \u0646\u0635\u0628 \u0627\u0648\u0644\u06cc\u0647\u060c \u062f\u06cc\u06af\u0631 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u0645\u062f\u06cc\u0631\u06cc\u062a \u062f\u0633\u062a\u06cc \u0646\u062f\u0627\u0631\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634\u060c \u0645\u0631\u0627\u062d\u0644 \u0646\u0635\u0628 Certbot\u060c \u062f\u0631\u06cc\u0627\u0641\u062a \u06af\u0648\u0627\u0647\u06cc\u0646\u0627\u0645\u0647 SSL \u0628\u0631\u0627\u06cc \u06cc\u06a9 \u06cc\u0627 \u0686\u0646\u062f \u062f\u0627\u0645\u0646\u0647\u060c \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u062e\u0648\u062f\u06a9\u0627\u0631 Nginx \u0648 \u062a\u0633\u062a \u062a\u0645\u062f\u06cc\u062f \u062e\u0648\u062f\u06a9\u0627\u0631 \u0631\u0627 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u06af\u0627\u0645\u200c\u0628\u0647\u200c\u06af\u0627\u0645 \u0622\u0645\u0648\u0632\u0634 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0646\u0635\u0628 Certbot\ndnf install certbot python3-certbot-nginx -y\n\n# \u062f\u0631\u06cc\u0627\u0641\u062a SSL \u0628\u0631\u0627\u06cc \u062f\u0627\u0645\u0646\u0647\ncertbot --nginx -d example.com -d www.example.com\n\n# \u062a\u0633\u062a \u062a\u0645\u062f\u06cc\u062f \u062e\u0648\u062f\u06a9\u0627\u0631\ncertbot renew --dry-run<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0646\u0635\u0628 Certbot<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dnf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">certbot<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">python3-certbot-nginx<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062f\u0631\u06cc\u0627\u0641\u062a SSL \u0628\u0631\u0627\u06cc \u062f\u0627\u0645\u0646\u0647<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">certbot<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--nginx<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-d<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">example.com<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-d<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">www.example.com<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062a\u0633\u062a \u062a\u0645\u062f\u06cc\u062f \u062e\u0648\u062f\u06a9\u0627\u0631<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">certbot<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">renew<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--dry-run<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-b43f675\" class=\"gspb_text gspb_text-id-gsbp-b43f675 \"><strong>Certbot \u0628\u0647\u200c\u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u06a9\u0627\u0646\u0641\u06cc\u06af Nginx \u0631\u0627 \u0628\u0631\u0627\u06cc HTTPS \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/strong><\/div>\n\n\n\n<div id=\"test-phpinfo-lemp\"><\/div><h2 id=\"gspb_heading-id-gsbp-4102c2a\" class=\"gspb_heading gspb_heading-id-gsbp-4102c2a \">\u062a\u0633\u062a \u0646\u0647\u0627\u06cc\u06cc \u0645\u0639\u0645\u0627\u0631\u06cc LEMP<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-1bb2a54\" class=\"gspb_text gspb_text-id-gsbp-1bb2a54 \">\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0647\u062f\u0641 \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u0627\u0632 \u0639\u0645\u0644\u06a9\u0631\u062f \u0635\u062d\u06cc\u062d \u062a\u0645\u0627\u0645 \u0627\u062c\u0632\u0627\u06cc \u0633\u0627\u062e\u062a\u0627\u0631 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631\u06cc LEMP \u0627\u0633\u062a\u061b \u0628\u0647\u200c\u0637\u0648\u0631\u06cc\u200c\u06a9\u0647 \u0627\u0631\u062a\u0628\u0627\u0637 \u0645\u06cc\u0627\u0646 Nginx\u060c PHP-FPM \u0648 MySQL \u0628\u062f\u0648\u0646 \u062e\u0637\u0627 \u0628\u0631\u0642\u0631\u0627\u0631 \u0628\u0627\u0634\u062f. \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u06a9\u0645\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0647\u0631\u06af\u0648\u0646\u0647 \u0627\u06cc\u0631\u0627\u062f \u067e\u0646\u0647\u0627\u0646 \u062f\u0631 \u0627\u062c\u0631\u0627\u06cc PHP \u06cc\u0627 \u067e\u0627\u0633\u062e\u200c\u062f\u0647\u06cc \u0648\u0628\u200c\u0633\u0631\u0648\u0631 \u0642\u0628\u0644 \u0627\u0632 \u0627\u0646\u062a\u0634\u0627\u0631 \u067e\u0631\u0648\u0698\u0647 \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u0634\u0648\u062f<\/div>\n\n\n\n<div id=\"Creating-a-phpinfo-file\"><\/div><h3 id=\"gspb_heading-id-gsbp-cf4b6de\" class=\"gspb_heading gspb_heading-id-gsbp-cf4b6de \">\u0633\u0627\u062e\u062a \u0641\u0627\u06cc\u0644 phpinfo<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>vi \/var\/www\/html\/example.com\/info.php<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">vi<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/www\/html\/example.com\/info.php<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-d93532d\" class=\"gspb_text gspb_text-id-gsbp-d93532d \"><strong>\u0645\u062d\u062a\u0648\u0627:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;?php\nphpinfo();\n?><\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F286C4\">&lt;?<\/span><span style=\"color: #F6F6F4\">php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">phpinfo<\/span><span style=\"color: #F6F6F4\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F286C4\">?&gt;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"Creating-a-MySQL-test-file\"><\/div><h3 id=\"gspb_heading-id-gsbp-253e569\" class=\"gspb_heading gspb_heading-id-gsbp-253e569 \">\u0633\u0627\u062e\u062a \u0641\u0627\u06cc\u0644 \u062a\u0633\u062a MySQL<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>vi \/var\/www\/html\/example.com\/dbtest.php<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">vi<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/www\/html\/example.com\/dbtest.php<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-0a0bee6\" class=\"gspb_text gspb_text-id-gsbp-0a0bee6 \"><strong>\u0645\u062d\u062a\u0648\u0627:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;?php\n$servername = \"localhost\";\n$username = \"myuser\";\n$password = \"StrongPassword123!\";\n$dbname = \"myapp\";\n\n$conn = new mysqli($servername, $username, $password, $dbname);\n\nif ($conn->connect_error) {\n    die(\"Connection failed: \" . $conn->connect_error);\n}\necho \"Connected successfully to MySQL!\";\n$conn->close();\n?><\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F286C4\">&lt;?<\/span><span style=\"color: #F6F6F4\">php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BF9EEE\">$servername<\/span><span style=\"color: #F6F6F4\"> = <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">localhost<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BF9EEE\">$username<\/span><span style=\"color: #F6F6F4\"> = <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">myuser<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BF9EEE\">$password<\/span><span style=\"color: #F6F6F4\"> = <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">StrongPassword123!<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BF9EEE\">$dbname<\/span><span style=\"color: #F6F6F4\"> = <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">myapp<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #BF9EEE\">$conn<\/span><span style=\"color: #F6F6F4\"> = new mysqli(<\/span><span style=\"color: #BF9EEE\">$servername<\/span><span style=\"color: #F6F6F4\">, <\/span><span style=\"color: #BF9EEE\">$username<\/span><span style=\"color: #F6F6F4\">, <\/span><span style=\"color: #BF9EEE\">$password<\/span><span style=\"color: #F6F6F4\">, <\/span><span style=\"color: #BF9EEE\">$dbname<\/span><span style=\"color: #F6F6F4\">);<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F286C4\">if<\/span><span style=\"color: #F6F6F4\"> (<\/span><span style=\"color: #BF9EEE\">$conn<\/span><span style=\"color: #F6F6F4\">-<\/span><span style=\"color: #F286C4\">&gt;<\/span><span style=\"color: #F6F6F4\">connect_error) {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">die(<\/span><span style=\"color: #62E884\">&quot;Connection failed: &quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">.<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">$conn<\/span><span style=\"color: #F6F6F4\">-<\/span><span style=\"color: #F286C4\">&gt;<\/span><span style=\"color: #E7EE98\">connect_error<\/span><span style=\"color: #F6F6F4\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #97E1F1\">echo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">Connected successfully to MySQL!<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">$conn-&gt;close<\/span><span style=\"color: #F6F6F4\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F286C4\">?&gt;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"Check-in-browser\"><\/div><h3 id=\"gspb_heading-id-gsbp-6c1cb64\" class=\"gspb_heading gspb_heading-id-gsbp-6c1cb64 \">\u0628\u0631\u0631\u0633\u06cc \u062f\u0631 \u0645\u0631\u0648\u0631\u06af\u0631<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>http:\/\/example.com\/info.php\nhttp:\/\/example.com\/dbtest.php<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">http:\/\/example.com\/info.php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">http:\/\/example.com\/dbtest.php<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-2be1015\" class=\"gspb_text gspb_text-id-gsbp-2be1015 \">\u0627\u06af\u0631 \u0635\u0641\u062d\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a PHP \u0648 \u067e\u06cc\u0627\u0645 &#8220;Connected successfully&#8221; \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u062f\u060c \u0646\u0635\u0628 \u0645\u0648\u0641\u0642 \u0628\u0648\u062f\u0647 \u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"Delete-test-files-security\"><\/div><h3 id=\"gspb_heading-id-gsbp-01ecd92\" class=\"gspb_heading gspb_heading-id-gsbp-01ecd92 \"> \u062d\u0630\u0641 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u062a\u0633\u062a (\u0627\u0645\u0646\u06cc\u062a)<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>rm -f \/var\/www\/html\/example.com\/info.php\nrm -f \/var\/www\/html\/example.com\/dbtest.php<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">rm<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-f<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/www\/html\/example.com\/info.php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">rm<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-f<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/www\/html\/example.com\/dbtest.php<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-b1f4cf0\" class=\"gspb_text gspb_text-id-gsbp-b1f4cf0 \">\u26a0\ufe0f <strong>\u0647\u0631\u06af\u0632 \u0641\u0627\u06cc\u0644 phpinfo \u0631\u0627 \u062f\u0631 production \u0646\u06af\u0647 \u0646\u062f\u0627\u0631\u06cc\u062f!<\/strong><\/div>\n\n\n\n<div id=\"Checking-logs\"><\/div><h3 id=\"gspb_heading-id-gsbp-065e2cf\" class=\"gspb_heading gspb_heading-id-gsbp-065e2cf \">\u0628\u0631\u0631\u0633\u06cc \u0644\u0627\u06af\u200c\u0647\u0627<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>tail -f \/var\/log\/nginx\/error.log\ntail -f \/var\/log\/nginx\/example.com-error.log\ntail -f \/var\/log\/php-fpm\/error.log<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">tail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-f<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/log\/nginx\/error.log<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">tail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-f<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/log\/nginx\/example.com-error.log<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">tail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-f<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/log\/php-fpm\/error.log<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"lemp-case-study\"><\/div><h2 id=\"gspb_heading-id-gsbp-7b01132\" class=\"gspb_heading gspb_heading-id-gsbp-7b01132 \">\u0646\u0645\u0648\u0646\u0647 \u0645\u0648\u0631\u062f\u06cc: \u062a\u062c\u0631\u0628\u0647 \u06a9\u0627\u0631\u0628\u0631<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-3187329\" class=\"gspb_text gspb_text-id-gsbp-3187329 \">\u062f\u0631 \u0633\u0627\u0644 2025\u060c \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0634\u062a\u0631\u06cc\u0627\u0646 \u0647\u0627\u0633\u062a\u06cc\u0646\u06af\u06cc \u06cc\u06a9 \u0641\u0631\u0648\u0634\u06af\u0627\u0647 \u0622\u0646\u0644\u0627\u06cc\u0646 \u067e\u0631\u062a\u0631\u0627\u0641\u06cc\u06a9 \u062f\u0627\u0634\u062a \u06a9\u0647 \u0628\u0627 Apache + mod_php \u062f\u0686\u0627\u0631 \u06a9\u0646\u062f\u06cc \u0634\u062f\u06cc\u062f \u0628\u0648\u062f. \u0645\u0634\u06a9\u0644\u0627\u062a \u0627\u0635\u0644\u06cc:<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0645\u0635\u0631\u0641 RAM \u0628\u0627\u0644\u0627\u06cc 85%<\/li>\n\n\n\n<li>\u0632\u0645\u0627\u0646 \u067e\u0627\u0633\u062e (TTFB) \u0628\u06cc\u0634 \u0627\u0632 2 \u062b\u0627\u0646\u06cc\u0647<\/li>\n\n\n\n<li>\u06a9\u0631\u0634 \u06a9\u0631\u062f\u0646 \u0633\u0631\u0648\u0631 \u062f\u0631 \u0633\u0627\u0639\u0627\u062a \u0634\u0644\u0648\u063a\u06cc<\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-d4b52b4\" class=\"gspb_text gspb_text-id-gsbp-d4b52b4 \"><strong>\ud83d\udca1 \u0631\u0627\u0647\u06a9\u0627\u0631 \u0648\u0628\u200c\u062f\u0627\u062f\u0647:<\/strong><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-6a98b1c\" class=\"gspb_text gspb_text-id-gsbp-6a98b1c \">\u067e\u0633 \u0627\u0632 \u0645\u0647\u0627\u062c\u0631\u062a \u0628\u0647 LEMP Stack \u0631\u0648\u06cc AlmaLinux 8:<br>\u2705 <strong>\u0646\u062a\u0627\u06cc\u062c:<\/strong><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0645\u0635\u0631\u0641 RAM \u0627\u0632 85% \u0628\u0647 45% \u06a9\u0627\u0647\u0634 \u06cc\u0627\u0641\u062a (\u06a9\u0627\u0647\u0634 40%)<\/li>\n\n\n\n<li>TTFB \u0627\u0632 2 \u062b\u0627\u0646\u06cc\u0647 \u0628\u0647 0.4 \u062b\u0627\u0646\u06cc\u0647 \u0631\u0633\u06cc\u062f<\/li>\n\n\n\n<li>\u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u067e\u0631\u062f\u0627\u0632\u0634 3 \u0628\u0631\u0627\u0628\u0631 \u0628\u06cc\u0634\u062a\u0631 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0645\u0632\u0645\u0627\u0646<\/li>\n\n\n\n<li>\u0635\u0641\u0631 \u06a9\u0631\u0634 \u062f\u0631 6 \u0645\u0627\u0647 \u06af\u0630\u0634\u062a\u0647<\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-1292620\" class=\"gspb_text gspb_text-id-gsbp-1292620 \">\u0627\u06cc\u0646 \u062a\u062c\u0631\u0628\u0647 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u0647 \u0646\u0635\u0628 \u0635\u062d\u06cc\u062d LEMP \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u062a\u062d\u0648\u0644 \u0686\u0634\u0645\u06af\u06cc\u0631\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u062f.<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-image gspb_image gspb_image-id-gsbp-4e809e4\" id=\"gspb_image-id-gsbp-4e809e4\"><img decoding=\"async\" src=\"https:\/\/webdade.com\/blog\/wp-content\/uploads\/2025\/12\/install-configure-lemp-centos2-min_11zon.webp\" data-src=\"\" alt=\"\u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc LEMP Stack \u062f\u0631 CentOS\" loading=\"lazy\" width=\"910\" height=\"492\"\/><\/div>\n\n\n\n<div id=\"lemp-vs-lamp\"><\/div><h2 id=\"gspb_heading-id-gsbp-79b0dcf\" class=\"gspb_heading gspb_heading-id-gsbp-79b0dcf \">\u062c\u062f\u0648\u0644 \u0645\u0642\u0627\u06cc\u0633\u0647 \u0639\u0645\u0644\u06a9\u0631\u062f LEMP \u0648 LAMP<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-2241e03\" class=\"gspb_text gspb_text-id-gsbp-2241e03 \">\u0627\u06cc\u0646 \u062c\u062f\u0648\u0644 \u0628\u0647 \u0634\u0645\u0627 \u06a9\u0645\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u062f \u062a\u0641\u0627\u0648\u062a\u200c\u0647\u0627\u06cc \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0648 \u0645\u0639\u0645\u0627\u0631\u06cc \u0645\u062d\u0628\u0648\u0628 \u0648\u0628\u200c\u0633\u0631\u0648\u0631 \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u0646\u06af\u0627\u0647 \u062a\u0634\u062e\u06cc\u0635 \u062f\u0647\u06cc\u062f \u0648 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0646\u0648\u0639 \u067e\u0631\u0648\u0698\u0647 \u0628\u0647\u062a\u0631\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f. \u0634\u0646\u0627\u062e\u062a \u0627\u06cc\u0646 \u062a\u0641\u0627\u0648\u062a\u200c\u0647\u0627 \u0628\u0647\u200c\u062e\u0635\u0648\u0635 \u0632\u0645\u0627\u0646\u06cc \u0627\u0647\u0645\u06cc\u062a \u062f\u0627\u0631\u062f \u06a9\u0647 \u0645\u06cc\u0632\u0627\u0646 \u062a\u0631\u0627\u0641\u06cc\u06a9\u060c \u0646\u0648\u0639 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0648 \u0646\u06cc\u0627\u0632\u0647\u0627\u06cc \u0641\u0646\u06cc \u0634\u0645\u0627 \u0628\u0627 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u0645\u062a\u0641\u0627\u0648\u062a \u0628\u0627\u0634\u062f. \u0647\u062f\u0641 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0627\u0631\u0627\u0626\u0647 \u06cc\u06a9 \u0645\u0642\u0627\u06cc\u0633\u0647 \u0639\u0645\u0644\u06cc \u0628\u0631\u0627\u06cc \u062a\u0635\u0645\u06cc\u0645\u200c\u06af\u06cc\u0631\u06cc \u0633\u0631\u06cc\u0639 \u0648 \u0622\u06af\u0627\u0647\u0627\u0646\u0647 \u0627\u0633\u062a.<\/div>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">\u0648\u06cc\u0698\u06af\u06cc<\/th><th class=\"has-text-align-center\" data-align=\"center\">LEMP (Nginx + PHP-FPM)<\/th><th class=\"has-text-align-center\" data-align=\"center\">LAMP (Apache + mod_php)<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0633\u0627\u062e\u062a\u0627\u0631 \u067e\u0631\u062f\u0627\u0632\u0634<\/td><td class=\"has-text-align-center\" data-align=\"center\">Event-Driven<\/td><td class=\"has-text-align-center\" data-align=\"center\">Process-Based<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u0635\u0631\u0641 RAM \u062f\u0631 \u062d\u0627\u0644\u062a Idle<\/td><td class=\"has-text-align-center\" data-align=\"center\">~50MB<\/td><td class=\"has-text-align-center\" data-align=\"center\">~200MB<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u0635\u0631\u0641 RAM (100 \u06a9\u0627\u0631\u0628\u0631)<\/td><td class=\"has-text-align-center\" data-align=\"center\">~400MB<\/td><td class=\"has-text-align-center\" data-align=\"center\">~1200MB<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u062a\u0648\u0627\u0646\u0627\u06cc\u06cc \u0647\u0646\u062f\u0644 \u062a\u0631\u0627\u0641\u06cc\u06a9 \u0628\u0627\u0644\u0627<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0639\u0627\u0644\u06cc (10k+ \u0647\u0645\u0632\u0645\u0627\u0646)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u062a\u0648\u0633\u0637 (1k \u0647\u0645\u0632\u0645\u0627\u0646)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0633\u0631\u0639\u062a \u067e\u0631\u062f\u0627\u0632\u0634 PHP<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0628\u0627\u0644\u0627\u062a\u0631 (PHP-FPM)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u0639\u0645\u0648\u0644\u06cc<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0633\u0631\u0639\u062a \u0633\u0631\u0648\u06cc\u0633 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc Static<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0628\u0633\u06cc\u0627\u0631 \u0633\u0631\u06cc\u0639<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u062a\u0648\u0633\u0637<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u0646\u0627\u0633\u0628 \u0633\u0627\u06cc\u062a\u200c\u0647\u0627\u06cc \u067e\u0631\u062a\u0631\u0627\u0641\u06cc\u06a9<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0628\u0644\u0647 \u2705<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0628\u0627 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a \u26a0\ufe0f<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u067e\u06cc\u0686\u06cc\u062f\u06af\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u062a\u0648\u0633\u0637<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0622\u0633\u0627\u0646<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc .htaccess<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u062e\u06cc\u0631 (\u0646\u06cc\u0627\u0632 \u0628\u0647 \u062a\u0628\u062f\u06cc\u0644)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0628\u0644\u0647<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0627\u0645\u0646\u06cc\u062a<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0628\u0627\u0644\u0627\u062a\u0631<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u062a\u0648\u0633\u0637<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u0635\u0631\u0641 CPU (Load Average)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u067e\u0627\u06cc\u06cc\u0646\u200c\u062a\u0631<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0628\u0627\u0644\u0627\u062a\u0631<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div id=\"gspb_text-id-gsbp-70affa4\" class=\"gspb_text gspb_text-id-gsbp-70affa4 \">\ud83d\udd38 <strong>\u0646\u062a\u06cc\u062c\u0647:<\/strong> \u0628\u0631\u0627\u06cc \u067e\u0631\u0648\u0698\u0647\u200c\u0647\u0627\u06cc \u0645\u062f\u0631\u0646 PHP \u0645\u062b\u0644 \u0648\u0631\u062f\u067e\u0631\u0633\u060c \u0644\u0627\u0631\u0627\u0648\u0644 \u0648 \u0641\u0631\u0648\u0634\u06af\u0627\u0647\u200c\u0647\u0627\u060c \u0633\u0627\u062e\u062a\u0627\u0631 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631\u06cc LEMP \u0627\u0646\u062a\u062e\u0627\u0628 \u062d\u0631\u0641\u0647\u200c\u0627\u06cc\u200c\u062a\u0631\u06cc \u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"lemp-installation-summary\"><\/div><h3 id=\"gspb_heading-id-gsbp-99441c0\" class=\"gspb_heading gspb_heading-id-gsbp-99441c0 \">\u0646\u062a\u06cc\u062c\u0647\u200c\u06af\u06cc\u0631\u06cc \u0646\u0647\u0627\u06cc\u06cc: \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0646\u0635\u0628 \u0648\u0628 \u0633\u0631\u0648\u0631 LEMP \u0628\u0631\u0627\u06cc CentOS<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-883d193\" class=\"gspb_text gspb_text-id-gsbp-883d193 \">\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc LEMP \u0631\u0648\u06cc CentOS\/AlmaLinux\/Rocky Linux \u06cc\u06a9\u06cc \u0627\u0632 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0631\u0648\u0634\u200c\u0647\u0627 \u0628\u0631\u0627\u06cc \u0633\u0627\u062e\u062a \u06cc\u06a9 \u0648\u0628\u200c\u0633\u0631\u0648\u0631 <strong>\u0633\u0631\u06cc\u0639\u060c \u0627\u0645\u0646\u060c \u067e\u0627\u06cc\u062f\u0627\u0631 \u0648 \u0645\u0642\u06cc\u0627\u0633\u200c\u067e\u0630\u06cc\u0631<\/strong> \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u062c\u0627\u0645\u0639\u060c \u0634\u0645\u0627 \u06cc\u0627\u062f \u06af\u0631\u0641\u062a\u06cc\u062f:<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2705 \u0686\u06af\u0648\u0646\u0647 <strong>Nginx\u060c PHP-FPM \u0648 MariaDB<\/strong> \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f<\/li>\n\n\n\n<li>\u2705 \u0686\u06af\u0648\u0646\u0647 <strong>Virtual Host<\/strong> \u0628\u0633\u0627\u0632\u06cc\u062f \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f <\/li>\n\n\n\n<li>\u2705 \u0686\u06af\u0648\u0646\u0647 <strong>SELinux \u0648 Firewall<\/strong> \u0631\u0627 \u0628\u0647\u200c\u062f\u0631\u0633\u062a\u06cc \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f<\/li>\n\n\n\n<li>\u2705 \u0686\u06af\u0648\u0646\u0647 <strong>SSL\/HTTPS<\/strong> \u0631\u0627 \u0628\u0627 Certbot \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f <\/li>\n\n\n\n<li>\u2705 \u0686\u06af\u0648\u0646\u0647 <strong>\u0639\u0645\u0644\u06a9\u0631\u062f \u0631\u0627 \u0628\u0647\u06cc\u0646\u0647\u200c\u0633\u0627\u0632\u06cc<\/strong> \u06a9\u0646\u06cc\u062f <\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-4c8546f\" id=\"gspb_container-id-gsbp-4c8546f\">\n<div id=\"gspb_text-id-gsbp-d687950\" class=\"gspb_text gspb_text-id-gsbp-d687950 \">\ud83d\udd39 <strong>LEMP \u062a\u0627 40% \u06a9\u0645\u062a\u0631 \u0627\u0632 Apache \u0645\u0646\u0627\u0628\u0639 \u0645\u0635\u0631\u0641 \u0645\u06cc\u200c\u06a9\u0646\u062f<\/strong> <br>\ud83d\udd39 <strong>PHP-FPM \u0633\u0631\u0639\u062a \u067e\u0631\u062f\u0627\u0632\u0634 \u0631\u0627 \u062a\u0627 3 \u0628\u0631\u0627\u0628\u0631 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0645\u06cc\u200c\u062f\u0647\u062f<\/strong> <br>\ud83d\udd39 <strong>Nginx \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f 10,000+ \u0627\u062a\u0635\u0627\u0644 \u0647\u0645\u0632\u0645\u0627\u0646 \u0631\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0646\u062f<\/strong> <br>\ud83d\udd39 <strong>\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0635\u062d\u06cc\u062d SELinux \u062d\u06cc\u0627\u062a\u06cc \u0627\u0633\u062a<\/strong> (\u0647\u0631\u06af\u0632 \u0622\u0646 \u0631\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0646\u06a9\u0646\u06cc\u062f!)<\/div>\n<\/div>\n\n\n\n<h4 id=\"gspb_heading-id-gsbp-6695ba7\" class=\"gspb_heading gspb_heading-id-gsbp-6695ba7 \">\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 LEMP \u0628\u0631\u0627\u06cc:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2705 \u0633\u0627\u06cc\u062a\u200c\u0647\u0627\u06cc \u0648\u0631\u062f\u067e\u0631\u0633\u06cc \u067e\u0631\u062a\u0631\u0627\u0641\u06cc\u06a9 <\/li>\n\n\n\n<li>\u2705 \u0641\u0631\u0648\u0634\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u0627\u06cc\u0646\u062a\u0631\u0646\u062a\u06cc <\/li>\n\n\n\n<li>\u2705 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u200c\u0647\u0627\u06cc \u0644\u0627\u0631\u0627\u0648\u0644 <\/li>\n\n\n\n<li>\u2705 API\u0647\u0627\u06cc RESTful <\/li>\n\n\n\n<li>\u2705 \u067e\u0644\u062a\u0641\u0631\u0645\u200c\u0647\u0627\u06cc SaaS<\/li>\n\n\n\n<li>\u2705 \u0633\u0627\u06cc\u062a\u200c\u0647\u0627\u06cc \u062e\u0628\u0631\u06cc \u0648 \u0645\u062c\u0644\u0647\u200c\u0627\u06cc<\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-9e11b17\" class=\"gspb_text gspb_text-id-gsbp-9e11b17 \">\u062f\u0631 \u0646\u0647\u0627\u06cc\u062a\u060c \u0627\u06af\u0631 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u0627\u062c\u0631\u0627\u06cc \u06cc\u06a9 <strong>\u067e\u0631\u0648\u0698\u0647 \u0628\u0632\u0631\u06af\u060c \u067e\u0631\u062a\u0631\u0627\u0641\u06cc\u06a9 \u06cc\u0627 \u0634\u0631\u06a9\u062a\u06cc<\/strong> \u0647\u0633\u062a\u06cc\u062f \u0648 \u0646\u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u0648\u0642\u062a \u062e\u0648\u062f \u0631\u0627 \u0635\u0631\u0641 \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f\u060c \u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0627\u0632 <strong>\u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u062c\u0627\u0632\u06cc \u0648 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0648\u0628\u200c\u062f\u0627\u062f\u0647<\/strong> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0639\u0645\u0644\u06a9\u0631\u062f \u0648 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0631\u0627 \u062a\u062c\u0631\u0628\u0647 \u06a9\u0646\u06cc\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-2cb30c7\" class=\"gspb_text gspb_text-id-gsbp-2cb30c7 \">\u0627\u06af\u0631 \u0633\u0648\u0627\u0644\u06cc \u062f\u0631\u0628\u0627\u0631\u0647 \u0646\u0635\u0628\u060c \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06cc\u0627 \u0645\u0634\u06a9\u0644\u0627\u062a LEMP \u062f\u0627\u0631\u06cc\u062f\u060c \u062f\u0631 \u0628\u062e\u0634 \u0646\u0638\u0631\u0627\u062a \u0628\u0627 \u0645\u0627 \u062f\u0631 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627\u0634\u06cc\u062f. \u062a\u06cc\u0645 \u0641\u0646\u06cc \u0648\u0628\u200c\u062f\u0627\u062f\u0647 \u0622\u0645\u0627\u062f\u0647 \u067e\u0627\u0633\u062e\u06af\u0648\u06cc\u06cc \u0648 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc\u06cc \u0634\u0645\u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"lemp-faq\"><\/div><h3 id=\"gspb_heading-id-gsbp-edbcb15\" class=\"gspb_heading gspb_heading-id-gsbp-edbcb15 \">\u0633\u0648\u0627\u0644\u0627\u062a \u0645\u062a\u062f\u0627\u0648\u0644 \u0627\u0632 \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 LEMP (Linux- Nginx \u2013 MySQL \u2013 PHP) \u0631\u0648\u06cc CentOS 7<\/h3>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordion gs-accordion gspb_accordion-id-gsbp-1c83e2f togglelogic\" id=\"gspb_accordion-id-gsbp-1c83e2f\" itemscope itemtype=\"https:\/\/schema.org\/FAQPage\">\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-38d760d gsopen\" id=\"gspb_accordionitem-gsbp-38d760d\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div id=\"gs-trigger-gsbp-1c83e2f-0\" class=\"gs-accordion-item__title\" aria-expanded=\"true\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-38d760d\"><h4 class=\"gs-accordion-item__heading\">1-  \u0622\u06cc\u0627 LEMP \u0628\u0631\u0627\u06cc \u0648\u0631\u062f\u067e\u0631\u0633 \u0645\u0646\u0627\u0633\u0628 \u0627\u0633\u062a\u061f<\/h4><meta itemprop=\"name\" content=\"1-  \u0622\u06cc\u0627 LEMP \u0628\u0631\u0627\u06cc \u0648\u0631\u062f\u067e\u0631\u0633 \u0645\u0646\u0627\u0633\u0628 \u0627\u0633\u062a\u061f\"\/><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-1c83e2f-0\" class=\"gs-accordion-item__content\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\" id=\"gspb-accordion-item-content-gsbp-38d760d\" aria-hidden=\"false\"><div class=\"gs-accordion-item__text\" itemprop=\"text\">\n<p>\u0628\u0644\u0647\u060c \u0648\u0631\u062f\u067e\u0631\u0633 \u0631\u0648\u06cc LEMP \u0628\u0633\u06cc\u0627\u0631 \u0633\u0631\u06cc\u0639\u200c\u062a\u0631 \u0648 \u067e\u0627\u06cc\u062f\u0627\u0631\u062a\u0631 \u0627\u062c\u0631\u0627 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 PHP-FPM \u0648 \u06a9\u0634 Nginx\u060c \u0633\u0631\u0639\u062a \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0635\u0641\u062d\u0627\u062a \u062a\u0627 3 \u0628\u0631\u0627\u0628\u0631 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0645\u06cc\u200c\u06cc\u0627\u0628\u062f.<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-7ff5ada gsclose\" id=\"gspb_accordionitem-gsbp-7ff5ada\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div id=\"gs-trigger-gsbp-1c83e2f-1\" class=\"gs-accordion-item__title\" aria-expanded=\"false\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-7ff5ada\"><h4 class=\"gs-accordion-item__heading\">2- \u0622\u06cc\u0627 Nginx \u0628\u0647\u062a\u0631 \u0627\u0632 Apache \u0627\u0633\u062a\u061f<\/h4><meta itemprop=\"name\" content=\"2- \u0622\u06cc\u0627 Nginx \u0628\u0647\u062a\u0631 \u0627\u0632 Apache \u0627\u0633\u062a\u061f\"\/><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-1c83e2f-1\" class=\"gs-accordion-item__content\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\" id=\"gspb-accordion-item-content-gsbp-7ff5ada\" aria-hidden=\"true\"><div class=\"gs-accordion-item__text\" itemprop=\"text\">\n<p>\u0628\u0631\u0627\u06cc \u0633\u0627\u06cc\u062a\u200c\u0647\u0627\u06cc \u067e\u0631\u062a\u0631\u0627\u0641\u06cc\u06a9\u060c API\u0647\u0627 \u0648 \u0645\u062d\u062a\u0648\u0627\u06cc Static\u060c Nginx \u0639\u0645\u0644\u06a9\u0631\u062f \u0628\u0647\u062a\u0631\u06cc \u062f\u0627\u0631\u062f. \u0627\u0645\u0627 Apache \u0628\u0631\u0627\u06cc \u0628\u0631\u062e\u06cc \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u200c\u0647\u0627\u06cc \u062e\u0627\u0635 \u06a9\u0647 \u0646\u06cc\u0627\u0632 \u0628\u0647 .htaccess \u062f\u0627\u0631\u0646\u062f\u060c \u0631\u0627\u062d\u062a\u200c\u062a\u0631 \u0627\u0633\u062a.<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-ae64f67 gsclose\" id=\"gspb_accordionitem-gsbp-ae64f67\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div id=\"gs-trigger-gsbp-1c83e2f-2\" class=\"gs-accordion-item__title\" aria-expanded=\"false\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-ae64f67\"><h4 class=\"gs-accordion-item__heading\">3- \u06a9\u062f\u0627\u0645 \u0646\u0633\u062e\u0647 PHP \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u0645\u061f<\/h4><meta itemprop=\"name\" content=\"3- \u06a9\u062f\u0627\u0645 \u0646\u0633\u062e\u0647 PHP \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u0645\u061f\"\/><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-1c83e2f-2\" class=\"gs-accordion-item__content\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\" id=\"gspb-accordion-item-content-gsbp-ae64f67\" aria-hidden=\"true\"><div class=\"gs-accordion-item__text\" itemprop=\"text\">\n<p>\u062f\u0631 \u0633\u0627\u0644 2025:<\/p>\n\n\n\n<p>\u26a0\ufe0f <strong>PHP 7.4:<\/strong> \u0645\u0646\u0633\u0648\u062e \u0634\u062f\u0647\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u06a9\u0646\u06cc\u062f<\/p>\n\n\n\n<p>\u2705 <strong>PHP 8.2:<\/strong> \u0628\u0647\u062a\u0631\u06cc\u0646 \u0627\u0646\u062a\u062e\u0627\u0628 (\u0633\u0631\u06cc\u0639\u200c\u062a\u0631\u06cc\u0646 \u0648 \u0627\u06cc\u0645\u0646\u200c\u062a\u0631\u06cc\u0646)<\/p>\n\n\n\n<p>\u2705 <strong>PHP 8.1:<\/strong> \u067e\u0627\u06cc\u062f\u0627\u0631 \u0648 \u062a\u0648\u0635\u06cc\u0647\u200c\u0634\u062f\u0647<\/p>\n<\/div><\/div><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0633\u0627\u062e\u062a\u0627\u0631 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631\u06cc LEMP \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u062d\u0628\u0648\u0628\u200c\u062a\u0631\u06cc\u0646 \u0645\u0639\u0645\u0627\u0631\u06cc\u200c\u0647\u0627\u06cc \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u0648\u0628 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Linux\u060c \u0648\u0628\u200c\u0633\u0631\u0648\u0631 \u067e\u0631\u0633\u0631\u0639\u062a Nginx\u060c \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647 MySQL\/MariaDB \u0648 \u067e\u0631\u062f\u0627\u0632\u0634\u06af\u0631 PHP-FPM \u0639\u0645\u0644\u06a9\u0631\u062f \u0633\u0631\u06cc\u0639 \u0648 \u067e\u0627\u06cc\u062f\u0627\u0631\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u0633\u0627\u06cc\u062a\u200c\u0647\u0627\u06cc PHP \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647\u060c \u06cc\u06a9 \u0622\u0645\u0648\u0632\u0634 \u06af\u0627\u0645\u200c\u0628\u0647\u200c\u06af\u0627\u0645\u060c \u06a9\u0627\u0645\u0644 \u0648 \u0641\u0646\u06cc \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0648 \u06a9\u0627\u0646\u0641\u06cc\u06af LEMP \u0631\u0648\u06cc CentOS \u0627\u0631\u0627\u0626\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a. \u062a\u0645\u0631\u06a9\u0632 \u0627\u0635\u0644\u06cc \u0628\u0631 \u0627\u0645\u0646\u06cc\u062a\u060c \u06a9\u0627\u0631\u0627\u06cc\u06cc\u060c \u0633\u0627\u062e\u062a Virtual Host \u0648 \u0622\u0645\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0633\u0631\u0648\u0631 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0648\u0628\u200c\u0633\u0627\u06cc\u062a\u200c\u0647\u0627\u06cc\u06cc \u0645\u0627\u0646\u0646\u062f \u0648\u0631\u062f\u067e\u0631\u0633 \u0648 \u0644\u0627\u0631\u0627\u0648\u0644 \u0627\u0633\u062a.<\/p>\n","protected":false},"author":2,"featured_media":26270,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":".gspb_text-id-gsbp-41fa4b4{margin-top:0!important;margin-bottom:24px!important}.gspb_container-id-gsbp-ece0ea6{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-3090342.gspb_container>p:last-of-type,#gspb_container-id-gsbp-3725c5b.gspb_container>p:last-of-type,#gspb_container-id-gsbp-4c8546f.gspb_container>p:last-of-type,#gspb_container-id-gsbp-5edec11.gspb_container>p:last-of-type,#gspb_container-id-gsbp-e02f07f.gspb_container>p:last-of-type,#gspb_container-id-gsbp-ece0ea6.gspb_container>p:last-of-type,#gspb_container-id-gsbp-f16ce52.gspb_container>p:last-of-type,#gspb_container-id-gsbp-f90f694.gspb_container>p:last-of-type{margin-bottom:0}#gspb_container-id-gsbp-ece0ea6.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-ece0ea6.gspb_container{padding:10px}}#gspb_container-id-gsbp-ece0ea6.gspb_container{border-right-style:solid;border-right-width:5px;border-right-color:#00529eb0;background-color:#00529e1a}#gspb_container-id-gsbp-e02f07f.gspb_container>.gspb_backgroundOverlay,#gspb_container-id-gsbp-ece0ea6.gspb_container,#gspb_container-id-gsbp-ece0ea6.gspb_container>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}@media (max-width:575.98px){.gspb_text-id-gsbp-67df801{font-size:16px}}.gspb_text-id-gsbp-087dda4{margin-bottom:18px!important}.gspb_text-id-gsbp-9ad445d{margin-bottom:22px!important}.gspb_text-id-gsbp-5449bff{margin-bottom:26px!important}.gspb_container-id-gsbp-e02f07f{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-e02f07f.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-e02f07f.gspb_container{padding:10px}}#gspb_container-id-gsbp-e02f07f.gspb_container{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;border-right-style:solid;border-right-width:5px;border-right-color:#00d184d6;background-color:#00d18421}@media (max-width:575.98px){.gspb_text-id-gsbp-fe6e4a7{font-size:16px}}.gspb_text-id-gsbp-fe6e4a7,.gspb_text-id-gsbp-fe6e4a7 .gsap-g-line{text-align:center!important}.gspb_text-id-gsbp-fe6e4a7{margin-top:0!important;margin-bottom:22px!important}#gspb_button-id-gsbp-fd33550{display:flex;justify-content:center}#gspb_button-id-gsbp-fd33550 .gspb-buttonbox-text{display:flex;flex-direction:column}#gspb_button-id-gsbp-fd33550>.gspb-buttonbox{box-sizing:border-box;margin-top:10px;background-color:#332cf2}@media (max-width:575.98px){#gspb_button-id-gsbp-fd33550>.gspb-buttonbox{font-size:14px;text-align:center!important}#gspb_button-id-gsbp-fd33550>.gspb-buttonbox .gsap-g-line{text-align:center!important}}#gspb_button-id-gsbp-fd33550>.gspb-buttonbox,#gspb_button-id-gsbp-fd33550>.gspb-buttonbox a{text-decoration:none}#gspb_button-id-gsbp-fd33550>.gspb-buttonbox{color:#fff;box-shadow:0 1px 3px 0 #00000005;transition:all .2s cubic-bezier(.42,0,.58,1)}#gspb_button-id-gsbp-fd33550>.gspb-buttonbox,#gspb_button-id-gsbp-fd33550>.gspb-buttonbox>.gspb_backgroundOverlay{border-top-left-radius:.375rem;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}#gspb_button-id-gsbp-fd33550>.gspb-buttonbox:hover{box-shadow:0 4px 12px 0 #0000001a;transform:translateY(0) scale(1.05)}#gspb_button-id-gsbp-fd33550>.gspb-buttonbox .gspb-buttonbox-icon svg,#gspb_button-id-gsbp-fd33550>.gspb-buttonbox .gspb-buttonbox-icon svg path{transition:all .2s cubic-bezier(.42,0,.58,1)}#gspb_button-id-gsbp-fd33550>.gspb-buttonbox:active,.active #gspb_button-id-gsbp-fd33550>.gspb-buttonbox{transform:translateY(2px)}.gspb_container-id-gsbp-3090342{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-3090342.gspb_container{position:relative;padding-top:10px;padding-bottom:10px}@media (min-width:992px){body.gspb-bodyfront #gspb_container-id-gsbp-3090342.gspb_container{display:none!important}}#gspb_heading-id-gsbp-4f2eab8{font-weight:700!important;margin-top:10px;margin-bottom:10px}.gs-autolist{margin:15px 0 30px;border:1px solid #dddddd7d}.gs-autolist-item{padding:15px 15px 15px 5px;display:flex;align-items:center}.gs-autolist-title,.gs-autolist-title a{font-size:18px;line-height:24px;text-decoration:none}.gs-autolist-item.gs_sub_heading{padding:10px 15px 10px 35px}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-title a{color:var(--wp--preset--color--palette-color-2, var(--theme-palette-color-2, #00509d));font-size:16px;font-weight:400!important}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-number{border-radius:50%;color:#fff;text-align:center;font-weight:700;color:var(--wp--preset--color--palette-color-2, var(--theme-palette-color-2, #00509d))}#gspb_toc-id-gsbp-9ed45ff .gs_sub_heading .gs-autolist-title a{font-size:16px}#gspb_toc-id-gsbp-9ed45ff{margin-top:2px;margin-bottom:2px}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-item,#gspb_toc-id-gsbp-9ed45ff .gs-autolist-item.gs_sub_heading{margin-top:2px;margin-bottom:2px;padding-top:5px;padding-bottom:5px}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-item.gs_sub_heading{margin-right:15px}#gspb_toc-id-gsbp-9ed45ff .gs-autolist{border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;border-style:solid;border-width:1px;border-color:#00000000}.gs-autolist-title,.gs-autolist-title a:hover{color:var(--wp--preset--color--palette-color-4, var(--theme-palette-color-4, #000000))!important}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-number{background-color:var(--wp--preset--color--palette-color-2, var(--theme-palette-color-2, #00509d));height:7px!important;margin:0 0 0 10px!important;line-height:7px!important;width:7px!important;font-size:0!important;min-width:7px!important}#gspb_toc-id-gsbp-9ed45ff .gs_sub_heading .gs-autolist-number{font-size:0!important}#gspb_heading-id-gsbp-155e91b,#gspb_heading-id-gsbp-3f83581,#gspb_heading-id-gsbp-77b9602,#gspb_heading-id-gsbp-c4a6b61,#gspb_heading-id-gsbp-e0bf260{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf))}.gspb_text-id-gsbp-0d64386{margin-bottom:16px!important}.gspb_text-id-gsbp-0829f5f{margin-top:0!important;margin-bottom:10px!important}.gspb_container-id-gsbp-f90f694{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-f90f694.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-f90f694.gspb_container{padding:10px}}#gspb_container-id-gsbp-f90f694.gspb_container{border-right-style:solid;border-right-width:5px;border-right-color:#00529eb0;background-color:#00529e1a}#gspb_container-id-gsbp-3725c5b.gspb_container>.gspb_backgroundOverlay,#gspb_container-id-gsbp-4c8546f.gspb_container>.gspb_backgroundOverlay,#gspb_container-id-gsbp-5edec11.gspb_container>.gspb_backgroundOverlay,#gspb_container-id-gsbp-f16ce52.gspb_container>.gspb_backgroundOverlay,#gspb_container-id-gsbp-f90f694.gspb_container,#gspb_container-id-gsbp-f90f694.gspb_container>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}@media (max-width:575.98px){.gspb_text-id-gsbp-13f7455{font-size:16px}}.gspb_text-id-gsbp-13f7455,.gspb_text-id-gsbp-13f7455 .gsap-g-line{text-align:center!important}.gspb_text-id-gsbp-13f7455{margin-bottom:0!important}.gspb_container-id-gsbp-5edec11{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-5edec11.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-5edec11.gspb_container{padding:10px}}#gspb_container-id-gsbp-5edec11.gspb_container{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;border-right-style:solid;border-right-width:5px;border-right-color:#cf2d2d;background-color:#cf2d2d2b}@media (max-width:575.98px){.gspb_text-id-gsbp-6e00b49{font-size:16px}}.gspb_text-id-gsbp-6e00b49{margin-bottom:0!important}.gspb_text-id-gsbp-19cf2cc{margin-bottom:28px!important}.gspb_text-id-gsbp-4c8b1f7{margin-bottom:20px!important}#gspb_heading-id-gsbp-155e91b{margin-bottom:20px}.gspb_text-id-gsbp-237b3af,.gspb_text-id-gsbp-eb553f4{margin-bottom:14px!important}#gspb_heading-id-gsbp-0994c72,#gspb_heading-id-gsbp-1ca4a6f,#gspb_heading-id-gsbp-36c31c0{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf))}#gspb_heading-id-gsbp-0994c72{margin-bottom:22px}.gspb_text-id-gsbp-78bebdc{margin-bottom:16px!important}#gspb_heading-id-gsbp-126947a{margin-bottom:20px}.gspb_text-id-gsbp-c2e4972{margin-bottom:18px!important}#gspb_heading-id-gsbp-08d1c43,#gspb_heading-id-gsbp-126947a,#gspb_heading-id-gsbp-130fb7c,#gspb_heading-id-gsbp-6f239ca,#gspb_heading-id-gsbp-a8a7d0f,#gspb_heading-id-gsbp-a9ec4ba,#gspb_heading-id-gsbp-ae0c664,#gspb_heading-id-gsbp-b033431,#gspb_heading-id-gsbp-b73cc02,#gspb_heading-id-gsbp-c1271f6,#gspb_heading-id-gsbp-d34556d{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf))}.gspb_text-id-gsbp-f5f2e9f{margin-bottom:30px!important}.gspb_text-id-gsbp-801eadf{margin-bottom:24px!important}#gspb_heading-id-gsbp-6f239ca{margin-bottom:16px}#gspb_heading-id-gsbp-01ecd92,#gspb_heading-id-gsbp-065e2cf,#gspb_heading-id-gsbp-0f0902d,#gspb_heading-id-gsbp-14e0157,#gspb_heading-id-gsbp-1fc7db7,#gspb_heading-id-gsbp-253e569,#gspb_heading-id-gsbp-3a592ab,#gspb_heading-id-gsbp-3ac4d7b,#gspb_heading-id-gsbp-4102c2a,#gspb_heading-id-gsbp-4b8a3f0,#gspb_heading-id-gsbp-5ac1de2,#gspb_heading-id-gsbp-6695ba7,#gspb_heading-id-gsbp-6c1cb64,#gspb_heading-id-gsbp-73ac4c8,#gspb_heading-id-gsbp-79b0dcf,#gspb_heading-id-gsbp-7b01132,#gspb_heading-id-gsbp-7cf65da,#gspb_heading-id-gsbp-89529d4,#gspb_heading-id-gsbp-8a84b80,#gspb_heading-id-gsbp-99441c0,#gspb_heading-id-gsbp-9d049fb,#gspb_heading-id-gsbp-bf6ceed,#gspb_heading-id-gsbp-cf4b6de,#gspb_heading-id-gsbp-d9e15f7,#gspb_heading-id-gsbp-dcce2e1,#gspb_heading-id-gsbp-ee0b996,#gspb_heading-id-gsbp-f9ff313{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf))}.gspb_text-id-gsbp-ddab2cc{margin-bottom:12px!important}.gspb_text-id-gsbp-0e5ac89{margin-bottom:18px!important}.gspb_container-id-gsbp-f16ce52{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-f16ce52.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-f16ce52.gspb_container{padding:10px}}#gspb_container-id-gsbp-f16ce52.gspb_container{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;border-right-style:solid;border-right-width:5px;border-right-color:#cf2d2d;background-color:#cf2d2d2b}@media (max-width:575.98px){.gspb_text-id-gsbp-d41002e{font-size:16px}}.gspb_text-id-gsbp-d41002e{margin-bottom:0!important}.gspb_text-id-gsbp-5155679{margin-bottom:18px!important}.gspb_text-id-gsbp-0992e91{margin-bottom:12px!important}.gspb_text-id-gsbp-894ed4a{margin-bottom:20px!important}.gspb_text-id-gsbp-172802d{margin-bottom:14px!important}.gspb_text-id-gsbp-3f332b2{margin-bottom:22px!important}.gspb_text-id-gsbp-bace823{margin-bottom:16px!important}.gspb_text-id-gsbp-4551748{margin-bottom:20px!important}.gspb_text-id-gsbp-dff4921{margin-bottom:26px!important}.gspb_text-id-gsbp-369648b{margin-bottom:16px!important}.gspb_text-id-gsbp-fab1a7a{margin-bottom:12px!important}.gspb_container-id-gsbp-3725c5b{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-3725c5b.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-3725c5b.gspb_container{padding:10px}}#gspb_container-id-gsbp-3725c5b.gspb_container{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;border-right-style:solid;border-right-width:5px;border-right-color:#00529eb0;background-color:#00529e1a}@media (max-width:575.98px){.gspb_text-id-gsbp-c965875{font-size:16px}}.gspb_text-id-gsbp-c965875{margin-bottom:0!important}.gspb_text-id-gsbp-14e3622{margin-bottom:32px!important}.gspb_text-id-gsbp-b43f675{margin-bottom:10px!important}.gspb_text-id-gsbp-1bb2a54{margin-bottom:38px!important}.gspb_text-id-gsbp-d93532d{margin-bottom:18px!important}.gspb_text-id-gsbp-0a0bee6,.gspb_text-id-gsbp-2be1015{margin-bottom:14px!important}.gspb_text-id-gsbp-3187329{margin-bottom:20px!important}.gspb_text-id-gsbp-d4b52b4{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf));margin-bottom:16px!important}.gspb_text-id-gsbp-1292620,.gspb_text-id-gsbp-2241e03,.gspb_text-id-gsbp-6a98b1c{margin-bottom:18px!important}#gspb_image-id-gsbp-19d11a7 img,#gspb_image-id-gsbp-4e809e4 img{vertical-align:top;display:inline-block;box-sizing:border-box;max-width:100%;height:auto}.gspb_text-id-gsbp-70affa4{margin-bottom:20px!important}.gspb_text-id-gsbp-883d193{margin-bottom:28px!important}.gspb_container-id-gsbp-4c8546f{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-4c8546f.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-4c8546f.gspb_container{padding:10px}}#gspb_container-id-gsbp-4c8546f.gspb_container{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;border-right-style:solid;border-right-width:5px;border-right-color:#cf2d2d;background-color:#cf2d2d2b}@media (max-width:575.98px){.gspb_text-id-gsbp-d687950{font-size:16px}}.gspb_text-id-gsbp-d687950{margin-bottom:0!important}#gspb_heading-id-gsbp-6695ba7{margin-bottom:26px}.gspb_text-id-gsbp-9e11b17{margin-top:6px!important;margin-bottom:14px!important}.gspb_text-id-gsbp-2cb30c7{margin-bottom:22px!important}#gspb_heading-id-gsbp-edbcb15{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf))}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item.gsclose>.gs-accordion-item__content{overflow:hidden;opacity:0}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item.gsopen>.gs-accordion-item__content{opacity:1;max-height:5000px}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title>.gs-accordion-item__heading{outline:0;text-decoration:none;margin:0!important;padding:0!important;flex-grow:1}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title{z-index:1;margin:0;cursor:pointer;transition:all .3s ease-in-out;position:relative;display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__content{z-index:0;position:relative;max-height:0;will-change:max-height;transition:all .25s ease-out}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title{background-color:var(--wp--preset--color--palette-color-6, var(--theme-palette-color-6, #f2f5f7));border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;font-size:18px;font-weight:400!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item__title>*{font-size:18px;font-weight:400!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item.gsopen>.gs-accordion-item__title{background-color:var(--wp--preset--color--palette-color-5, var(--theme-palette-color-5, #e1e8ed));border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;font-weight:400!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item.gsopen>.gs-accordion-item__title>*{font-weight:400!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__content{border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;border-top-style:solid;border-top-width:1px;border-top-color:#00000000}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title span.iconfortoggle{margin-left:15px;display:inline-block;height:14px;width:14px;position:relative}#gspb_accordion-id-gsbp-1c83e2f,#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item{margin-top:5px;margin-bottom:5px}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title{padding:15px 20px;text-align:right;flex-direction:row-reverse}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__content>.gs-accordion-item__text{padding:20px}.gs-accordion .gs-accordion-item.gsopen .gs-accordion-item__title .gs-iconafter{transform:rotate(0)}.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconafter,.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconbefore{content:'';width:14px;height:2px;border-radius:2px;background-color:#111;position:absolute;top:6px;left:0}.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconafter{transform:rotate(90deg);transition:all .3s ease-in-out}","footnotes":""},"categories":[29,24],"tags":[],"class_list":["post-26150","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server-training","category-linux"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/posts\/26150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/comments?post=26150"}],"version-history":[{"count":119,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/posts\/26150\/revisions"}],"predecessor-version":[{"id":28804,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/posts\/26150\/revisions\/28804"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/media\/26270"}],"wp:attachment":[{"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/media?parent=26150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/categories?post=26150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/tags?post=26150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}