NginX Auto Installer PHP MySQL

2013年2月26日

Author:otoinstall From:http://otoinstall.com/
nginx
It’s been a while since the last time i posted this script’s update in my previous blog (Servers Review dot Net), and now the scripts are back, not just usual back but with more distros version are supported. Softwares included in the auto installer are:

NginX 1.3.8 & 1.2.4
MySQL 5.5.28 & 5.5.16
PHP 5.4.8, 5.3.18, & 5.2.17
APC 3.1.13, eAccelerator 1.0-dev, XCache 3.0.0
Suhosin 0.9.33
phpMyAdmin 3.5.3
Memcached 1.4.15 (Optional)
ImageMagick 6.8.0-4 (Optional)
FFMPEG (Optional)
PureFTPD 1.0.36 (Optional)
Choose one of these Linux Distros

CentOS 5 & 6
Debian 6
Ubuntu 10.10, 11.10 (soon), & 12.10 (soon)

Installation

Download and Extract

Centos

Debian & Ubuntu

Init Scripts

That’s it, simple right? Only a few things you need to know about this auto installer. First the default configurations that i use for this script (whether it is ngx, php, mysql), basically are for box with low resources, so you needed to tune the configurations after the installation is complete.

I want to tell the story about why does this script is taking a long time to get completed. I recreated this script from lnmp (thanks to it, great script by the way) with the purpose of having NginX Auto Installer script with more optional packages, always up to date, and english support. So i just did the update and added a few more choices like more php versions, mysql versions, and php opcode cachers. The first release of this script, i was using yum, rpm, apt-get, dpkg, i didn’t want it to be complicated for me, until i found out that the official distro repositories are not always up to date. So i searched in google and used the external repository which do the update regularly. Problem solved, until one day i read some articles telling me using external (especially not officially listed in each distro) repositories is not really good for security, because you don’t know how and what are the recipes they gather and boil into a binary package. So it is better to wait for the update, or you build each packages from source. I chose to build packages from source, though not all packages (there are a few binaries i use from trusted sources) but it is still better than using the unknown external repositories, and that’s why the installation is taking a long time buddy, especially if you choose lots of additional packages or you have low resources box, or maybe your box is within the crowded node.

Other than that, this script is definitely still need a lot of improvement. Your help for critics, inputs, or suggestions are very welcome, but not here. I have learned that nearly a thousand comments in this script is too useful to be dropped, so comments in this blog / site / wotever you want to call it :p are closed, i moved the discussion to facebook.com/oto.install, you can question or open any discussion about this script. Also you can follow our twitter because update of this script will be posted in there.

声明: 本文采用 BY-NC-SA 协议进行授权. 转载请注明转自: NginX Auto Installer PHP MySQL
本文的评论功能被关闭了.