cPanel Logo

Install cPanel manually

This guide covers the initial installation of cPanel on a fresh server and provides a clear, step-by-step procedure for fixing disk quota reporting issues.

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 wget http://layer1.cpanel.net/latest sh ./latest
2

Fixing Disk Quota Issues

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

Step 1: Update fstab

Ensure /etc/fstab includes these standard options for your main partition:

/etc/fstab
defaults,usrquota,grpquota

Step 2: Reset Quota Files

Disable the system and remove old files:

Cleanup
quotaoff -a rm -f /aquota.user /aquota.group

Step 3: Rebuild & Restart

Generate new files and reboot:

Rebuild
quotacheck -avum reboot

Need more help?

Check the official documentation or contact support via the PowerPanel.