Archive for the ‘Installation’ Category

How To Install Cpanel And WHM

To begin your installation, use the following commands: cd /home — Opens the directory /home. wget -N http://layer1.cpanel.net/latest — Fetches the latest installation file from the cPanel servers. sh latest — Opens and runs the installation files. /usr/local/cpanel/cpkeyclt — Activates your license after installation.

How to install RVSiteBuilder ?

RV SiteBuilder is a complete online application to build a Website without the need to have any coding knowledge. It is fully integrated to CPanel and is therefore easily accessible. RVsitebuilder requires a license that needs to be purchased fromwww.rvsitebuilder.com SSH as root in your server and download the installer using the following command: cd […]

Howto Install mod_evasive

mod_evasive and mod_security modules are used to secure Apache Web Server from DDoS and brute force attacks by implementing web application firewall. Download the source wget http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz tar -xzvf mod_evasive_1.10.1.tar.gz cd mod_evasive Compile in the mod_evasive apache module using apxs For Apache 2 /usr/local/apache/bin/apxs -i -a -c mod_evasive20.c For Apache 1.3 /usr/local/apache/bin/apxs -i -a -c […]

How to install Cpanel Proxy

CPANEL and WHM usually uses  non-common port which can be blocked by local network policy. CPANEL (non-https) uses port 2082, WHM uses port 2087, and webmail uses port 2095. There is no perfect solution for this , but by installing cpanel proxy we can find a temporary solution. Here’s how to install cPanel Proxy on […]

Round Cube Installation

Remove the previous traces of Roundcube in the server. ==================== cd /usr/local/cpanel/base rm -rf roundcube* mysql mysql>drop database roundcube; ==================== Before starting the installation, you need to know the root password of Mysql ==================== cd /usr/local/cpanel/base wget http://easynews.dl.sourceforge.net/sourceforge/roundcubemail/roundcubemail-0.1beta2.1.tar.gz tar -zxvf roundcubemail-0.1beta2.1.tar.gz mv -f roundcubemail-0.1beta2 roundcube cd roundcube chmod -R 777 temp chmod -R 777 logs […]

Upgrade Perl to 5.8.8 (Cpanel 11.4.2)

The cpanel 11 requires perl version  5.8.8. To upgrade the perl version in the server you can use following steps:- 1. Download perl 5.8.8 using following link:-     [root@serv ~]# wget http://layer1.cpanel.net/perl588installer.tar.gz 2. Untar the tar package using following command  [root@serv ~]# tar -vzxf perl588installer.tar.gz 3. Then Install  [root@serv ~]# cd perl588installer   [root@serv ~]# ./install Once this has […]

Installing XCache on Linux machines

XCache is a fast, stable PHP opcode cacher that has been tested and is now running on production servers under high load. It is supported on all of the latest PHP. It optimizes performance by removing the compilation time of PHP scripts by caching the compiled state of PHP scripts into the shm (RAM) and […]

Compile Apache + Mysql + PHP

Install Apache(apache2.2.2) 1. Download apache2.2.2(httpd-2.2.2.tar.gz) store in /usr/local/src 2. Type the following to un-tar the file into a directory called apache_[version]: tar -xvf apache_[version].tar 3.  cd into /usr/local/apache_[version] (or wherever you un-tared it) 4. Type the following to prepare for building, replacing [path] with your own path, such as /usr/local/usr/local/apache_new 5. ./configure –prefix=[path] –enable-module=so 6. […]

Install php5 and php4 in cPanel server

Now php has flushed their support for php4. Now most of the sites are loading under php5. But traditional php sites won’t work under php5. So we have to have php5 as primary and php4 as secondary php. Previously it was php4 as default and php5 as secondary, but now it is in the other […]

Install mod perl as DSO module

There are different ways to install mod_perl. This article explains how to install it as DSO using Apache extension tool apxs. 1) Download and untar the source. $ cd /usr/local/src $ wget http://perl.apache.org/dist/mod_perl-1.0-current.tar.gz $ tar -xzf mod_perl-1.0-current.tar.gz $ cd mod_perl-1.29/ 2) Configure it as DSO $ perl Makefile.PL USE_APXS=1 WITH_APXS=/usr/local/apache/bin/apxs EVERYTHING=1 $ make $ make […]