Operating Systems & Control Panels

How can we help?

Guides and technical documentation for your Server4You dedicated server or VPS.

cPanel Logo

Install cPanel manually

This guide shows how to install cPanel & WHM manually on a fresh AlmaLinux server using the official installer. It also explains how to fix incorrect disk quota reporting in cPanel.

Recommended method: The easiest way to get started is using our OS templates. Select cPanel directly in your PowerPanel during the installation.

1

Manual cPanel Installation

Install cPanel on a freshly installed, minimal OS (e.g., AlmaLinux). Do not run this on a server with existing data or services.

Installation Commands
cd /home curl -o latest -L https://securedownloads.cpanel.net/latest sh latest
2

Fixing Disk Quota Issues

Follow these steps as root to repair the quota system if disk usage is displayed incorrectly in cPanel.

Step 1: Run the cPanel quota script

cPanel provides its own script that checks the quota configuration and repairs it – for ext4 as well as for XFS, the default file system on AlmaLinux:

Fix quotas
/usr/local/cpanel/scripts/fixquotas

Step 2: Reboot

On XFS, quotas can only be activated when the file system is mounted. If the script adjusted the mount or boot options, reboot the server:

Reboot
reboot

Step 3: Check the result

After the reboot, check that quotas are active and disk usage is reported:

Check quotas
repquota -a | head

Need more help?

Check the official cPanel documentation or contact our 24/7 support via the PowerPanel.