Category: Apache

Apache, CentOS/Rocky Linux, Cloud Linux, Control Panel, CPanel / WHM, DirectAdmin, Installation, MySql

How to set max_open_files in MariaDB / MySQL in CentOS 7

Set the system wide open file limit: vi /etc/security/limits.conf Change/Add the following: * soft nofile 1024000 * hard nofile 1024000 * soft nproc 10240 * hard nproc 10240 Now do this for /etc/sysctl vi /etc/sysctl Add the following fs.file-max = 1024000 Set the changes sysctl -w fs.file-max=1024000 sysctl -p # check changes cat /proc/sys/fs/file-max Set …

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 …