{"id":10985,"date":"2023-12-29T06:05:09","date_gmt":"2023-12-29T02:35:09","guid":{"rendered":"https:\/\/rasanegar.com\/blog\/%d8%b1%d9%88%d8%b4-%d9%86%d8%b5%d8%a8-lemp-stack-nginx%d8%8c-mysql%d8%8c-php-v7-%d8%b1%d9%88%db%8c-centos-7\/"},"modified":"2023-12-29T06:05:09","modified_gmt":"2023-12-29T02:35:09","slug":"%d8%b1%d9%88%d8%b4-%d9%86%d8%b5%d8%a8-lemp-stack-nginx%d8%8c-mysql%d8%8c-php-v7-%d8%b1%d9%88%db%8c-centos-7","status":"publish","type":"post","link":"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d9%86%d8%b5%d8%a8-lemp-stack-nginx%d8%8c-mysql%d8%8c-php-v7-%d8%b1%d9%88%db%8c-centos-7\/","title":{"rendered":"\u0631\u0648\u0634 \u0646\u0635\u0628 LEMP Stack (Nginx\u060c MySQL\u060c PHP v7) \u0631\u0648\u06cc CentOS  7"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">\u0633\u0631\u0641\u0635\u0644\u0647\u0627\u06cc \u0645\u0637\u0644\u0628<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d9%86%d8%b5%d8%a8-lemp-stack-nginx%d8%8c-mysql%d8%8c-php-v7-%d8%b1%d9%88%db%8c-centos-7\/#lemp_%da%86%db%8c%d8%b3%d8%aa\" >LEMP \u0686\u06cc\u0633\u062a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d9%86%d8%b5%d8%a8-lemp-stack-nginx%d8%8c-mysql%d8%8c-php-v7-%d8%b1%d9%88%db%8c-centos-7\/#%d8%b1%d9%88%d8%b4_%d9%86%d8%b5%d8%a8_lemp_stack\" >\u0631\u0648\u0634 \u0646\u0635\u0628 LEMP Stack<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d9%86%d8%b5%d8%a8-lemp-stack-nginx%d8%8c-mysql%d8%8c-php-v7-%d8%b1%d9%88%db%8c-centos-7\/#1_nginx_%d8%b1%d8%a7_%d9%86%d8%b5%d8%a8_%da%a9%d9%86%db%8c%d8%af_%d8%b1%d9%88%db%8c_centos_7\" >1. Nginx \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f \u0631\u0648\u06cc CentOS  7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d9%86%d8%b5%d8%a8-lemp-stack-nginx%d8%8c-mysql%d8%8c-php-v7-%d8%b1%d9%88%db%8c-centos-7\/#2_mysql_mariadb_%d8%b1%d8%a7_%d9%86%d8%b5%d8%a8_%da%a9%d9%86%db%8c%d8%af\" >2. MySQL (MariaDB) \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d9%86%d8%b5%d8%a8-lemp-stack-nginx%d8%8c-mysql%d8%8c-php-v7-%d8%b1%d9%88%db%8c-centos-7\/#3_php_v73_%d8%b1%d8%a7_%d9%86%d8%b5%d8%a8_%da%a9%d9%86%db%8c%d8%af\" >3. PHP v7.3 \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d9%86%d8%b5%d8%a8-lemp-stack-nginx%d8%8c-mysql%d8%8c-php-v7-%d8%b1%d9%88%db%8c-centos-7\/#4_nginx_%d8%b1%d8%a7_%d8%a8%d8%b1%d8%a7%db%8c_%da%a9%d8%a7%d8%b1_%d8%a8%d8%a7_php_7_%d9%be%db%8c%da%a9%d8%b1%d8%a8%d9%86%d8%af%db%8c_%da%a9%d9%86%db%8c%d8%af\" >4. Nginx \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631 \u0628\u0627 PHP 7 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d9%86%d8%b5%d8%a8-lemp-stack-nginx%d8%8c-mysql%d8%8c-php-v7-%d8%b1%d9%88%db%8c-centos-7\/#%d9%86%d8%aa%db%8c%d8%ac%d9%87\" >\u0646\u062a\u06cc\u062c\u0647<\/a><\/li><\/ul><\/nav><\/div>\n<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">\u0632\u0645\u0627\u0646 \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0645\u0637\u0627\u0644\u0639\u0647: <\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">\u062f\u0642\u06cc\u0642\u0647<\/span><\/span><p> <br \/>\n<\/p>\n<div class=\"post-content\">\n<div id=\"thumbnail-image\" class=\"d-flex justify-content-center\">\n                  <img width=\"730\" height=\"454\" src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/\u0646\u062d\u0648\u0647-\u0646\u0635\u0628-LEMP-Stack-Nginx\u060c-MySQL\u060c-PHP-v7-on-CentOS.webp.webp\" class=\"attachment-1110x454 size-1110x454 wp-post-image\" alt=\"\u0646\u062d\u0648\u0647 \u0646\u0635\u0628 LEMP Stack (Nginx\u060c MySQL\u060c PHP v7) on CentOS  7\" decoding=\"async\" fetchpriority=\"high\" srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/\u0646\u062d\u0648\u0647-\u0646\u0635\u0628-LEMP-Stack-Nginx\u060c-MySQL\u060c-PHP-v7-on-CentOS.webp.webp 900w,https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2017\/06\/how-to-install-nginx-mysql-php-v7-lemp-stack-on-centos-7-150x93.webp 150w,https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2017\/06\/how-to-install-nginx-mysql-php-v7-lemp-stack-on-centos-7-300x187.webp 300w,https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2017\/06\/how-to-install-nginx-mysql-php-v7-lemp-stack-on-centos-7-768x478.webp 768w\" sizes=\"(max-width: 730px) 100vw, 730px\" title=\"\">              <\/div>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0631\u0648\u0634 \u0646\u0635\u0628 \u067e\u0634\u062a\u0647 LEMP \u0631\u0627 \u06cc\u0627\u062f \u062e\u0648\u0627\u0647\u06cc\u062f \u06af\u0631\u0641\u062a \u0631\u0648\u06cc \u0622 <a href=\"https:\/\/www.centos.org\/\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">CentOS<\/a>  7 \u0633\u0631\u0648\u0631.  \u0627\u06cc\u0646 \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u062d\u0628\u0648\u0628 \u062a\u0631\u06cc\u0646 \u06af\u0631\u0648\u0647 \u0647\u0627\u06cc \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0622\u0646 \u0628\u0631\u0627\u06cc \u0633\u0627\u062e\u062a \u0648\u0628 \u0633\u0627\u06cc\u062a \u062e\u0648\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.  \u0628\u06cc\u0627\u06cc\u06cc\u062f \u062f\u0631\u0633\u062a \u0648\u0627\u0631\u062f \u0622\u0646 \u0634\u0648\u06cc\u0645.<\/p>\n<div class=\"wp-block-image\">\n<\/div>\n<h2 class=\"wp-block-heading\" id=\"h-what-is-lemp\"><span class=\"ez-toc-section\" id=\"lemp_%da%86%db%8c%d8%b3%d8%aa\"><\/span><span class=\"ez-toc-section\" id=\"What_Is_LEMP\"><\/span>LEMP \u0686\u06cc\u0633\u062a<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>LEMP \u0645\u062c\u0645\u0648\u0639\u0647 \u0627\u06cc \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 \u062c\u0645\u0639\u06cc \u0628\u0631\u0627\u06cc \u0627\u0631\u0627\u0626\u0647 \u0648\u0628 \u0633\u0627\u06cc\u062a \u0647\u0627\u06cc \u067e\u0648\u06cc\u0627 \u06cc\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0648\u0628 \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u0646\u062f.  \u0645\u062a\u0634\u06a9\u0644 \u0627\u0632 <strong>L<\/strong>inux (\u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0633\u0631\u0648\u0631)\u060c <strong>E<\/strong>NginX\/Nginx (\u0628\u0631\u0646\u0627\u0645\u0647 \u0648\u0628 \u0633\u0631\u0648\u0631)\u060c <strong>\u0645<\/strong>ySQL (\u0633\u06cc\u0633\u062a\u0645 \u0645\u062f\u06cc\u0631\u06cc\u062a \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647) \u0648<strong> \u067e<\/strong>HP (\u0632\u0628\u0627\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0646\u0648\u06cc\u0633\u06cc).<\/p>\n<p>LEMP \u06cc\u06a9 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0645\u062d\u0628\u0648\u0628 \u0628\u0631\u0627\u06cc LAMP \u0627\u0633\u062a \u06a9\u0647 \u0627\u0632 Apache \u0628\u0647 \u062c\u0627\u06cc Nginx \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u062f \u0648 \u0641\u0648\u06a9\u0648\u0633 \u0645\u06cc \u06a9\u0646\u062f \u0631\u0648\u06cc \u0627\u0631\u0627\u0626\u0647 \u0635\u0641\u062d\u0627\u062a \u0648\u0628 \u0627\u0633\u062a\u0627\u062a\u06cc\u06a9  \u0647\u0645\u0686\u0646\u06cc\u0646 WAMP \u0648 MAMP \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u0646\u062f \u06a9\u0647 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0627 \u0648\u06cc\u0646\u062f\u0648\u0632 \u0648 macOS \u0645\u06cc \u0634\u0648\u0646\u062f.<\/p>\n<p>\u0642\u0628\u0644 \u0627\u0632 \u0634\u0631\u0648\u0639 \u0622\u0645\u0648\u0632\u0634 \u0631\u0648\u06cc \u0631\u0648\u0634 \u0646\u0635\u0628 LEMP\u060c \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 \u0633\u0631\u0648\u0631 \u06cc\u0627 VPS \u0634\u0645\u0627 \u062f\u0631 \u062d\u0627\u0644 \u0627\u062c\u0631\u0627 \u0627\u0633\u062a \u0631\u0648\u06cc CentOS  7. \u0627\u06af\u0631 \u0627\u0632 a \u0647\u0627\u0633\u062a\u06cc\u0646\u06afer \u0637\u0631\u062d \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc VPS \u0644\u06cc\u0646\u0648\u06a9\u0633\u060c \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f CentOS \u0627\u0632 <strong>\u0633\u0631\u0648\u0631\u0647\u0627<\/strong> \u062a\u0628 hPanel.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-how-to-install-lemp-stack\"><span class=\"ez-toc-section\" id=\"%d8%b1%d9%88%d8%b4_%d9%86%d8%b5%d8%a8_lemp_stack\"><\/span><span class=\"ez-toc-section\" id=\"How_to_Install_LEMP_Stack\"><\/span>\u0631\u0648\u0634 \u0646\u0635\u0628 LEMP Stack<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0627\u06a9\u0646\u0648\u0646 \u06a9\u0647 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0646\u0635\u0628 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u0634\u0645\u0627 \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0646\u0635\u0628 Nginx\u060c MySQL \u0648 PHP \u0631\u0627\u0647\u0646\u0645\u0627\u06cc\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n<p>\u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0628\u0647 \u0634\u0645\u0627 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u062f \u06a9\u0647 \u062f\u0633\u062a\u0631\u0633\u06cc \u0631\u06cc\u0634\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u0648 \u0627\u0632 \u06cc\u06a9 \u06a9\u0644\u0627\u06cc\u0646\u062a SSH \u0645\u0627\u0646\u0646\u062f PuTTY (\u0648\u06cc\u0646\u062f\u0648\u0632) \u06cc\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. terminal \u067e\u0648\u0633\u062a\u0647 (Linux\u060c macOS) \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 VPS \u062e\u0648\u062f.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-1-install-nginx-on-centos-7\"><span class=\"ez-toc-section\" id=\"1_nginx_%d8%b1%d8%a7_%d9%86%d8%b5%d8%a8_%da%a9%d9%86%db%8c%d8%af_%d8%b1%d9%88%db%8c_centos_7\"><\/span><span class=\"ez-toc-section\" id=\"1_Install_Nginx_on_CentOS_7\"><\/span>1. Nginx \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f \u0631\u0648\u06cc CentOS  7<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>\u0627\u0632 \u0622\u0646\u062c\u0627\u06cc\u06cc \u06a9\u0647 Nginx \u0628\u0647 \u0635\u0648\u0631\u062a \u067e\u06cc\u0634 \u0641\u0631\u0636 \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0646\u06cc\u0633\u062a CentOS \u0645\u062e\u0627\u0632\u0646\u060c \u0627\u0628\u062a\u062f\u0627 \u0628\u0627\u06cc\u062f \u0645\u062e\u0632\u0646 EPEL \u0631\u0627 \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645:\n<pre>yum install epel-release -y<\/pre>\n<\/li>\n<li>\u0628\u0639\u062f\u060c \u0645\u0627 \u062e\u0648\u062f Nginx \u0631\u0627 \u0646\u0635\u0628 \u0645\u06cc \u06a9\u0646\u06cc\u0645:\n<pre>yum install nginx -y<\/pre>\n<\/li>\n<li>\u067e\u0633 \u0627\u0632 \u0627\u062a\u0645\u0627\u0645 \u0646\u0635\u0628\u060c \u062e\u0637\u0648\u0637 \u0632\u06cc\u0631 \u0631\u0627 \u06cc\u06a9\u06cc \u06cc\u06a9\u06cc \u062a\u0627\u06cc\u067e \u06a9\u0646\u06cc\u062f \u062a\u0627 Nginx \u0641\u0639\u0627\u0644 \u0634\u0648\u062f:\n<pre>systemctl start nginx\nsystemctl enable nginx<\/pre>\n<\/li>\n<li>\u0628\u0627 \u0645\u0631\u0627\u062c\u0639\u0647 \u0628\u0647 \u0622\u062f\u0631\u0633 IP \u0639\u0645\u0648\u0645\u06cc \u0633\u0631\u0648\u0631 \u062e\u0648\u062f\u060c \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0622\u06cc\u0627 Nginx \u062f\u0631 \u062d\u0627\u0644 \u0627\u062c\u0631\u0627 \u0627\u0633\u062a \u06cc\u0627 \u062e\u06cc\u0631.  \u0634\u0645\u0627 page \u0628\u0627\u06cc\u062f \u0634\u0628\u06cc\u0647 \u0627\u06cc\u0646 \u0628\u0627\u0634\u062f:<br \/><img decoding=\"async\" class=\"size-large wp-image-22109 aligncenter\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"Nginx \u062e\u0648\u0634 \u0622\u0645\u062f\u06cc\u062f page \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 Nginx \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u0646\u0635\u0628 \u0634\u062f\" width=\"640\" height=\"219\" data-lazy-srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703817309_160_\u0646\u062d\u0648\u0647-\u0646\u0635\u0628-LEMP-Stack-Nginx\u060c-MySQL\u060c-PHP-v7-on-CentOS.webp.webp 1024w,https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2017\/01\/welcome-page-nginx-150x51.webp 150w,https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2017\/01\/welcome-page-nginx-300x103.webp 300w,https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2017\/01\/welcome-page-nginx-768x263.webp 768w,https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2017\/01\/welcome-page-nginx.webp 1043w\" data-lazy-sizes=\"(max-width: 640px) 100vw, 640px\" data-lazy-src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703817309_160_\u0646\u062d\u0648\u0647-\u0646\u0635\u0628-LEMP-Stack-Nginx\u060c-MySQL\u060c-PHP-v7-on-CentOS.webp.webp\" http: title=\"\"><img decoding=\"async\" class=\"size-large wp-image-22109 aligncenter\" src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703817309_160_\u0646\u062d\u0648\u0647-\u0646\u0635\u0628-LEMP-Stack-Nginx\u060c-MySQL\u060c-PHP-v7-on-CentOS.webp.webp\" alt=\"Nginx \u062e\u0648\u0634 \u0622\u0645\u062f\u06cc\u062f page \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 Nginx \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u0646\u0635\u0628 \u0634\u062f\" width=\"640\" height=\"219\" srcset=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703817309_160_\u0646\u062d\u0648\u0647-\u0646\u0635\u0628-LEMP-Stack-Nginx\u060c-MySQL\u060c-PHP-v7-on-CentOS.webp.webp 1024w,https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2017\/01\/welcome-page-nginx-150x51.webp 150w,https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2017\/01\/welcome-page-nginx-300x103.webp 300w,https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2017\/01\/welcome-page-nginx-768x263.webp 768w,https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2017\/01\/welcome-page-nginx.webp 1043w\" sizes=\"(max-width: 640px) 100vw, 640px\" title=\"\"><\/li>\n<\/ol>\n<div class=\"protip\">\n<h4 class=\"title\">\u0646\u06a9\u062a\u0647 \u062d\u0631\u0641\u0647 \u0627\u06cc<\/h4>\n<p>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f <strong>\u0633\u0648\u062f\u0648<\/strong> \u0627\u06af\u0631 \u062f\u0633\u062a\u0631\u0633\u06cc \u0631\u0648\u062a \u0646\u062f\u0627\u0631\u06cc\u062f \u062f\u0633\u062a\u0648\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<\/p><\/div>\n<h3 class=\"wp-block-heading\" id=\"h-2-install-mysql-mariadb\"><span class=\"ez-toc-section\" id=\"2_mysql_mariadb_%d8%b1%d8%a7_%d9%86%d8%b5%d8%a8_%da%a9%d9%86%db%8c%d8%af\"><\/span><span class=\"ez-toc-section\" id=\"2_Install_MySQL_MariaDB\"><\/span>2. MySQL (MariaDB) \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u0645\u0627 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 MySQL \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645 <a href=\"https:\/\/mariadb.org\/\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">MariaDB<\/a> \u0633\u0631\u0648\u06cc\u0633\u060c \u06cc\u06a9 \u0627\u0646\u062c\u0645\u0646 \u0627\u0632 MySQL.<\/p>\n<ol>\n<li>MariaDB \u062f\u0631 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u06af\u0646\u062c\u0627\u0646\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a CentOS \u0645\u062e\u0627\u0632\u0646\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u0645 \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u0645 <strong>y<\/strong><strong>\u0627\u0645<\/strong> \u062f\u0633\u062a\u0648\u0631 \u0646\u0635\u0628 \u0622\u0646:\n<pre>yum install mariadb-server mariadb -y<\/pre>\n<\/li>\n<li>\u067e\u0633 \u0627\u0632 \u0627\u062a\u0645\u0627\u0645 \u0646\u0635\u0628\u060c \u0633\u0631\u0648\u06cc\u0633 MariaDB \u0631\u0627 \u0641\u0639\u0627\u0644 \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f:\n<pre>systemctl start mariadb\nsystemctl enable mariadb<\/pre>\n<\/li>\n<li>\u0646\u0635\u0628 \u0631\u0627 \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0627\u06cc\u0645\u0646 \u06a9\u0646\u06cc\u062f:\n<pre>mysql_secure_installation<\/pre>\n<p>MariaDB \u0627\u0632 \u0634\u0645\u0627 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 root \u0631\u0627 \u0645\u06cc \u062e\u0648\u0627\u0647\u062f \u06a9\u0647 \u0628\u0647 \u062f\u0644\u06cc\u0644 \u0627\u06cc\u0646\u06a9\u0647 MySQL \u0631\u0627 \u0628\u0647 \u062a\u0627\u0632\u06af\u06cc \u0646\u0635\u0628 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f \u0646\u062f\u0627\u0631\u06cc\u062f.  \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062f\u0644\u06cc\u0644\u060c \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0627\u06cc\u0646\u062a\u0631 \u0631\u0627 \u0641\u0634\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<\/li>\n<li>\u0627\u0639\u0644\u0627\u0646 \u0628\u0639\u062f\u06cc \u0627\u0632 \u0634\u0645\u0627 \u0645\u06cc \u067e\u0631\u0633\u062f \u06a9\u0647 \u0622\u06cc\u0627 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 root \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f \u06cc\u0627 \u062e\u06cc\u0631.  \u0648\u0627\u0631\u062f <strong>Y<\/strong> \u0648 \u062f\u0633\u062a\u0648\u0631\u0627\u0644\u0639\u0645\u0644 \u0647\u0627 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0646\u06cc\u062f:\n<pre>Enter current password for root (enter for none):\nOK, successfully used password, moving \u0631\u0648\u06cc\u2026\n\nSetting the root password ensures that nobody can log into the MariaDB\nroot user without the proper authorization.\n\nNew password:\nRe-enter new password:\nPassword updated successfully!\nReloading privilege tables..\n... Success!<\/pre>\n<\/li>\n<li>\u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0686\u0646\u062f \u0633\u0648\u0627\u0644 \u0627\u0645\u0646\u06cc\u062a\u06cc \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.  \u062a\u0648\u0635\u06cc\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u0641\u0634\u0627\u0631 \u062f\u0647\u06cc\u062f <strong>Y<\/strong> \u0628\u0631\u0627\u06cc \u0647\u0645\u0647 \u0622\u0646\u0647\u0627\n<pre>Remove anonymous users? [Y\/n]\nDisallow root login remotely? [Y\/n]\nRemove test database and access to it? [Y\/n]\nReload privilege tables now? [Y\/n]<\/pre>\n<p>\u067e\u0633 \u0627\u0632 \u062a\u06a9\u0645\u06cc\u0644 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a\u060c \u0628\u0647 \u0646\u0635\u0628 PHP \u0628\u0631\u0648\u06cc\u062f.<\/p>\n<\/li>\n<\/ol>\n<h3 class=\"wp-block-heading\" id=\"h-3-install-php-v7-3\"><span class=\"ez-toc-section\" id=\"3_php_v73_%d8%b1%d8%a7_%d9%86%d8%b5%d8%a8_%da%a9%d9%86%db%8c%d8%af\"><\/span><span class=\"ez-toc-section\" id=\"3_Install_PHP_v73\"><\/span>3. PHP v7.3 \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>\u0645\u0627 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u062f\u0627\u0646\u0644\u0648\u062f \u0648 \u0646\u0635\u0628 \u0627\u0636\u0627\u0641\u06cc \u062f\u0627\u0631\u06cc\u0645 CentOS \u0645\u062e\u0632\u0646\u06cc \u06a9\u0647 \u062d\u0627\u0648\u06cc \u0628\u0633\u062a\u0647 \u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc PHP \u0646\u0633\u062e\u0647 7.3 \u0627\u0633\u062a.  \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0631\u0627 \u06cc\u06a9\u06cc \u067e\u0633 \u0627\u0632 \u062f\u06cc\u06af\u0631\u06cc \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:\n<pre>wget http:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm\nrpm -Uvh remi-release-7.rpm<\/pre>\n<\/li>\n<li>\u0645\u062e\u0632\u0646 php73 \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0627\u0633\u062a:\n<pre>yum install yum-utils -y\nyum-config-manager --enable remi-php73<\/pre>\n<\/li>\n<li>\u067e\u0633 \u0627\u0632 \u0622\u0646\u060c \u0628\u0633\u062a\u0647 PHP \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f:\n<pre>yum --enablerepo=remi,remi-php73 install php-fpm php-common<\/pre>\n<p>\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0627\u0632 \u0634\u0645\u0627 \u0628\u0631\u0627\u06cc \u0627\u062c\u0627\u0632\u0647 \u0646\u0635\u0628 \u062e\u0648\u0627\u0633\u062a\u0647 \u0634\u062f\u060c \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0641\u0634\u0627\u0631 \u062f\u0647\u06cc\u062f <strong>Y<\/strong>.<\/p>\n<\/li>\n<li>\u0627\u06a9\u0646\u0648\u0646\u060c \u0645\u0627\u0698\u0648\u0644 \u0647\u0627\u06cc \u0631\u0627\u06cc\u062c PHP \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 \u0633\u0631\u0648\u06cc\u0633 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u062f:\n<pre>yum --enablerepo=remi,remi-php73 install php-opcache php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-pgsql php-pecl-mongodb php-pecl-redis php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml<\/pre>\n<\/li>\n<\/ol>\n<h3 class=\"wp-block-heading\" id=\"h-4-configure-nginx-to-work-with-php-7\"><span class=\"ez-toc-section\" id=\"4_nginx_%d8%b1%d8%a7_%d8%a8%d8%b1%d8%a7%db%8c_%da%a9%d8%a7%d8%b1_%d8%a8%d8%a7_php_7_%d9%be%db%8c%da%a9%d8%b1%d8%a8%d9%86%d8%af%db%8c_%da%a9%d9%86%db%8c%d8%af\"><\/span><span class=\"ez-toc-section\" id=\"4_Configure_Nginx_to_Work_with_PHP_7\"><\/span>4. Nginx \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631 \u0628\u0627 PHP 7 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u0622\u062e\u0631\u06cc\u0646 \u06a9\u0627\u0631\u06cc \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u0645 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 Nginx \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631 \u0628\u0627 PHP 7 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n<ol>\n<li>\u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 \u0645\u062a\u0646 \u0646\u0627\u0646\u0648\u060c \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u062c\u062f\u06cc\u062f Nginx \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:\n<pre>nano \/etc\/nginx\/conf.d\/default.conf<\/pre>\n<p>\u0633\u067e\u0633 \u0627\u06cc\u0646 \u06a9\u062f \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><span style=\"font-weight: 400\">server {<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0listen \u00a0 80;<\/span>\n<span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0server_name\u00a0 your_server_ip;<\/span>\n\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0# note that these lines are originally from the \"location \/\" block<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0root \u00a0 \/usr\/share\/nginx\/html;<\/span>\n<span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0index index.php index.html index.htm;<\/span>\n\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0location \/ {<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0try_files $uri $uri\/ =404;<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0}<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0error_page 404 \/404.html;<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0error_page 500 502 503 504 \/50x.html;<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0location = \/50x.html {<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0root \/usr\/share\/nginx\/html;<\/span>\n<span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0}<\/span>\n\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0location ~ .php$ {<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0try_files $uri =404;<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0fastcgi_pass unix:\/var\/run\/php-fpm\/php-fpm.sock;<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0fastcgi_index index.php;<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0include fastcgi_params;<\/span>\n<span style=\"font-weight: 400\"> \u00a0\u00a0\u00a0}<\/span>\n<span style=\"font-weight: 400\">}<\/span><\/pre>\n<blockquote>\n<p>\u0645\u0647\u0645!  \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u06a9\u0631\u062f\u0646 <strong>your_server_ip<\/strong> \u0628\u0627 IP \u0633\u0631\u0648\u0631 \u0648\u0627\u0642\u0639\u06cc \u0634\u0645\u0627<\/p>\n<\/blockquote>\n<\/li>\n<li>\u0628\u0627 \u0632\u062f\u0646 \u0641\u0627\u06cc\u0644 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u062f <strong>CTRL + X<\/strong> (\u06cc\u0627 <strong>CMD + X<\/strong> \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u06a9).  \u0633\u067e\u0633 Nginx \u0631\u0627 \u0645\u062c\u062f\u062f\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f \u062a\u0627 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0627\u0639\u0645\u0627\u0644 \u0634\u0648\u0646\u062f:\n<pre>systemctl restart nginx<\/pre>\n<\/li>\n<li>\u0628\u0627\u0632 \u06a9\u0646 <strong>PHP-FPM<\/strong> \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc:\n<pre>nano \/etc\/php-fpm.d\/www.conf<\/pre>\n<p>\u0627\u06cc\u0646 \u062e\u0637\u0648\u0637 \u0631\u0627 \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0647 \u0648 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f:<\/p>\n<ul>\n<li><strong>\u06a9\u0627\u0631\u0628\u0631 = \u0622\u067e\u0627\u0686\u06cc<\/strong> \u0628\u0647 <strong>\u06a9\u0627\u0631\u0628\u0631 = nginx<\/strong><\/li>\n<li><strong>\u06af\u0631\u0648\u0647 = \u0622\u067e\u0627\u0686\u06cc<\/strong> \u0628\u0647 <strong>\u06af\u0631\u0648\u0647 = nginx<\/strong><\/li>\n<li><strong>listen.owner = \u0647\u06cc\u0686\u06a9\u0633<\/strong> \u0628\u0647 <strong>listen.owner = nginx<\/strong><\/li>\n<li><strong>listen.group = \u06a9\u0633\u06cc \u0646\u06cc\u0633\u062a \u06a9\u0647 \u06af\u0648\u0634 \u06a9\u0646\u062f.\u06af\u0631\u0648\u0647 = nginx<\/strong><\/li>\n<\/ul>\n<\/li>\n<li>\u0628\u0639\u062f \u0627\u0632 \u0627\u062a\u0645\u0627\u0645 \u06a9\u0627\u0631\u060c \u062e\u0637 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f <strong>\u06af\u0648\u0634 \u062f\u0627\u062f\u0646 = 127.0.0.1:9000<\/strong>\n<pre>listen = \/var\/run\/php-fpm\/php-fpm.sock<\/pre>\n<\/li>\n<li>\u0628\u0627 \u0632\u062f\u0646 \u0641\u0627\u06cc\u0644 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u062f <strong>CTRL + X<\/strong>.  \u062f\u0631 \u0646\u0647\u0627\u06cc\u062a\u060c \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u062f <strong>PHP-FPM<\/strong> \u0648 \u0622\u0646 \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f \u0631\u0648\u06cc \u0686\u06a9\u0645\u0647:\n<pre>systemctl start php-fpm.service\nsystemctl enable php-fpm.service<\/pre>\n<\/li>\n<\/ol>\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\"><span class=\"ez-toc-section\" id=\"%d9%86%d8%aa%db%8c%d8%ac%d9%87\"><\/span>\u0646\u062a\u06cc\u062c\u0647<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u067e\u0634\u062a\u0647 LEMP (Linux\u060c Nginx\u060c MySQL\u060c PHP) \u0627\u0646\u062a\u062e\u0627\u0628 \u0639\u0627\u0644\u06cc \u0628\u0631\u0627\u06cc \u0627\u0631\u0627\u0626\u0647 \u0635\u0641\u062d\u0627\u062a \u0648\u0628 \u067e\u0648\u06cc\u0627 \u06cc\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0648\u0628 \u0627\u0633\u062a.  \u062e\u0648\u0634\u0628\u062e\u062a\u0627\u0646\u0647 \u0646\u0635\u0628 process \u0633\u0627\u062f\u0647 \u0627\u0633\u062a.  \u0628\u0627 \u062f\u0627\u0646\u0634 \u0627\u0648\u0644\u06cc\u0647 \u0627\u0632 command-line \u0631\u0627\u0628\u0637\u060c \u0634\u0645\u0627 \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u0645\u0627\u0645 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f \u0631\u0648\u06cc VPS \u0634\u0645\u0627<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0631\u0648\u0634 \u0646\u0635\u0628 LEMP \u0631\u0627 \u06cc\u0627\u062f \u06af\u0631\u0641\u062a\u06cc\u062f \u0631\u0648\u06cc CentOS  7. \u0628\u0631\u0627\u06cc \u0646\u062a\u06cc\u062c\u0647 \u06af\u06cc\u0631\u06cc\u060c \u0627\u062c\u0627\u0632\u0647 \u062f\u0647\u06cc\u062f \u06cc\u06a9 \u0628\u0627\u0631 \u062f\u06cc\u06af\u0631 \u0628\u0647 \u062a\u0645\u0627\u0645 \u0645\u0631\u0627\u062d\u0644 \u0646\u06af\u0627\u0647\u06cc \u0628\u06cc\u0646\u062f\u0627\u0632\u06cc\u0645:<\/p>\n<ol>\n<li>\u0645\u062e\u0632\u0646 EPEL \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0631\u062f\u0647 \u0648 Nginx \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0634\u0645\u0627<\/li>\n<li>MariaDB \u0631\u0627 \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f<\/li>\n<li>PHP \u0648 \u062a\u0645\u0627\u0645 \u0628\u0633\u062a\u0647 \u0647\u0627\u06cc \u0631\u0627\u06cc\u062c \u0622\u0646 \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>Nginx \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631 \u0628\u0627 PHP \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f.<\/li>\n<\/ol>\n<p>\u0645\u0648\u0641\u0642 \u0628\u0627\u0634\u06cc\u062f \u0648 \u0627\u06af\u0631 \u0633\u0648\u0627\u0644\u06cc \u062f\u0627\u0631\u06cc\u062f \u0646\u0638\u0631 \u062e\u0648\u062f \u0631\u0627 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f!<\/p>\n<div class=\"protip\">\n<h4 class=\"title\">\u0645\u0637\u0627\u0644\u0639\u0647 \u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc<\/h4>\n<p>\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0645\u0627 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f \u0631\u0648\u06cc \u0631\u0648\u0634 \u0646\u0635\u0628 \u06af\u0648\u0627\u0647\u06cc SSL \u0631\u0648\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u062f\u0631 \u062d\u0627\u0644 \u0627\u062c\u0631\u0627 CentOS 7.<\/p>\n<\/p><\/div><\/div>\n\n<div>\u0628\u0631\u0627\u06cc \u0646\u06af\u0627\u0631\u0634 \u0628\u062e\u0634\u0647\u0627\u06cc\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u0645\u062a\u0646 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0627\u0632 \u062a\u0631\u062c\u0645\u0647 \u0645\u0627\u0634\u06cc\u0646\u06cc \u06cc\u0627 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc GPT \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u0628\u0627\u0634\u062f <br \/>\n\u0644\u0637\u0641\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a \u0648\u062c\u0648\u062f \u0645\u0634\u06a9\u0644 \u062f\u0631 \u0645\u062a\u0646 \u06cc\u0627 \u0645\u0641\u0647\u0648\u0645 \u0646\u0628\u0648\u062f\u0646 \u062a\u0648\u0636\u06cc\u062d\u0627\u062a\u060c \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062f\u06a9\u0645\u0647 \u06af\u0632\u0627\u0631\u0634 \u0646\u0648\u0634\u062a\u0627\u0631 \u06cc\u0627 \u062f\u0631\u062c \u0646\u0638\u0631 \u0631\u0648\u06cc \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0645\u0627 \u0631\u0627 \u0627\u0632 \u062c\u0632\u06cc\u06cc\u0627\u062a \u0645\u0634\u06a9\u0644 \u0645\u0634\u0627\u0647\u062f\u0647 \u0634\u062f\u0647 \u0645\u0637\u0644\u0639 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u0647 \u0622\u0646 \u0631\u0633\u06cc\u062f\u06af\u06cc \u06a9\u0646\u06cc\u0645\n<\/div>\n<p>\u0632\u0645\u0627\u0646 \u0627\u0646\u062a\u0634\u0627\u0631: 1402-12-29 06:05:04<br \/>\n<br \/>\n <\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;10985&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0627\u0645\u062a\u06cc\u0627\u0632 \u0634\u0645\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628&quot;,&quot;legend&quot;:&quot;0\\\/5 (0 \u0631\u0627\u06cc)&quot;,&quot;size&quot;:&quot;30&quot;,&quot;title&quot;:&quot;\u0631\u0648\u0634 \u0646\u0635\u0628 LEMP Stack (Nginx\u060c MySQL\u060c PHP v7) \u0631\u0648\u06cc CentOS  7&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} ({count} \u0631\u0627\u06cc)&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 24px;\">\n            <span class=\"kksr-muted\">\u0627\u0645\u062a\u06cc\u0627\u0632 \u0634\u0645\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">\u0632\u0645\u0627\u0646 \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0645\u0637\u0627\u0644\u0639\u0647: <\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">\u062f\u0642\u06cc\u0642\u0647<\/span><\/span>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0631\u0648\u0634 \u0646\u0635\u0628 \u067e\u0634\u062a\u0647 LEMP \u0631\u0627 \u06cc\u0627\u062f \u062e\u0648\u0627\u0647\u06cc\u062f \u06af\u0631\u0641\u062a \u0631\u0648\u06cc \u0622 CentOS 7 \u0633\u0631\u0648\u0631. \u0627\u06cc\u0646 \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u062d\u0628\u0648\u0628 \u062a\u0631\u06cc\u0646 \u06af\u0631\u0648\u0647 \u0647\u0627\u06cc \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0622\u0646 \u0628\u0631\u0627\u06cc \u0633\u0627\u062e\u062a \u0648\u0628 \u0633\u0627\u06cc\u062a \u062e\u0648\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0628\u06cc\u0627\u06cc\u06cc\u062f \u062f\u0631\u0633\u062a \u0648\u0627\u0631\u062f \u0622\u0646 \u0634\u0648\u06cc\u0645. LEMP \u0686\u06cc\u0633\u062a LEMP \u0645\u062c\u0645\u0648\u0639\u0647 \u0627\u06cc \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":10793,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[606,643,2752,445],"tags":[424,910,26,1435,1153,2751,2539,2811,467,2572,2747,2746],"class_list":{"0":"post-10985","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-howto","8":"category-guides","9":"category-vps","10":"category-kb","11":"tag-mysql","12":"tag-nginx","13":"tag-php","14":"tag-vps","15":"tag--wordpress","17":"tag-2539","18":"tag-2811","19":"tag-467","20":"tag-2572","22":"tag-2746"},"acf":[],"_links":{"self":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts\/10985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/comments?post=10985"}],"version-history":[{"count":0,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts\/10985\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/media\/10793"}],"wp:attachment":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/media?parent=10985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/categories?post=10985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/tags?post=10985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}