BLOG MYDEL'S
make your money
Selasa, 05 November 2013
Nginx Autoinstaller
What I have edited
- Original installer rewrites the time zone to China. I have removed that so your original time zone will remain on the server.
- Nginx 1.2.9 latest stable version is added
- Removed the server probe script because it can post a security risk
All the credits must go to Licess at www.lnmp.org for the original installer and your donations should go to him.
What does the installer include
- Nginx 1.2.9 ( Upgrade to the latest after the installation )
- PHP 5.2.17 ( Upgrade to the latest after the installation )
- Mysql 5.1.60
- PHPMyAdmin
- Eaccelerator (optional 1 click install)
- VsFTPd, PureFTPd (Optional 1 click install)
- PHP Suhousin Patch
- Memcached (optional)
- Zend Optimizer
You can use debian/ubuntu/centos 32bit or 64bit. So login via SSH and issue these commands (you must be root user to install LNMP )-
1. Download the installer package-
wget -c http://www.ruchirablog.com/downloads/lnmp0.9-full.tar.gz
tar zxvf lnmp0.9-full.tar.gz
cd lnmp0.9-full
For ubuntu - sh ubuntu.sh
For Centos - sh centos.sh
For Debian - sh debian.sh
It will take at least 30 minutes to fully install and then you will see a massage saying install completed. So then you can try navigating to your ip address to see it working.
After installation -
- PHPMyAdmin will be located on http://yourip/phpmyadmin
- Navigate to your url or ip and it will display a test page
/eaccelerator.sh
2, the installation of ionCube, execute the following command
/ionCube.sh
Enter to confirm, it will automatically install and restart the web service.
3, the installation imageMagick, execute the following command
Enter to confirm, it will automatically install and restart the web service.
4, install memcached, execute the following command
Enter to confirm, it will automatically install and restart the web service.
mysql: /usr/local/mysql
php: /usr/local/php
nginx: /usr/local/nginx
Site Directory: /home/wwwroot
3, the installation imageMagick, execute the following command
/imageMagick.sh
4, install memcached, execute the following command
/memcached.sh
And a advantage of the new installer is you can upgrade nginx or php with just one shell command.
- To upgrade the nginx execute the following command:.
/upgrade_nginx.sh
- PHP upgrade, execute the following command:.
/upgrade_php.sh
/root/lnmp {start | stop | reload | restart | kill | status}
- For example if you want to restart lnmp issue
/root/lnmp restart
mysql: /usr/local/mysql
php: /usr/local/php
nginx: /usr/local/nginx
Site Directory: /home/wwwroot
Minggu, 23 September 2012
penis stretching
Langganan:
Postingan (Atom)