Archive

Archive for May, 2012

How to install clamd and clamscan on linux server

May 27th, 2012 Comments off

How to install clamd and clamscan on linux server

First check the redhat release and os architecture.

cat /etc/redhat-release

architecture check

uname -i

As per you system requirement download the rpm package and install it on the server.

http://dag.wieers.com/rpm/FAQ.php#B

Once done, then run

yum install clamv clamd clamv-devel

 

How to install mod security plugin in WHM

May 27th, 2012 Comments off

How to install mod security plugin in WHM

Go to the below path.

cd /usr/local/src

Download the below file.

wget http://www.configserver.com/free/cmc.tgz

Extract that file.

tar -xzf cmc.tgz

Go into that folder.

cd cmc

Run the file using the below command.

sh install.sh

Once done, then access the mod security using WHM.

 

How to uninstall mod security plugin from WHM server

Run the below commands to uninstall mod security plugin from WHM server.

rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmc.cgi

rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cmcversion.txt

rm -Rfv /usr/local/cpanel/whostmgr/docroot/cgi/cmc/

 

 

Categories: Apache, Control Panel, CPanel / WHM, Security Tags:

How to install litespeed on Linux Server

May 27th, 2012 Comments off

How to install litespeed on linux server

Run the following commands from ssh as root

cd /usr/src; curl http://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh | sh

Once done than login to the WHM
Search litespeed and click on it.
Complete all the process and enable suexec.
Compile PHP with server PHP "Build matching PHP Binary"
Then swith to litespeed by starting litespeed service.

Configure litespeed so that it will work properly.

Login to WHM.

Search litespeed in WHM and click on admin console of litespeed.

Then go to Configuration >> General >> Index Files >> Edit. Insert the below lines and made the changes and click on save.

Index Files: index.html, index.php, index.php5, index.htm

Auto Index: Yes

Auto Index URI => /_autoindex/default.php

Then go to the server via SSH and run the below command on server.

 ln -sf /usr/local/lib/php/autoindex /usr/local/lsws/share/autoindex

At the end go to below path and set

Configuration >> Log >> Server Log >> Edit

Log Level: Info

Debug Level: None

Once done, Now click on Actions and  Graceful Restart light speed to make these changes permanent.

 

How to uninstall litespeed from Linux cpanel server.

/usr/local/cpanel/whostmgr/docroot/cgi/lsws/lsws_whm_plugin_uninstall.sh


			
Categories: CPanel / WHM, Installation Tags:

How to install DirectAdmin on Linux Server

May 27th, 2012 Comments off

How to install DirectAdmin on Linux Server

Go to the below path.

cd /usr/local/src

Download the setup file using the below command.

wget http://www.directadmin.com/setup.sh

If permission is incorrect then provide 755 permission to that file.

chmod 755 setup.sh

Run the setup using the below command.

./setup.sh

 

How to install Brute Force Detection (BFD) on linux server

May 10th, 2012 Comments off

How to install Brute Force Detection (BFD) on linux server

 

Brute Force Detection

Brute Force Detection is a Free tool that can be used of avoiding brute force attacks over your web hosting UK servers. The main intention of this attack is to gain SSH/Root access to the server by making use of an algorithm which is capable of running different permutations and combinations to guess the password.

The Brute Force detection is capable of detecting such attempts and hence avoiding the attacker from growing into brute force attack.

 

Steps to Install BFD (Brute Force Detection)

Before proceeding with the installation of BFD, you are required to install an APF Firewall on the server. This is because, BFD operates in affiliation with the APF firewall, hence offering an enhanced server security. Having done that, you must follow the below steps for installing BFD over the server :

 Installation

SSH into your hosting server as root

Go to the below folder

cd /usr/local/src

Using the below command, you can download BFD:

wget http://www.rfxnetworks.com/downloads/bfd-current.tar.gz

Extract the files onto the server and make changes to the new directory:

tar -xvzf bfd-current.tar.gz
cd bfd-1.4

Using the below command you must run the installation file:

./install.sh

You should be able to see a similar message as shown below :

: BFD installed
Install path: /usr/local/bfd
Config path: /usr/local/bfd/conf.bfd
Executable path: /usr/local/sbin/bfd

You can configure it as per your requirement and then fire the below command.

/usr/local/sbin/bfd -s

 

Categories: CPanel / WHM, Installation, Security Tags:
%d bloggers like this: