cPanel

Recompile PHP for Litespeed webserver

Tags: litespeedlsphpphpwebserver

Published on : October 7, 2009 by

Recompile PHP for Litespeed webserver

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 […]

Continue Reading...


How to recompile Kernel?

Tags: kernelLinuxmenuconfigmkinitrdmrproperpatchrecompile

Published on : October 3, 2009 by

How to recompile Kernel?

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 […]

Continue Reading...


Password protect Parent and Allow subdirectory using .htaccess

Tags: .htaccessparentpassword protectsub-directory

Published on : September 24, 2009 by

Password protect Parent and Allow subdirectory  using .htaccess

To  password protect a directory htaccess password protect rules can be added in the directory AuthUserFile /path/to/.htpasswd AuthName “This is Hasten secret area” AuthType Basic require valid-user To create .htpasswd file  use the following command htpasswd -c .htpasswd  <user> You will be prompted for password . Once it is done, the file will be created. […]

Continue Reading...


Viewing Webalizer for Add-on Domains outside the control panel

Tags: addon-on domaincPanelwebalizer

Published on : September 17, 2009 by

Viewing Webalizer for Add-on Domains outside the control panel

To access Webalizer for addon domain without loging in to the Cpanel  can be done by following the steps 1. Login to the server using SSH 2.  Then  change directory to the Document Root of the addon domain cd /home/username/public_html/AddondomainFolder 3.  In the desired folder create a symbolic link ln -s /home/username/tmp/webalizer/addondomain.maindomain.com  webstats 4. Change […]

Continue Reading...


How to mount a LVM from a crashed and backup drive to the new HD to restore data

Tags: backup diskLVM crashrestoration

Published on : August 16, 2009 by

How to mount a LVM from a crashed and backup drive to the new HD to restore data

In server disaster management our clients often need to mount LVM to new HD to restore data. Let us see the scenario bit more, Situation & Requirement Server crashed and had to be reinstalled. OS along with cPanel was re-installed on a fresh hard disk. Needed to restore the cPanel backup from old LVM hard […]

Continue Reading...


Let's Connect

Categories

Your Cart

Cart is empty.

Subtotal
₹0.00
APPLY
0
Send this to a friend