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 [...]
November 12th, 2012 |
admin |
Geolocation software is used to get the geographic location of visitor using IP address. You can determine country, organization and guess visitors location. This is useful for a] Fraud detection b] Geo marketing and ad serving c] Target content d] Spam fighting e] And much more. mod_geoip is a Lighttpd module for fast ip/location lookups. [...]
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 [...]
January 14th, 2012 |
admin |
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 Etch server with PHP5 support (through FastCGI) and MySQL support. I do not issue any guarantee that this [...]
January 3rd, 2012 |
admin |
PHP-FPM configuration First, download the latest version of PHP (5.3.6 as of this writing) and compile it with the –enable-fpm parameter to allow for the php-fpm binary to be built. # cd /usr/local/src/ # wget “http://be.php.net/get/php-5.3.6.tar.gz/from/this/mirror” # tar xzf php-5.3.6.tar.gz # rm php-5.3.6.tar.gz # cd php-5.3.6/ # ./configure –enable-fpm –with-mhash –with-mcrypt –with-mysql –with-mysqli –with-pdo-mysql –with-libdir=lib64 [...]
December 31st, 2011 |
admin |
This is guide howto install nginx, PHP 5.3 and FastCGI webserver with MySQL and/or PostgreSQL and Memcache support on Fedora 12 and Fedora 13, CentOS 5.5, Red Hat (RHEL) 5.5/6. nginx (engine x) is a robust, small and high performance http server, reverse proxy server and also mail proxy server. 1. Add and enable needed [...]