Home » Cpanel/WHM

Cpanel/WHM

Basic Linux Commands (Cheat Sheet)

Here are many common Linux commands that will be helpful to you, if you ever even use the command line interface in Linux. Most average users just use the graphical user interface instead which usually has many tools and front-ends to Linux common commands. This Linux tutorial on command commands will help even the average user in case X server …

Read More »

WHM/Cpanel Increase The Size Of /tmp (/usr/tmpDSK) Partition

You may have noticed that cPanel’s default partition size for /tmp is 512 MB, which in some cases can be way too small. And sometime you probably get this report email: Drive Critical: /usr/tmpDSK (/tmp) is 100% full Although cPanel automatically deletes the unused files, the /tmp would be getting full very quickly on a busy server. The /tmp partition …

Read More »

Install nginx as reverse proxy in cPanel

The web-hosting control panel’s default web-server is Apache. cPanel/WHM doesn’t have native support on Nginx, but we can install and configure it so that it will improve the server performance. Why run Apache and Nginx together? Is there any advantage by using Nginx as reverse proxy on Cpanel? Both Apache and Nginx are powerful and effective web-servers. Apache is the topmost webserver …

Read More »

List of cPanel Default Open Ports

This is a listing of all default open ports in cPanel server. You must open all of these ports in your server firewall to run the cPanel perfectly. These default ports are configured as opened in the firewall like CSF for a cPanel server. 20 FTP 21 FTP 22 SSH 37 rdate 25 SMTP 26 SMTP 110 POP3 143 IMAP4 465 SMTP TLS/SSL …

Read More »

PHPMyAdmin – Unable to establish a PHP session

PHPMyAdmin error Have you ever come across the following error when you access PHPMyAdmin from cPanel. Access Denied Unable to establish a PHP session. If you believe that this is in error or inadvertent, contact your system administrator and ask them to review your server settings. Normally, you will get this error when the permission or ownership of the tmp folder …

Read More »

Install Rkhunter

Overview rkhunter (Rootkit Hunter) is a Unix-based tool that scans for rootkits, backdoors and possible local exploits. It does this by comparing SHA-1 hashes of important files with known good ones in online database, searching for default directories (of rootkits), wrong permissions, hidden files, suspicious strings in kernel modules, and special tests for Linux and FreeBSD. Instructions 1. Log into your …

Read More »

Install Memcache onto cPanel running CentOS

Memcached is a service that allows entire database tables to be stored in memory, drastically speeding up queries to those tables and alleviating database load. In WordPress and W3 Total Cache, the Memcached module allows you to store all cache tables in memory. This guide can be used to set up Memcached on CentOS. Install memcached through RPM The easiest way to install …

Read More »