Nginx (pronounced “engine x”) is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on a Debian Squeeze server with PHP5 support (through FastCGI) and MySQL support. I do not issue any guarantee that this [...]
March 12th, 2013 |
admin |
This how-to describes how to install and configure Nginx to accelerate an Apache server based on RHEL 5.2. 1. Update your installed packages yum install update 2. Install new packages yum install -y httpd-devel wget http://rpmfind.net/linux/EPEL/5Server/i386/nginx-0.6.31-3.el5.i386.rpm rpm nginx-0.6.31-3.el5.i386.rpm 3. Edit /etc/nginx/nginx.conf Setting up nginx as a reverse proxy: nano /etc/nginx/nginx.conf Change worker_processes [...]
January 30th, 2013 |
admin |
This HowTo describes the implementation of Nginx with php5 support (through FastCGI). The fast-cgi process will be initiated via spawn-fcgi. What for? Nginx is a great replacement of Apache with very low memory footprint and contrary to Lighttpd, doesn’t suffer from memory leak over time. You can then use all the memory left to unleash [...]
January 18th, 2013 |
admin |
This HowTo will describe the setup of an efficient http server and mail server for small or medium configurations (as low as 96 mb). So this config is ideal for a small VPS. You can find a good choice of cheap and performant VPS (XEN) at x|encon, a german hosting company. they provide many scalable [...]
January 1st, 2013 |
admin |
Most webframeworks will provide you with a .htaccess file that contains RewriteRule’s to be used in Apache to create “clean URLs”, or “routes” as it’s called in Zend Framework. The problems is that it doesn’t work for Nginx as it doesn’t read .htaccess file and wouldn’t understand the syntax anyway. So, here’s a basic example [...]
December 7th, 2012 |
admin |
1. In order to get the cPanel server ready for nginx – you must first install an apache module called mod_rpaf Login as root: # cd /usr/local/src # wget http://stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz # tar xvzf mod_rpaf-0.6.tar.gz # cd mod_rpaf-0.6 # /usr/local/apache/bin/apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c 2. Doing so will install the module into the Apache module [...]
September 19th, 2012 |
admin |
This instruction describes how to use nginx as reverse proxy for apache, also I’ll show some tips how use nginx for heavy loaded sites. Majority of my servers are freebsd boxes, so this howto oriented on freebsd, but I’ll show some tips for linux too. Nginx is a free, open-source, high-performance HTTP server and reverse [...]
March 22nd, 2012 |
admin |
It’s common knowledge that when you’re serving a web application you shouldn’t use a standard Apache install to serve static assets, as it comes with too much overhead. I won’t go into the details of why here, as it’s been covered by many other people better qualified than I. What I can do, however, is tell you how [...]
March 6th, 2012 |
admin |
#!/bin/bash set -e # Use this script to copy shared (libs) files to nginx chrooted # jail server. This is tested on 64 bit Linux (Redhat and Friends only) # —————————————————————————- # Written by Vivek Gite <http://www.cyberciti.biz/> # (c) 2006 nixCraft under GNU GPL v2.0+ # Last updated on: Apr/06/2010 by Vivek Gite # —————————————————————————- [...]
March 3rd, 2012 |
admin |
Icinga is an enterprise grade open source monitoring system which keeps watch over networks and any conceivable network resource, notifies the user of errors and recoveries and generates performance data for reporting. It is a fork of Nagios. This tutorial explains how to serve the Icinga Web interface from an nginx server on Debian Wheezy/Ubuntu [...]