Published on : December 14, 2009 by George K.
Our server tech support team often gets tickets like how to make http:// or http://www. redirect to https:// or https://www. Often the answer is simple, but for the newbies and yours use, I am putting it here. First requirement is to have an SSL certificate installed. Add the following lines in a .htaccess file: RewriteEngine […]
Published on : December 12, 2009 by George K.
gpg –gen-key was the command issued and after a few entropy delay [+++++++++++++++++++++++++++.+++++….+++++++++++++++++++++++++……………………+++++ We need to generate a lot of random bytes. It is a good idea to perform some other action (type on the keyboard, move the mouse, utilize the disks) during the prime generation; this gives the random number generator a better chance […]
Published on : December 11, 2009 by George K.
On Ubuntu karmic compilation you may get errors as following and let us see how to fix it, In file included from /usr/include/fcntl.h:217, from cpm.h:35, from security.c:27: In function ‘open’, inlined from ‘initSecurity’ at security.c:498: /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments make: *** […]
Published on : October 7, 2009 by George K.
In web server management we often need PHP recompilation for Litespeed web server. LSAPI is LiteSpeed’s open-source API between external applications and LiteSpeed Web Server.This how-to is for compiling and installing PHP + LSAPI on Linux, OS X, FreeBSD, Solaris, and so on. LiteSpeed comes with PHP 4.4.x compiled with LSAPI. To change the LightSpeed […]
Published on : October 3, 2009 by George K.
Recompile Kernal Compiling custom kernel has its own advantages and disadvantages. It helps to optimize the kernel to your environment (hardware and usage patterns). I shall try to guide you through the steps on recompile kernel Step 1: Download the kernel source cd /usr/local/src wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-x.y.z.tar.bz2 Note: Replace x.y.z with actual version number. Step 2: Extract […]