Page tree
Skip to end of metadata
Go to start of metadata

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.46

Overview

We recommend the following configuration choices when you install cPanel & WHM.

Recommended file system

When you install your operating system, we recommend that you use an ext filesystem (ext2ext3, or ext4).

Warning

If you use the ext4 filesystem, you must download and install the package mentioned in the Red Hat documentation.

Remember:

We only develop and test cPanel & WHM on file systems that support flock. Some network file systems (for example, NFS) may require additional configuration in order to function properly.

Recommended partitions 

Partition NameSize
/

Grow to fill disk (40 GB recommended, 20 GB minimum) 

Note

To host a greater number of accounts, allocate more disk space to this partition.
swapSee recommended swap space.

For some servers, additional partitions are beneficial. This is particularly true for servers with high email volume. The number of files that the operating system can access per partition is limited.

Note

Advanced partition information is available in our Pre-Installation Options documentation. 

iNodes

In Linux, an inode is a filesystem object that contains the owner, permissions, and other important metadata. Every file, image, directory, email, and symbolic link on your server requires an inode.

On average, files on webservers are usually smaller than on other types of servers. Therefore, we recommend that you allocate more than the default number of inodes on your server's partitions.

If you install everything on a single partition, the base cPanel installation requires at least 1,000,000 inodes, plus at least 50,000 inodes per cPanel account that you plan to host.

Recommended swap space

For CentOS 5

RAMMinimum swap space
4 GB or less2 GB
4 GB to 16 GB4 GB
16 GB to 64 GB8 GB
64 GB to 256 GB16 GB
256 GB to 512 GB32 GB

 

 

 

For CentOS 6

RAMMinimum swap space
2 GB or lessTwo times the amount of RAM on the server.
2 GB to 8 GBThe same as the amount of RAM on the server.
8 GB to 64 GBHalf the amount of RAM on the server.
64 GB or more4 GB