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…
Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog
CloudLinux is a lightweight, popular and powerful Linux distribution for servers and workstations running the Cpanel control
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…
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…
Pre migration steps (DNS) rsync -avHl /var/named/ /home/named.backup/ sed -i -e "s/14400/600/" /var/named/*.db newserial=$(date +%Y%m%d%H) sed -i -e "s/\{10\}/$newserial/" /var/named/*.db rndc reload For customers with a large number of domains…
cgroups allow for system resources to be limited for certain user’s processes, which are defined in configuration files. This is useful e.g. if you wish to limit a compiler’s maximum…
To maximize the end-to-end performance of services, applications and databases on a server, system administrators usually carry out custom performance tunning, using various tools, both generic operating system tools as…
On a Cpanel Server, when you visit a shared IP address used by multiple websites, you will see the website of the first VirtualHost entry. This is not good when…
PHP ssh2 module allows you to connect to SSH servers. On Cpanel servers, this module is not available under EasyApache. You need to install using PECL. The PECL module installer…
To enable jailed shell or SSH access to CPanel user. You can run below command. chsh -s /usr/local/cpanel/bin/jailshell username Kindly replace username with CPanel username. It will show output like…