Aug 192010

Edit nginx.h

$ vi src/core/nginx.h

find lines:

#define NGINX_VERSION    "0.7.64"
#define NGINX_VER        "nginx/" NGINX_VERSION

Change them as follows:

#define NGINX_VERSION    "0.7.64"
#define NGINX_VER        "kutukupret/" NGINX_VERSION

Save and close the file. Now, you can compile the server. Add the following in nginx.conf to turn off nginx version number displayed on all auto generated error pages:

server_tokens off

Above hack doesn’t work here’s the good one:
edit src/http/ngx_http_header_filter_module.c

around line 48, changing the following line to something like:

static char ngx_http_server_string[] = "Server: yourserver" CRLF;
static char ngx_http_server_full_string[] = "Server: yourserver" CRLF;
Jul 092008

At any given time, there are several “stable” versions of Linux, and one “development” version. Unlike most proprietary software, older stable versions continue to be supported for as long as there is interest, which is why multiple versions exist.

Linux version numbers follow a longstanding tradition. Each version has three numbers, i.e., X.Y.Z. The “X” is only incremented when a really significant change happens, one that makes software written for one version no longer operate correctly on the other. This happens very rarely — in Linux’s history it has happened exactly once.

The “Y” tells you which development “series” you are in. A stable kernel will always have an even number in this position, while a development kernel will always have an odd number.

The “Z” specifies which exact version of the kernel you have, and it is incremented on every release.

The current stable series is 2.4.x, and the current development series is 2.5.x. However, many people continue to run 2.2.x and even 2.0.x kernels, and they als o continue to receive bugfixes. The development series is the code that the Linu x developers are actively working on, which is always available for public viewing, testing, and even use, although production use is not recommended! This is part of the “open source development” method.

Eventually, the 2.5.x development series will be “sprinkled with holy penguin pee” and become the 2.6.0 kernel and a new stable series will then be established, and a 2.7.x development series begun. Or, if any really major changes happen, it might become 3.0.0 instead, and a 3.1.x series begun.