Category: CentOS/Rocky Linux

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 …

CentOS/Rocky Linux

How to Install LXC to Create Linux Containers on RHEL/CentOS/Rocky Linux

In this article, I will take you through the steps to install LXC (Linux containers) on RHEL/CentOS/Rocky Linux but before that let’s understand the first LXD. It is a free and open source next-generation system container and virtual machine manager. LXD provides a template that contains images of almost all the major Linux distributions. These …