Installing Fantastico on cPanel/WHM

In this post i will describe about the installation of Fantastico on WHM/cPanel powered servers.

What is a Fantastico:

Fantastico is the software/addon which enables you to have one click automatic script installer on linux server. It contains many open source scripts that can be installed with one click from the cPanel/WHM. It is most powerful and best script installer that is being used by most web hosting providers.


To install fantastico on cPanel/WHM you should follow the below instructions:

  • SSH to your server with root privileges.
  • Run the following commands:

# cd /usr/local/cpanel/whostmgr/docroot/cgi

# wget -N

# tar -xzpf fantastico_whm_admin.tgz

# rm -rf fantastico_whm_admin.tgz

  • And you’re done!
  • Now go to your WHM panel and then Add-Ons menu, located at the last of left menu in WHM, Find the link to Fantastico under that menu.
  • Configure it accordingly and you are ready to use it.

Errors and Rectifications:

  • I am having Source Guardian Error, what should i do ?
  • Run the following command from SSH:

# chmod -R 0755 /usr/local/cpanel/3rdparty/etc/ixed

  • My users do not see the link to fantastico, what should i do?
Go to WHM panel and edit the “default” Features list, activate fantastico from there.

Enjoy your web hosting business…

Queries are welcome 🙂

Installing WebMin on the server

In this short tutorial i will describe how to install WebMin on the server, you must have fresh VPS or Dedicated server in order to install webmin.

What is a WebMin:

Webmin is a web based control panel that helps you to manage your server without accessing SSH, it gives complete web hosting features and component management including:

  • Apache (Web Server)
  • MySQL (Database Server)
  • PHP (Dynamic Language)
  • ProFTPD (FTP Server)
  • Exim (Mail Server)
  • Bind (DNS Server)

Installation From The Source:

These instructions are for CentOS and Fedora.

  • Login to your server by SSH with root access.
  • Run the following command:

# wget

  • Where is the source file you are downloading replace this with the proper and valid file name.
  • This will download the webmin’s latest version from sourceforge.
  • Now run the following command:
# rpm -ivh webmin-x.xxx0x.noarch.rpm
  • Where is the file name you just downloaded.
  • You will be asked to provide some information during the installation, just provide the info that will be asked.
  • And you are done!
  • Now you can login to your webmin panel with root username and password from the following url:
Note: Webmin uses 10000 port number, you can modify it later.
Your feedback are always welcome.

Difference between XEN and OpenVZ servers

In this article i will discuss the major difference between XEN Based VPS and OpenVZ VPS, well they both are powerful and reliable containers but they are different to some extent. Below is the major differences of XEN and OpenVZ:

XEN Server:

XEN, a para-virtualisation platform that gives you much of the dedicated server behavior. You run own instance of Linus Kernel, You can load your own kernel modules. You have properly virtualised memory, IO and scheduler and its stable and predictable. The cost of XEN servers is higher than OpenVZ and it is more reliable than OpenVZ.


OpenVZ Servers:

OpenVZ, an operating system level virtualisation system that is just a thin layer on top of the underlying OS. Has lower overhead, which usually translates to better performance. It is reliable and low cost platform that is best for starters, how ever resources are shared among the other virtual servers created on a dedicated machine.

Above are the short description of the major difference of XEN and OpenVZ platforms.

Your feedback are welcome here.

How to secure DNS server

In this quick tutorial i will discuss how to secure your DNS server (Bind9), by applying the following techniques you will be able to increase your DNS server’s security from the recursion lookups.

  • First of all you should know your two ip addresses of DNS server’s, to do so just open the file/etc/nameserverips there you will get two DNS ips.

# tail /etc/nameserverips

  • Now you would need to open /etc/named.conf

# nano /etc/named.conf

  • Look up for the line :

options {

  • Add the following lines above that:

acl “trusted” {

  • Where x.x.x.x and y.y.y.y are your DNS server’s ips.
  • Now look for the line:
  • // query-source address * port 53;
  • Below it , insert the following line :

version “Bind”;
allow-recursion { trusted; };
allow-notify { trusted; };
allow-transfer { trusted; }; Read More

Install Mod_Evasive on apache

In this tutorial i will describe how to install MOD_EVASIVE on a VPS or Dedicated Server, it offers protection against DDoS attacks on the server and is a apache module.


  • Login to your server through SSH with valid root details.
  • Run these commands:
# wget
# tar zxf mode_evasive-1.10.1.tar.gz
# cd mod_evasive
  • Then run following command for apache:
# > /usr/sbin/apxs -cia mod_evasive20.c
  • It will install the mod_evasive on the server.
  • Now you would need to edit httpd.conf file, to do so follow instructions:
  • Open the httpd.conf file in nano text editor
# nano /etc/httpd/conf/httpd.conf
  • And place the following lines into it:
<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10
And you are done, this will install and activate Mod_Evasive on the server.
Feedback are welcome 🙂