Skip to main content

Custom partitions with cPanel CentOS ISO?

Comments

12 comments

  • 24x7server
    Re: Custom partitions with Canel Centos ISO? Which partitions you want to setup on your server ? Also let me know following command out of your server df -h
    0
  • shenzy
    Re: Custom partitions with Canel Centos ISO? Hello, my last server was installed with a centos minimal iso, and cpanel install via line command (wget).. and this partitions: (Server with 2 Disk of 1TB in Raid 1 (sda) and other Disk of 1TB for Backups (sdb), with a HP Smart Array P420/1GB controller) Filesystem Size Used Avail Use% Mounted on /dev/sda2 296G 25G 256G 9% / tmpfs 7,8G 0 7,8G 0% /dev/shm /dev/sda1 339M 52M 271M 16% /boot /dev/sdb1 917G 388G 484G 45% /hdd2 /dev/sda6 610G 211G 369G 37% /home /dev/sda5 4,0G 145M 3,6G 4% /tmp This server works fine, and the new server is identical. "Will there be any benefit to using the ISO downloaded from cpanel, compared to using the Minimal Centos ISO?
    0
  • cPanelMichael
    Re: Custom partitions with Canel Centos ISO? [quote="shenzy, post: 1647921">Will there be any benefit to using the ISO downloaded from cpanel, compared to using the Minimal Centos ISO?
    I recommend installing CentOS manually and configuring your advanced partition scheme. You can then install cPanel using the instructions at: cPanel - Installation Guide Thank you.
    0
  • shenzy
    Re: Custom partitions with Canel Centos ISO? [quote="cPanelMichael, post: 1648132">I recommend installing CentOS manually and configuring your advanced partition scheme. You can then install cPanel using the instructions at: cPanel - Installation Guide Thank you.
    Thanks Michael! I'll do it the way you indicate.
    0
  • StelarBlack
    Hi, What is so called best practice with partitioning hard disk for cPanel/WHM CentOS instalations? Only two partitions swap and / (ext3), or should I create additional partitions for /boot, /tmp and /var? What about LVM, if I decide to add more disk space later? Thanks in advance.
    0
  • Infopro
    Have you looked at the docs cPanelMichael posted just above you? After reviewing that you might be interested in reviewing these docs as well:
    0
  • StelarBlack
    @Infopro, thank you, I have studied all of installation guides, but I 've seen many partition layouts, so I am a little bit confused, especially in installing cPanel/WHM on virtual host, where LVM is must, if you host many VPS.
    0
  • cPanelMichael
    I suggest using the recommended partition scheme if possible:
    0
  • Telematica_at
    Hello, I also want to know something about the current recommended partition setup, but the links don't work anymore. I want to do a clean 11.52 install on a VMWare VPS with CentOS 7 and upgrade it then to CloudLinux. It should be a new reselling Setup. I was thinking about this partition scheme: 1x SWAP = 4 GB 1x OS / = 20 GB 1x SQL /var = 10GB 1x Userdata /home = 10 GB is this best practice to be flexible to extend with LVM if i need more diskspace? Or just do it like this way: 1x SWAP = 4 GB 1x OS / = 40GB+ I was thinking about to exclude the SQL /var to a dedicated partition that I can create a standalone vps for sql. or is this not best practice? better to keep all in one place?
    0
  • Infopro
    I have updated the links in this thread.
    0
  • Telematica_at
    Hello, thanks but there is just a notice: For some servers, additional partitions are beneficial. This is particularly true for servers with high email volume. The OS can only access a limited number of files per partition. so when is it beneficial by VPS setups? thanks. My thinking is the following: 1x SWAP = 4 GB 1x OS = 20 GB 1x Userdata /home = 10 GB (growing if i need more space) I think if I do the userdata folder /home on a dedicated partition, I would be more flexible, or not?
    0
  • cPanelMichael
    Or just do it like this way: 1x SWAP = 4 GB 1x OS / = 40GB+

    Yes, this partition scheme is better because you won't encounter issues with /var reaching it's disk space limit. Thank you.
    0

Please sign in to leave a comment.