{"id":3077,"date":"2018-09-10T07:35:20","date_gmt":"2018-09-10T04:05:20","guid":{"rendered":"http:\/\/webide.ir\/blog\/?p=3077"},"modified":"2018-09-10T11:15:00","modified_gmt":"2018-09-10T07:45:00","slug":"%da%86%da%af%d9%88%d9%86%d9%87-%d9%be%d8%b4%d8%aa%d9%87-lemp-%d8%b1%d8%a7-%d8%a8%d8%b1-%d8%b1%d9%88%db%8c-%d8%b3%d9%86%d8%aa-%d8%a7%d9%88-%d8%a7%d8%b3-7-%d9%86%d8%b5%d8%a8-%da%a9%d9%86%db%8c%d9%85","status":"publish","type":"post","link":"https:\/\/webide.ir\/blog\/%da%86%da%af%d9%88%d9%86%d9%87-%d9%be%d8%b4%d8%aa%d9%87-lemp-%d8%b1%d8%a7-%d8%a8%d8%b1-%d8%b1%d9%88%db%8c-%d8%b3%d9%86%d8%aa-%d8%a7%d9%88-%d8%a7%d8%b3-7-%d9%86%d8%b5%d8%a8-%da%a9%d9%86%db%8c%d9%85","title":{"rendered":"\u0686\u06af\u0648\u0646\u0647 LEMP stack \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0646\u062a \u0627\u0648 \u0627\u0633 7 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645\u061f"},"content":{"rendered":"<p>\u067e\u0634\u062a\u0647 LEMP\u00a0 \u06cc\u0627 \u0647\u0645\u0627\u0646\u00a0lemp stack \u06a9\u0647 \u0627\u0632 \u0627\u0648\u0644 \u0648\u0627\u0698\u0647 \u0647\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\u060c NGINX\u060c MariaDB \u0648 PHP \u0628\u0647 \u062f\u0633\u062a \u0622\u0645\u062f\u0647 \u0627\u0633\u062a \u06cc\u06a9 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0645\u062d\u0628\u0648\u0628 \u0628\u0631\u0627\u06cc \u0633\u0631\u0648\u0631\u0647\u0627\u0633\u062a \u06a9\u0647 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0647\u0627\u06cc \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u0648\u0628 \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0642\u0631\u0627\u0631 \u0645\u06cc \u06af\u06cc\u0631\u062f. \u0686\u0647\u0627\u0631 \u062c\u0632\u0621 \u062a\u0634\u06a9\u06cc\u0644 \u062f\u0647\u0646\u062f\u0647 \u0627\u06cc\u0646 \u067e\u0634\u062a\u0647 \u0628\u0647\u00a0 \u06af\u0648\u0646\u0647 \u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u0634\u062f\u0647 \u0627\u0646\u062f \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0628\u0647 \u062c\u0627\u06cc \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0627\u0632 \u0622\u0646 \u0647\u0627 \u0627\u0632 \u0641\u0646\u0627\u0648\u0631\u06cc \u0647\u0627\u06cc \u062f\u06cc\u06af\u0631\u00a0 \u0646\u06cc\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f. \u067e\u0634\u062a\u0647 LEMP \u06cc\u06a9\u06cc \u0627\u0632 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0631\u0627\u06cc\u062c \u0648 \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0622\u0646 \u0648\u0628 \u0633\u0631\u0648\u0631 \u0622\u067e\u0627\u0686\u06cc \u0628\u0627 NGINX \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0645\u06cc \u0634\u0648\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u0646\u062d\u0648\u0647 \u0646\u0635\u0628 LEMP\u00a0 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0646\u062a \u0627\u0648 \u0627\u0633 7\u00a0 \u0631\u0627 \u0628\u0627 \u0647\u0645 \u0645\u0631\u0648\u0631 \u06a9\u0646\u06cc\u0645. \u067e\u0633 \u0647\u0645\u0631\u0627\u0647 \u0648\u0628 \u0627\u06cc\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f.<\/p>\n<p><!--more--><\/p>\n<p>\u0642\u0628\u0644 \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0627\u0631 \u0631\u0627 \u0622\u063a\u0627\u0632 \u06a9\u0646\u06cc\u062f \u0628\u0627\u06cc\u062f \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0645\u062f\u0646\u0638\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f:<\/p>\n<ul>\n<li>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u067e\u0634\u062a\u0647 \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f \u0628\u0647 \u062f\u0633\u062a\u0631\u0633\u06cc \u0631\u0648\u062a \u06cc\u0627 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0628\u0627 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0627\u0644\u0627 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f<\/li>\n<li>\u0647\u0627\u0633\u062a \u0646\u06cc\u0645 \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0631\u0627 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0633\u06cc\u0633\u062a\u0645 \u062e\u0648\u062f \u0631\u0627 \u0628\u0647 \u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0646\u0645\u0627\u06cc\u06cc\u062f.<\/li>\n<\/ul>\n<p><strong>\u00a0\u0646\u0635\u0628 NGINX:<\/strong><\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0645\u0627 NGINX \u0631\u0627 \u0627\u0632 \u0645\u062e\u0632\u0646 \u0631\u0633\u0645\u06cc \u0627\u06cc\u0646 \u0648\u0628 \u0633\u0631\u0648\u0631 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0631\u062f\u0647 \u0648 \u0646\u0635\u0628 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f. \u0627\u06af\u0631 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u062a\u0648\u0632\u06cc\u0639 \u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u0647\u0633\u062a\u06cc\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0635\u0641\u062d\u0647 \u0627\u062f\u0645\u06cc\u0646 NGINX \u0628\u0631\u0648\u06cc\u062f\u00a0 \u0648 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u0631\u0627 \u0645\u0637\u0627\u0644\u0639\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f. \u00a0\u062f\u0631 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631\u06cc \u0641\u0627\u06cc\u0644\u06cc \u0631\u0627 \u062f\u0631 \/etc\/yum.repos.d\/nginx.repo\u00a0 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u0648 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0628\u062f\u0627\u0646 \u0628\u06cc\u0641\u0632\u0627\u06cc\u06cc\u062f:<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\/etc\/yum.repos.d\/nginx.repo<\/strong><\/p>\n<table width=\"658\">\n<tbody>\n<tr>\n<td width=\"25\">1<\/p>\n<p>2<\/p>\n<p>3<\/p>\n<p>4<\/p>\n<p>5<\/td>\n<td>[nginx]\n<p>name=nginx repo<\/p>\n<p>baseurl=http:\/\/nginx.org\/packages\/mainline\/centos\/7\/$basearch\/<\/p>\n<p>gpgcheck=0<\/p>\n<p>enabled=1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u0646\u06a9\u062a\u0647:<\/strong> \u0627\u06af\u0631 \u0627\u0632 \u0633\u0646\u062a \u0627\u0648 \u0627\u0633\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0648\u0631\u0698\u0646 \u0622\u0646 \u0628\u0627\u0644\u0627\u062a\u0631 \u0627\u0632 7 \u0627\u0633\u062a \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0639\u0628\u0627\u0631\u062a 7 \u0631\u0627 \u062f\u0631 baseurl\u00a0 \u062f\u0631 nginx.repofile \u0628\u0627 \u0648\u0631\u0698\u0646 \u0635\u062d\u06cc\u062d \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">baseurl=http:\/\/nginx.org\/packages\/mainline\/&lt;OS&gt;\/&lt;OSRELEASE&gt;\/$basearch\/<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u0628\u0647 \u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc YUM \u0648 \u0646\u0635\u0628 NGIMX:<\/strong><\/p>\n<p>\u0628\u0647 \u06a9\u0645\u06a9 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f NGINX \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo yum update\r\n\r\nsudo yum install nginx<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0627\u06cc\u062f \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f NGINX \u062f\u0631 \u062d\u0627\u0644 \u0627\u062c\u0631\u0627\u0633\u062a \u0648 \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u062f\u0631 \u0631\u06cc\u0628\u0648\u062a \u0633\u06cc\u0633\u062a\u0645 \u0627\u0633\u062a\u0627\u0631\u062a \u0645\u06cc \u0634\u0648\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo systemctl start nginx\r\n\r\nsudo systemctl enable nginx\r\n\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 MariaDB:<\/strong><\/p>\n<p>\u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0633\u0631\u0648\u0631 MariaDB \u0648 MySQL\/MariaDB-PHP \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f. \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u062f\u0631 \u0637\u0648\u0644 \u0627\u06cc\u0646 \u0641\u0631\u0627\u06cc\u0646\u062f \u0627\u0632 \u0634\u0645\u0627 \u062e\u0648\u0627\u0633\u062a\u0647 \u0634\u0648\u062f \u067e\u0633\u0648\u0631\u062f \u0631\u0648\u062a \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo yum install mariadb-server php-mysql<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 NGINX \u062f\u0631 \u062d\u0627\u0644 \u0627\u062c\u0631\u0627\u0633\u062a \u0648 \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u062f\u0631 \u0631\u06cc\u0628\u0648\u062a \u0633\u06cc\u0633\u062a\u0645 \u0627\u062c\u0631\u0627 \u0645\u06cc \u0634\u0648\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo systemctl start mariadb\r\n\r\nsudo systemctl enable mariadb<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062d\u0627\u0644\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a mysql_secure_installation \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true \">sudo mysql_secure_installation<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0627\u06af\u0631 \u0627\u0632 \u0634\u0645\u0627 \u062e\u0648\u0627\u0633\u062a\u0647 \u0646\u0634\u062f \u067e\u0633\u0648\u0631\u062f \u06a9\u0627\u0631\u0628\u0631\u062f \u0631\u0648\u062a MYSQL \u0631\u0627 \u0628\u0647 \u0647\u0646\u06af\u0627\u0645 \u0646\u0635\u0628 MariaDB \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u0628\u0647 \u0647\u0646\u06af\u0627\u0645 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u067e\u0633\u0648\u0631\u062f \u0631\u0648\u062a \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646\u062a\u0631 \u0631\u0627 \u0628\u0632\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">Enter current password for root (enter for none):<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0627\u06af\u0631 \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u06cc \u062f\u0627\u0634\u062a\u06cc\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u067e\u0633\u0648\u0631\u062f \u0631\u0648\u062a \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">Set root password? [Y\/n]<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062f\u0631 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0639\u0628\u0627\u0631\u062a Y \u0628\u0647 \u0633\u0648\u0627\u0644\u0627\u062a \u067e\u0627\u0633\u062e \u062f\u0647\u06cc\u062f:<\/p>\n<ul>\n<li>Remove anonymous users?<\/li>\n<li>Disallow root login remotely?<\/li>\n<li>Remove test database and access to it?<\/li>\n<li>Reload privilege tables now?<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\u0628\u0647 \u0634\u0644 SQL \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 mariaDB \u0644\u0627\u06af\u06cc\u0646 \u06a9\u0646\u06cc\u062f. \u067e\u0633\u0648\u0631\u062f \u06a9\u0627\u0631\u0628\u0631 \u0631\u0648\u062a \u0631\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a \u0646\u06cc\u0627\u0632 \u0648\u0627\u0631\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">mysql -u root -p<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0648 \u06a9\u0627\u0631\u0628\u0631 \u062a\u0633\u062a\u06cc \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f. \u0628\u0627\u06cc\u062f testdb \u0648 testuser \u0631\u0627 \u0628\u0627 \u0646\u0627\u0645 \u0647\u0627\u06cc \u0645\u0646\u0627\u0633\u0628\u06cc \u06a9\u0647 \u062f\u0631 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u062e\u0648\u062f \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0646\u0645\u0627\u06cc\u06cc\u062f. \u067e\u0633\u0648\u0631\u062f \u0631\u0627 \u0647\u0645 \u0628\u0627 \u067e\u0633\u0648\u0631\u062f \u0642\u0648\u06cc \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">CREATE DATABASE testdb;\r\n\r\nCREATE USER 'testuser' IDENTIFIED BY 'password';\r\n\r\nGRANT ALL PRIVILEGES ON testdb.* TO 'testuser';\r\n\r\nquit<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u0646\u0635\u0628PHP:<\/strong><\/p>\n<p>\u062d\u0627\u0644\u0627 \u0628\u0627\u06cc\u062f \u0628\u0647 \u06a9\u0645\u06a9 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 PHP \u0648 dependency\u0647\u0627\u06cc \u0622\u0646 \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo yum install php-fpm<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 PHP-FPM \u062f\u0631 \u062d\u0627\u0644 \u0627\u062c\u0631\u0627\u0633\u062a \u0648 \u062f\u0631 \u0628\u0648\u062a \u0633\u06cc\u0633\u062a\u0645 \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0627\u0633\u062a\u0627\u0631\u062a \u0645\u06cc \u0634\u0648\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo systemctl start php-fpm\r\n\r\nsudo systemctl enable php-fpm<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0647 PHP \u0628\u06af\u0648\u06cc\u06cc\u062f \u062a\u0646\u0647\u0627 URI \u0647\u0627\u06cc\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0642\u0628\u0648\u0644 \u06a9\u0646\u062f \u06a9\u0647 \u0648\u0627\u0642\u0639\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f.\u00a0 \u0627\u06cc\u0646\u06a9\u0627\u0631 \u062e\u0637\u0631\u0627\u062a \u0648 \u0627\u0633\u06cc\u0628 \u067e\u0630\u06cc\u0631\u06cc \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631 \u0645\u0648\u0631\u062f PHP \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0627\u06cc\u062c\u0627\u062f \u0634\u0648\u062f \u0631\u0627 \u06a9\u0627\u0647\u0634 \u0645\u06cc \u062f\u0647\u062f.<\/p>\n<pre class=\"lang:default decode:true \">sudo sed -i 's\/;cgi.fix_pathinfo=1\/cgi.fix_pathinfo=0\/g' \/etc\/php.ini<\/pre>\n<p>&nbsp;<\/p>\n<p>PHP \u0628\u0647 \u06af\u0648\u0646\u0647 \u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u062a\u062d\u062a \u06a9\u0627\u0631\u0628\u0631 \u0622\u067e\u0627\u0686\u06cc \u0627\u062c\u0631\u0627 \u0645\u06cc \u0634\u0648\u062f \u0627\u0645\u0627 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u0628\u0631 \u0628\u0627\u06cc\u062f \u0628\u0627 \u06a9\u0627\u0631\u0628\u0631 \u0648 \u06af\u0631\u0648\u0647 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u062a\u0648\u0633\u0637 NGINX \u0647\u0645\u062e\u0648\u0627\u0646\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f. \u0627\u06af\u0631 NGINX \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0645\u0632\u062e\u0646 NGINX \u0646\u0635\u0628 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f \u060c \u0627\u06cc\u0646 \u0648\u0628 \u0633\u0631\u0648\u0631 \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631 \u0648 \u06af\u0631\u0648\u0647 nginx \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f.\u00a0 \u0628\u0631\u0627\u06cc \u0647\u0645\u062e\u0648\u0627\u0646\u06cc \u0628\u06cc\u0634\u062a\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631 \u0648 \u06af\u0631\u0648\u0647 \u0631\u0627 \u062f\u0631 www.conf\u00a0 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo sed -i 's\/user = apache\/user = nginx\/g' \/etc\/php-fpm.d\/www.conf\r\n\r\nsudo sed -i 's\/group = apache\/group = nginx\/g' \/etc\/php-fpm.d\/www.conf<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u062a\u0646\u0638\u06cc\u0645 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0633\u0627\u06cc\u062a NGINX:<\/strong><\/p>\n<p>\u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0631\u0648\u062a \u0631\u0627 \u0628\u0631\u0627\u06cc \u0633\u0627\u06cc\u062a \u062e\u0648\u062f \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f. \u062f\u0631 \u0639\u0628\u0627\u0631\u062a \u0632\u06cc\u0631 example.com \u0631\u0627 \u0628\u0627 \u0646\u0627\u0645 \u062f\u0627\u0645\u0646\u0647 \u062e\u0648\u062f \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true \">sudo mkdir -p \/var\/www\/example.com\/<\/pre>\n<p>&nbsp;<\/p>\n<p>\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0641\u0631\u0627\u0647\u0645 \u0634\u062f\u0647 \u0631\u0627 \u063a\u06cc\u0631 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo mv \/etc\/nginx\/conf.d\/default.conf \/etc\/nginx\/conf.d\/default.conf.disabled<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0633\u0627\u06cc\u062a \u0628\u0627\u06cc\u062f \u062f\u0631 \u0645\u0633\u06cc\u0631\u06cc \u0628\u0647 \u0646\u0627\u0645 \/etc\/nginx\/conf.d\/ \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u0634\u0648\u062f. \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u0633\u0627\u06cc\u062a \u062e\u0648\u062f \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f. \u0628\u0627\u0632 \u0647\u0645 \u062f\u0631 \u0639\u0628\u0627\u0631\u062a \u0647\u0627\u06cc \u0632\u06cc\u0631 example.com \u0631\u0627 \u0628\u0627 \u062f\u0627\u0645\u0646\u0647 \u062e\u0648\u062f \u062a\u0639\u0648\u06cc\u0636 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<p><strong>\/etc\/nginx\/conf.d\/example.com.conf<\/strong><\/p>\n<table width=\"658\">\n<tbody>\n<tr>\n<td width=\"25\"><em>\u00a0<\/em><\/td>\n<td><strong><em>server<\/em><\/strong><em> {<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0 <strong>listen<\/strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 80 default_server;<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0 <strong>listen<\/strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [::]:80 default_server;<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0 <strong>server_name<\/strong>\u00a0\u00a0\u00a0 example.com www.example.com;<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0 <strong>root<\/strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/var\/www\/example.com;<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0 <strong>index<\/strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 index.html;<\/em><\/p>\n<p><em>\u00a0<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0 <strong>location<\/strong> \/ {<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>try_files<\/strong> $uri $uri\/ =404;<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0 }<\/em><\/p>\n<p><em>\u00a0<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0 <strong>location<\/strong> ~* \\.php$ {<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>fastcgi_pass<\/strong> 127.0.0.1:9000;<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>include<\/strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fastcgi_params;<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>fastcgi_param<\/strong>\u00a0\u00a0 SCRIPT_FILENAME\u00a0\u00a0\u00a0 $document_root$fastcgi_script_name;<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>fastcgi_param<\/strong>\u00a0\u00a0 SCRIPT_NAME\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 $fastcgi_script_name;<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0 }<\/em><\/p>\n<p><em>}<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>\u0628\u0644\u0648\u06a9 \u0633\u0631\u0648\u0631 \u0628\u0627\u0644\u0627 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0645\u0634\u062e\u0635 \u0645\u06cc \u06a9\u0646\u062f:<\/p>\n<ul>\n<li>NGINX \u062f\u0631 \u067e\u0648\u0631\u062a 80 \u0628\u0647 \u0627\u062a\u0635\u0627\u0644\u0627\u062a \u0648 \u0627\u0631\u062a\u0628\u0627\u0637\u0627\u062a \u0648\u0631\u0648\u062f\u06cc \u06af\u0648\u0634 \u0645\u06cc \u062f\u0647\u062f.<\/li>\n<li>try_files \u0628\u0647 NGINX \u0645\u06cc \u06af\u0648\u06cc\u062f \u06a9\u0647 \u0641\u0627\u06cc\u0644 \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u06cc \u06cc\u0627 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u062f\u0631\u00a0 \u0641\u0627\u06cc\u0644 \u0633\u06cc\u0633\u062a\u0645 \u0631\u0648\u062a\u00a0 \u0633\u0627\u06cc\u062a \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f . \u0627\u06af\u0631 \u0686\u0646\u06cc\u0646 \u0686\u06cc\u0632\u06cc \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f \u062e\u0637\u0627\u06cc 404 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/li>\n<li>location ~* \\.php$ \u0628\u0647 NGINX \u0645\u06cc \u06af\u0648\u06cc\u062f \u0627\u06cc\u0646 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0631\u0627 \u0628\u0647 \u0647\u0645\u0647 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc .php \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0631\u0648\u062a \u0633\u0627\u06cc\u062a \u06a9\u0647 \u062f\u0631 \u0628\u0631\u06af\u06cc\u0631\u0646\u062f\u0647 \u0647\u0631 \u0632\u06cc\u0631\u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0634\u0627\u0645\u0644\u00a0 \u0641\u0627\u06cc\u0644 PHP \u0627\u0633\u062a \u0627\u0639\u0645\u0627\u0644 \u0646\u0645\u0627\u06cc\u062f.<\/li>\n<li>\u0639\u0644\u0627\u0645\u062a * \u062f\u0631 \u0645\u0648\u0642\u0639\u06cc\u062a <strong>~* \\.php$<\/strong>\u00a0\u00a0 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u0646\u0627\u0645 \u0641\u0627\u06cc\u0644 PHP\u00a0 \u0628\u0647 \u062d\u0631\u0648\u0641 \u06a9\u0648\u0686\u06a9 \u0648 \u0628\u0632\u0631\u06af \u062d\u0633\u0627\u0633 \u0646\u06cc\u0633\u062a.<\/li>\n<li>fastcgi_pass \u0622\u06cc \u067e\u06cc \u0622\u062f\u0631\u0633 \u0648 \u067e\u0648\u0631\u062a \u062c\u0627\u06cc\u06cc \u06a9\u0647 PHP \u0628\u0647 \u0627\u062a\u0635\u0627\u0644\u0627\u062a \u0648\u0631\u0648\u062f\u06cc \u06af\u0648\u0634 \u0645\u06cc \u062f\u0647\u062f \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f.<\/li>\n<\/ul>\n<p><strong>\u00a0\u067e\u0634\u062a\u0647 LEMP \u062e\u0648\u062f \u0631\u0627 \u0645\u0648\u0631\u062f \u0628\u0631\u0631\u0633\u06cc \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f:<\/strong><\/p>\n<p>PHP \u0631\u0627 \u0631\u06cc\u0633\u062a\u0627\u0631\u062a \u06a9\u0646\u06cc\u062f \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc NGINX \u0631\u0627 \u062f\u0648\u0628\u0627\u0631\u0647 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo systemctl restart php-fpm\r\n\r\nsudo nginx -s reload<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0635\u0641\u062d\u0647 \u062a\u0633\u062a\u06cc \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u062a\u0627 \u062a\u0627\u06cc\u06cc\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f NGINX \u0645\u06cc \u062a\u0648\u0627\u0646\u062f php \u0631\u0627 \u0631\u0646\u062f\u0631 \u06a9\u0646\u062f \u0648 \u0628\u0647 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0648\u0635\u0644 \u0634\u0648\u062f. testuser \u0648 password \u0631\u0627 \u0628\u0627 \u062f\u0633\u062a\u0631\u0633\u06cc \u0647\u0627\u06cc MYSQL \u06a9\u0647 \u062f\u0631 \u0628\u0627\u0644\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u06cc\u062f \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<p><strong>\/var\/www\/example.com\/test.php<\/strong><\/p>\n<table width=\"658\">\n<tbody>\n<tr>\n<td width=\"25\">\u00a01<\/p>\n<p>2<\/p>\n<p>3<\/p>\n<p>4<\/p>\n<p>5<\/p>\n<p>6<\/p>\n<p>7<\/p>\n<p>8<\/p>\n<p>9<\/p>\n<p>10<\/p>\n<p>11<\/p>\n<p>12<\/p>\n<p>13<\/p>\n<p>14<\/p>\n<p>15<\/p>\n<p>16<\/p>\n<p>17<\/p>\n<p>18<\/p>\n<p>19<\/p>\n<p>20<\/p>\n<p>21<\/p>\n<p>22<\/p>\n<p>23<\/p>\n<p>24<\/td>\n<td>\n<pre class=\"lang:default decode:true \">&lt;html&gt;\r\n\r\n&lt;head&gt;\r\n\r\n\u00a0\u00a0\u00a0 &lt;h2&gt;LEMP Stack Test&lt;\/h2&gt;\r\n\r\n&lt;\/head&gt;\r\n\r\n\u00a0\u00a0\u00a0 &lt;body&gt;\r\n\r\n\u00a0\u00a0\u00a0 &lt;?php echo '&lt;p&gt;Hello,&lt;\/p&gt;';\r\n\r\n\r\n\r\n\u00a0\u00a0\u00a0 \/\/ Define PHP variables for the MySQL connection.\r\n\r\n\u00a0\u00a0\u00a0 $servername = \"localhost\";\r\n\r\n\u00a0\u00a0\u00a0 $username = \"testuser\";\r\n\r\n\u00a0\u00a0\u00a0 $password = \"password\";\r\n\r\n\r\n\r\n\u00a0\u00a0\u00a0 \/\/ Create a MySQL connection.\r\n\r\n\u00a0\u00a0\u00a0 $conn = mysqli_connect($servername, $username, $password);\r\n\r\n\r\n\r\n\u00a0\u00a0\u00a0 \/\/ Report if the connection fails or is successful.\r\n\r\n\u00a0\u00a0\u00a0 if (!$conn) {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 exit('&lt;p&gt;Your connection has failed.&lt;p&gt;' .\u00a0 mysqli_connect_error());\r\n\r\n\u00a0\u00a0\u00a0 }\r\n\r\n\u00a0\u00a0\u00a0 echo '&lt;p&gt;You have connected successfully.&lt;\/p&gt;';\r\n\r\n\u00a0\u00a0\u00a0 ?&gt;\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;<\/pre>\n<p>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u0628\u0647 http:\/\/example.com\/test.php\u00a0 \u062f\u0631 \u0645\u0631\u0648\u0631\u06af\u0631 \u062e\u0648\u062f \u0628\u0631\u0648\u06cc\u062f. \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u067e\u06cc\u0627\u0645\u06cc \u0647\u0645\u0686\u0648\u0646 You have connected successfully \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0646\u0645\u0627\u06cc\u06cc\u062f. \u0627\u06af\u0631 \u062e\u0637\u0627\u06cc\u06cc \u062f\u0627\u0634\u062a\u06cc\u062f \u06cc\u0627<em>\u00a0 <\/em>\u0635\u0641\u062d\u0647 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0646\u0634\u062f \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0647\u0627\u06cc \u062e\u0648\u062f \u0631\u0627 \u062f\u0648\u0628\u0627\u0631\u0647 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f.\u0628\u0639\u062f \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u0645\u0637\u0645\u0626\u0646 \u0634\u062f\u06cc\u062f \u0647\u0645\u0647 \u0686\u06cc\u0632 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u062f \u0641\u0627\u06cc\u0644 \u062a\u0633\u062a \u0631\u0627 \u062d\u0630\u0641 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo rm \/var\/www\/example.com\/test.php<\/pre>\n<p>&nbsp;<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;3077&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;Rate this post&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 \u0627\u0645\u062a\u06cc\u0627\u0632)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u0686\u06af\u0648\u0646\u0647 LEMP stack \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0646\u062a \u0627\u0648 \u0627\u0633 7 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645\u061f&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&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: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/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: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">Rate this post<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u067e\u0634\u062a\u0647 LEMP\u00a0 \u06cc\u0627 \u0647\u0645\u0627\u0646\u00a0lemp stack \u06a9\u0647 \u0627\u0632 \u0627\u0648\u0644 \u0648\u0627\u0698\u0647 \u0647\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\u060c NGINX\u060c MariaDB \u0648 PHP \u0628\u0647 \u062f\u0633\u062a \u0622\u0645\u062f\u0647 \u0627\u0633\u062a \u06cc\u06a9 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0645\u062d\u0628\u0648\u0628 \u0628\u0631\u0627\u06cc \u0633\u0631\u0648\u0631\u0647\u0627\u0633\u062a \u06a9\u0647 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0647\u0627\u06cc \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u0648\u0628 \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0642\u0631\u0627\u0631 \u0645\u06cc \u06af\u06cc\u0631\u062f. \u0686\u0647\u0627\u0631 \u062c\u0632\u0621 \u062a\u0634\u06a9\u06cc\u0644 \u062f\u0647\u0646\u062f\u0647 \u0627\u06cc\u0646 \u067e\u0634\u062a\u0647 \u0628\u0647\u00a0 \u06af\u0648\u0646\u0647 \u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u0634\u062f\u0647 \u0627\u0646\u062f \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0628\u0647 \u062c\u0627\u06cc \u0647\u0631 &hellip;<\/p>\n","protected":false},"author":8,"featured_media":3078,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1374,1370,3],"tags":[1776,2396,2394,2395],"class_list":["post-3077","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-linux","category-web-articles","tag-lemp","tag-lemp-","tag--lemp","tag--lemp----"],"jetpack_featured_media_url":"https:\/\/webide.ir\/blog\/wp-content\/uploads\/2018\/09\/Installing-LEMP-Stack-On-Debian-Banner.jpg","views":"316","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/parry3-ND","_links":{"self":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts\/3077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/comments?post=3077"}],"version-history":[{"count":0,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts\/3077\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/media\/3078"}],"wp:attachment":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/media?parent=3077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/categories?post=3077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/tags?post=3077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}