Category: Control Panel

Cloud Linux, Control Panel, CPanel / WHM

Exclude ai1wm-backup folder from Softaculous backups

For WordPress websites that use both Softaculous backups and AllInOne Migration plugin backups, Softaculous backups include the .wpress files created by the ai1wm plugin and therefore this will significantly increase the size of Softaculous backup files. To exclude ai1wm-backup folder from Softaculous backups SSH into your server and navigate to the following path: For cPanel /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooksCopy For Direct …

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 …

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 …