CPanel / WHM, Installation, Security

How to install and uninstall DDoS Deflate on Linux server

How to install and uninstall DDoS Deflate on Linux server   DDoS Deflate (D)DoS Deflate is a lightweight bash shell script designed to assist in the process of blocking a denial of service attack. It utilizes the command below to create a list of IP addresses connected to the server, along with their total number of …

CPanel / WHM, Security

How to configure APF to prevent DDOS attack

How to configure APF to prevent DDOS attack Relatively new to APF is the new AntiDOS feature which can be found in: /etc/apf/ad The log file will be located at /var/log/apfados_log so you might want to make note of it and watch it! vi /etc/apf/ad/conf.antidos LP_KLOG=”1″ IPT_BL=”1″ USR_ALERT=”1″ USER = “root” ARIN_ALERT=”1″ There are various …

Apache, CPanel / WHM, Security

How to install mod_limitipconn on linux server

How to install mod_limitipconn on server To set per IP connections limit on  server we are using mod_limitipconn. This can be a very useful tool, as it could help in lowering the load on your server due to someone connecting too many times from the same IP.   To set the IP limit on the server using mod_security. …

Uncategorized

Command to check the reboot date and time on Linux server

Command to check the reboot date and time on Linux server [email protected] [/]# who -b system boot 2012-04-24 09:04 [email protected] [/]# last reboot | head -1 reboot system boot 2.6.18-308.1.1.e Tue Apr 24 09:04 (9+22:24) [email protected] [/]# [email protected] [/]# last -x|grep shutdown | head -1 shutdown system down 2.6.18-308.1.1.e Tue Apr 24 09:04 – 07:30 …

Uncategorized

How to check PERL module installed on the linux server

How to check PERL module installed on the linux server Run the below command to check Perl modules installed. [email protected] [~]# instmodsh It will show below output. [email protected] [~]# instmodsh Available commands are: l – List all installed modules m <module> – Select a module q – Quit the program cmd? l Installed modules are: …

CPanel / WHM, Security

How to install APF (Advanced Policy Firewall) firewall on Linux server

How to install APF (Advanced Policy Firewall) firewall on Linux server “Advanced Policy Firewall (APF) is an IPTables(Netfilter) based firewall system designed around the essential needs of today’s Linux servers. The configuration is designed to be very informative and easy to follow. The management on a day-to-day basis is conducted from the command line with …

Installation, Uncategorized

How to install qt-faststart FFmpeg plugin

How to install qt-faststart FFmpeg plugin Please note that ffmpeg is already installed on the server so I am compiling qt-faststart with ffmpeg only. Go to the below path cd /usr/local/src svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg If you are getting below timeout error message then please disable the firewall for installation. svn: Can’t connect to host ‘svn.ffmpeg.org’ : …

Apache, Uncategorized

How to add domain manually in Raw Linux Server

How to add domain in Raw Server First, add the user on server. useradd example Then go to the home folder and search the user. cd /home/ ls -ld example Then go to the user by giving the below command. cd example Create the public_html folder under that user. mkdir public_html Provide proper ownership and permission to public_html …

Uncategorized

Plesk Control Panel shows error after upgrade to version 10.0.1

Plesk Control Panel  error.   Plesk Control Panel shows error after upgrade to version 10.0.1 ERROR: Zend_Log_Exception “/usr/local/psa/admin/logs/panel.log” cannot be opened with mode “a” 0: Stream.php:66 Zend_Log_Writer_Stream->__construct(string ‘/usr/local/psa/admin/logs/panel.log’) 1: Abstract.php:84 CommonPanel_Application_Abstract->_initLog() 2: Abstract.php:31 CommonPanel_Application_Abstract->run() 3: Abstract.php:19 CommonPanel_Application_Abstract::init() 4: auth.php3:137 Run the below command to fix the above error. /usr/local/psa/bootstrapper/pp10.9.0-bootstrapper/bootstrapper.sh repair  

Apache, CPanel / WHM, Security

How to install mod_evasive on Linux server

How to install mod_evasive on Linux server Go to the below path. cd /usr/local/src Download the file using the below link: wget wget http://www.zdziarski.com/blog/wp-content/uploads/2010/02/mod_evasive_1.10.1.tar.gz Untar the file. tar xzf mod_evasive_1.10.1.tar.gz Go to the folder. cd mod_evasive Run the below command for the installation. apxs -cia mod_evasive20.c   You’ll then need to add the mod_evasive configuration …