Category: Cloud Linux

Cloud Linux, Control Panel

CL PHPSelector – Allow per user php.ini changes

PHP Selector is a CloudLinux component integrated on top of CageFS.It allows each user to select a unique PHP version and modules based the user’s needs. PHP Selector requires an active account and CageFS to be enabled. A cPanel user is allowed to change php.ini settings from his cPanel GUI. However the changes are limited to what …

Cloud Linux, CPanel / WHM

Allow a cPanel server to run a VHOST from multiple IP addresses

Every once in a while a hosting provider has to change an IP address for a single user or even an entire server on the fly. If you’ll try do this the usual way, by changing the IP address in WHM you can expect downtime ranging from several minutes to several hours until the DNS cache is …

CentOS/Rocky Linux, Cloud Linux, Control Panel, CPanel / WHM

How to install and configure Flask on a Linux shared hosting account

Flask is a Python-based framework that enables you to quickly and easily create web applications. This article demonstrates how to install Flask and configure it on a Linux shared hosting account that uses cPanel. After completing the following procedures, you will have a functioning Flask application on your account that displays a simple web page. Step 1: …

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 …