You are here

Vlad's blog

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

*** DISCLAIMER: All content provided here including the scripts is provided without any warranty. You use it at your own risk. I can not be held responsible for any damage that may occur because of it. By using the scripts I provide here you accept this terms.

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.

In this tutorial I will compile the latest NginX and PHP with FPM, MySQL, Suhosin and APC on Ubuntu Precise (12.04). Apart for some version numbers for some dependencies, all the steps should be the similar for Ubuntu Lucid, Maverick, Natty and Oneiric.

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.4.1. The platform used is Ubuntu Precise 12.04 LTS, 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:

Varnish and Apache in Ubuntu 10.04

This article is not related in any way with the others in this series, and it represents only another option instead of having NginX. Varnish is an HTTP accelerator, which serves static content from disk or RAM memory. Unlike Squid or other similar software that was created to be mainly a proxy, Varnish has resolved the problems of having data in the virtual memory, and was created from ground up as an HTTP accelerator. It is also very configurable allowing a multitude of uses.

Jetty Powered MultiCore Apache Solr

Installing the latest version of Apache Solr search engine on a Jetty powered server is very straightforward. You simply copy the packages in the right place, change a few lines to customize it and you are done. This tutorial is meant for Ubuntu users but it can be easily adapted for other distributions.

Assuming you are root (you can become by running "sudo -i" command), the first thing you need to do is get the dependencies:

Recent comments