نصب اتوماتیک Nginx PHP-FPM MySql phpMyAdmin همه با هم با یک دستور پرینت


دستور زیر را در ssh لینوکس بزنید:

wget -O /tmp/npmp.sh https://raw.github.com/ComfortVPS/Nginx-PHP-MySql-phpMyAdmin/master/install-nginx-php-mysql.sh; sh /tmp/npmp.sh;


حداقل مشخصات مورد نیاز سیستم:
CentOS 5.x/6.x 32bit or 64bit ( We recommend you Reload OS before run the installer )
Guarantee Memory >= 128MB
Free Disk space >=2GB



############ Information you will get after installation (below is an example) ############

PHP Code:
====== Nginx + PHP-FPM + MYSQL Successfully installed

====== MySql root password is cft.KL7fvW2g

====== SFTP Username is myweb

====== SFTP Password is cft.KL7fvW2g

====== Website document root is /www/yourdomain

====== Add websites tutorials: http://goo.gl/sdDF9

====== Now you can visit http://your-ip-address/

====== Eg. http://50.3.62.173/

====== phpMyAdmin: http://50.3.62.173/phpMyAdmin4U/

====== More tutorials: http://goo.gl/tNFb0
############ How to add multiple websites via SFTP ? ############

Step 1, Create a domain name directory under /www via SFTP, eg, yourdomain.com, subdomain.abc.com, domain-name.net

Step 2, Everything is Done, Config Nginx virtual host is finish, upload your php/html files to that directory then test it.


آیا این پاسخ به شما کمک کرد؟

  • 1
« برگشت