You are here

NginX

Install NginX and PHP with PHP-FPM, MySQL and APC

*** This entire article is also provided as a script, available on GitHub. Check the README file for instructions on how to run the installer.

In this tutorial I will compile the latest NginX and PHP with FPM, MySQL, Suhosin and APC on Ubuntu 11.04 (All the steps and dependencies should be the same for Ubuntu 10.04 and 10.10).

Please bear in mind that this method is intended for development and testing purposes only. If you care about stability and security you should use the packages provided by your distribution.

I will not explain how to configure NginX here. You can find a lot of resources about that on the nginx wiki.

In order to compile these programs you will need the following dependencies (most of them should already be installed):

Nagios with NginX in Ubuntu

In this article I will show you how I installed the latest version of the Nagios from sources, and how to serve it with NginX. Nagios is an open-source monitoring application with a very strong community and a huge set of plugins that can help you monitor every aspect of your servers. At the time of writing this article the latest version is 3.2.3. The platform used is Ubuntu 10.10, but except dependencies, it should be the same for older distributions. It doesn't hurt to check them first.

We will start by installing the dependencies:

Recent comments