Category: Apache

Apache, CPanel / WHM, Installation

How to: Install mod_pagespeed in cpanel

How to: Install mod_pagespeed in cpanel Login to the server via SSH Go to below folder cd /usr/local/src create directory mkdir mod_pagespeed Download pagespeed rpm wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-beta_current_i386.rpm Extract the rpm rpm2cpio mod-pagespeed-beta_current_i386.rpm | cpio -idmv Copy the modules to apache modules folder cp /usr/local/src/mod-pagespeed/usr/lib/httpd/modules/mod_pagespeed.so /usr/local/apache/modules/ cp /usr/local/src/mod-pagespeed/etc/httpd/conf.d/pagespeed.conf /usr/local/apache/conf/ Provide execute permission chmod 755 /usr/local/apache/modules/mod_pagespeed.so Create ...

Apache, Control Panel, Installation

How to install ioncube on direct admin server

How to install ioncube on direct admin server Go to the below path cd /usr/local/src Download the tar file using the below link wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz Extract that file using the below command. tar xvf ioncube_loaders_lin_x86-64.tar.gz Move the file mv ioncube /usr/local Open php.ini file. /usr/local/lib/php.ini Add the below link into it zend_extension = /usr/local/ioncube/ioncube_loader_lin_xxxx.so Restart apache /etc/init.d/httpd ...

Apache, Control Panel, Uncategorized

Site is working fine with apache but giving 403 error with litespeed

Site is working fine with apache but giving 403 error with litespeed ================================= Error 403: Forbidden You don't have permissions to access this page. This usually means one of the following: =================================== Go to the clients account for which you are getting the error message. Create a .htaccess file and enter the below lines into ...

Apache, CPanel / WHM, Installation, WHM Plugins

How to uninstall nginx from linux cpanel server

How to uninstall nginx from linux cpanel server Go to the path where you have downloaded the tar file on nginx. I have downloaded that file in the below path. cd /usr/local/src Go inside nginx folder cd publicnginx run the below command to unsinstall it. ./nginxinstaller uninstall  

Apache, CPanel / WHM, Installation

How to install nginx on cpanel server

How to install nginx on cpanel server Go to the below path cd /usr/local/src Download the nginx admin file. wget http://nginxcp.com/nginxadmin2.6-stable.tar Untar that file using below command tar -xvf nginxadmin2.6-stable.tar go to that folder cd publicnginx Install nginx using the below steps ./nginxinstaller install        

Apache, Control Panel, CPanel / WHM, Security

How to install mod security plugin in WHM

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 ...

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. ...

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 ...

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 ...