Nginx PHP (php-fpm) MySql phpMyAdmin one-click installation script

Nginx PHP (php-fpm) MySql phpMyAdmin one-click installation script

Based on CentOS, Nginx PHP (php-fpm) MySql phpMyAdmin one-click installation script, the system requirements are as follows:

System: CentOS 5.x/6.x 32 or 64 bit Memory: Xen VPS greater than or equal to 128MB, OpenVZ VPS greater than or equal to 512MB
Space: greater than or equal to 2GB

For 128MB of memory or less, it is recommended to use LLSMP. This site uses: Installing System LLSMP

Nginx PHP (php-fpm) MySql phpMyAdmin are installed as follows:

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

After installation, a random password will be displayed, please remember it.

The installation information is as follows:
====== 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

Features are as follows:

You can create a site via SFTP without going through SSH. – This is very convenient. Install the latest stable version of Nginx, PHP5.x, MySql5 through YUM
Low memory VPS stable use (greater than or equal to 128MB)

Usage issues:

1. SFTP and phpMyAdmin username and password: stored in the /www/mysql-and-sftp-password.php file

Under SSH: more /www/mysql-and-sftp-password.php to display

2. Create a site

Log in via SFTP, in the /www directory, create a domain name (without the prefix www)

3. Bind multiple domain names

Bind multiple domain names to the same site. First create the site zhujiwiki.com, and then bind zhuji.ru to the same site. Under SSH:

ln -s /www/zhujiwiki.com /www/zhuji.ru

4. Nginx related commands

Nginx service stop command: service nginx stop
Nginx service start command: service nginx start
Nginx service restart command: service nginx restart
Nginx configuration test service: service nginx configtest
Nginx command: service nginx {start|stop|restart|condrestart|try-restart|force-reload|upgrade|reload|status|help|configtest}

via: comfortvps

<<:  Beginner's guide: MasterCard Virtual Credit Card (Global Payment)

>>:  Ramnode VPS increases capacity, reduces prices

Recommend

Introduction to Hong Kong Hosting Provider ICDSoft

ICDSoft is a hosting provider in Hong Kong that m...

Delimiter, low-cost dedicated server, starting at $5/month

This post collects all the special offers of Deli...

MivoCloud: €30/month/E5630/12GB RAM/600GB HDD/Unlimited traffic/Europe

MivoCloud, a Moldovan hosting provider, has its o...

serverbiz: €2.5/month/512MB RAM/50GB storage/5TB bandwidth/OpenVZ/Germany

serverbiz, a long-established German hosting prov...

ServerHand: $24.8/year/2GB memory/30GB SSD space/1TB bandwidth/KVM/Los Angeles

ServerHand should be a newly established hosting ...