Skip to content
WJunction - Webmaster Forum

Nginx Auto Installer – PHP – MySQL

Status
Not open for further replies.
This script will install:
Code:
NginX 1.1.11 & 1.0.10
PHP 5.3.8 with PHP-FPM (Latest 5.3.x , faster for processing php script)
MySQL 5.5.19
phpMyAdmin 3.4.8
ionCube PHP Loader 4.0.11
Alternative PHP Cache (APC) 3.1.9
eAccelerator 0.9.6.1
XCache 1.3.2
Suhosin Extension 0.9.32.1
Imagick 3.0.1 (Optional)
FFMPEG 0.6.0 (Optional)
PureFTPD 1.0.35 (Optional)
Latest WordPress (Additional)

Download and Unpack the auto installer

wget http://download.upload.co.id/nginxauto-1.3.12.zip
unzip nginxauto-1.3.12.zip


Make the scripts executable

chmod +x centos.sh debuntu.sh vhost.sh
script log.txt
exit


Install master script on a fresh OS box
For CentOS 5 (If you’re already using the previous version, the script will ask if you want to upgrade your current NginX version.)

./centos.sh

Main Apps Init command:

Nginx
/etc/init.d/nginx { start | stop | restart }

PHP-FPM
/etc/init.d/php-fpm { start | stop | restart }

MySQL
/etc/init.d/mysql { start | stop | restart }

-nJoy
 
Last edited:

41 comments

you cant use apache. This script will install nginx instead of apache . And nginx is 70% faster then apache.

You are incorrect.

Apache is faster then nginx, But it is slowed down by the use of php (versions before 2.4.1).
Apache 2.4.1 with php is 30% faster then nginx which is the newest version out now.

Nginx is in the same class as Varnish.. A static file delivery server which speeds up the processes for apache.

PHP-FPM is very unstable which is why its not good to use.
 
You are incorrect.

Apache is faster then nginx, But it is slowed down by the use of php (versions before 2.4.1).
Apache 2.4.1 with php is 30% faster then nginx which is the newest version out now.

Nginx is in the same class as Varnish.. A static file delivery server which speeds up the processes for apache.

PHP-FPM is very unstable which is why its not good to use.

:facepalm::facepalm:

first time heard

read http://www.wjunction.com/64-webmaster-resources/81962-apache-vs-nginx-vs-lighttpd-cherokee.html

:)
 
If you are using Cent OS 6 will this script work?

---------- Post added at 11:17 PM ---------- Previous post was at 11:06 PM ----------

Also I have done the above steps and I get this on my site http://d.pr/WDec

I got my VPS from scratch and the only thing I have done are those above steps, what else do I need to do to get my site up and running?
 
Status
Not open for further replies.

About the author

T
Active Member · Joined
Raping lesbians
1,184
Messages
262
Reactions
83
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom