Ubuntu

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 a LEMP stack with the latest NginX and PHP with FPM, MySQL, Suhosin and APC on Ubuntu Quantal(12.10). 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):

Varnish 3 and Apache in Ubuntu 12.04 LTS Precise

This article is a Partner Post by the UK based PartyCasino.com. Being one of the best ranked Internet casinos, they offer various slot games. Even if I am not an avid player, I can admit that the revenue is tempting and I understand why this is such a fast growing and profitable industry.

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.

You will probably ask how is this different from memcached, used in conjunction with nginx. The answer is that they are two completely different systems, varnish is an accelerator while memcached is an in-memory key-value store for small chunks of arbitrary data.

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:

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:

Subscribe to RSS - Ubuntu