Auto installer of Nginx PHP(php-fpm) MySql phpMyAdmin in CentOS
If you are not good at SSH command and you want install Nginx PHP(php-fpm) MySql phpMyAdmin for your small website, you can use our Automatically install script of Nginx PHP(php-fpm) MySql in CentOS.
What's you need to do is: Copy and post/run below single command line via SSH root login. wait 5-15 minutes(depending on the software download speed from your server), Everything is Done!
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;
The Auto installer of Nginx PHP(php-fpm) MySql only works on CentOS 5.x/6.x 32bit or 64bit now, work perfectly for Xen VPS ram >= 128MB. Recommand RAM(memory) is >= 256MB for CentOS 32bit and >=512MB for CentOS 64bit. Memory of OpenVZ Cheap VPS is not guarantee and not stable, so we recommand ram>=512MB if you use OpenVZ Cheap VPS.
Installation Requirement:
- CentOS 5.x/6.x 32bit or 64bit ( We recommend you Reload OS before install )
- Guarantee Memory >= 128MB, Free Disk space >=2GB
Fetures:
- You can add multiple websites directly via SFTP, no need to login SSH, no need to restart Nginx
- You can easily custom config each website domain's Nginx config file if you need
- Installed the newset stable version of Nginx, PHP5.x, MySql5.x by YUM
- phpMyAdmin4.x installed and ready for use. Just login and manage mysql database as you want
- Work perfectly for low memory VPS with ram >= 128MB
- Many tutorials for how to use
- Alternative PHP Cache (APC) installed(Facebook use it)
Get your password after everything installed
Your SSH console screen will show something like below after successfully installed, Please record your password. The unique password was random generated by openssl, no need to change.
====== 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 use? We have wrote lots of tutorials for this:
- How to find your password of SFTP and MySql root?
- How to connect to SFTP? How to upload files?
- How to create a Nginx website(how to add domain)?
- How to access phpMyAdmin(how to control MySql database)?
- How to stop Nginx server? How to start and restart Nginx via command line?
- More tutorials (eg, How to custom config Nginx and PHP-fpm, security, performance)
Github: Automaticaly Installer for Nginx + PHP + MySql + phpMyAdmin