Category: Apache

Apache, Cloud Linux, Control Panel, CPanel / WHM, DirectAdmin, Plesk

How to easily encrypt/decrypt a file in Linux with gpg

No matter what you’re doing on your computer, you need to do so with an eye to security — that means using strong passwords, storing files in safe locations, and in some cases encrypting files. Fortunately, for nearly every usage, there are tools to enable you to encrypt your data…from transferring data online to storing …

Apache, Cloud Linux, Control Panel, CPanel / WHM

How to fix 502 Bad Gateway | Cloudflare and Nginx [Engintron]

When you want to point cloudflare nameservers to your working website with engintron you will have a technical issue with linking cloudflare with engintron. Our technical support / server administrators at subwayhost worked to fix the issue after the request of many client’s to add cloudflare to our services. So we have gone directly and …

Apache, Control Panel, CPanel / WHM

ACME (acme.sh) Free SSL Certificate?

ACME (acme.sh) is a shell script for generating LetsEncrypt SSL certificate. acme.sh is written in bash, so it works on any Linux server without special requirements. For getting SSL, another popular option is to use certbot.https://github.com/acmesh-official/acme.shacme.sh list all SSL certificatesacme.sh SSL using manual DNS method To install, run cd /usr/local/src git clone https://github.com/acmesh-official/acme.sh.git cd ./acme.sh …

Apache, Control Panel, CPanel / WHM, DirectAdmin

acme.sh SSL using manual DNS method?

To provision SSL certificate using acme.sh with manual DNS verification method, run acme.sh –issue -d DOMAIN_NAME –dns -d www.DOMAIN_NAME –yes-I-know-dns-manual-mode-enough-go-ahead-please When you run this command, you will get DNS TXT entry that needed to be added to your DNS server. Login to your DNS provider, add the DNS entry, then run the following command to …

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