The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Custom partitions with cPanel CentOS ISO?

Discussion in 'General Discussion' started by shenzy, May 19, 2014.

  1. shenzy

    shenzy Well-Known Member

    Joined:
    Apr 27, 2008
    Messages:
    66
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Hello,
    I download the Centos Cpanel iso, but the install is "very" automatic, and I want use specifics partitions.
    Is there any way to make that step (partitioning) manually?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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

    Code:
    df -h
     
  3. shenzy

    shenzy Well-Known Member

    Joined:
    Apr 27, 2008
    Messages:
    66
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    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?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,766
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Re: Custom partitions with Canel 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.
     
  5. shenzy

    shenzy Well-Known Member

    Joined:
    Apr 27, 2008
    Messages:
    66
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Re: Custom partitions with Canel Centos ISO?

    Thanks Michael!
    I'll do it the way you indicate.
     
  6. StelarBlack

    StelarBlack Member

    Joined:
    Dec 7, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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.
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,466
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    #7 Infopro, Dec 7, 2014
    Last edited: Oct 6, 2015
  8. StelarBlack

    StelarBlack Member

    Joined:
    Dec 7, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    @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.
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,766
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  10. Telematica_at

    Telematica_at Member

    Joined:
    Oct 6, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austria
    cPanel Access Level:
    Root Administrator
    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?
     
  11. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,466
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  12. Telematica_at

    Telematica_at Member

    Joined:
    Oct 6, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austria
    cPanel Access Level:
    Root Administrator
    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?
     
    #12 Telematica_at, Oct 7, 2015
    Last edited by a moderator: Oct 7, 2015
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,766
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, this partition scheme is better because you won't encounter issues with /var reaching it's disk space limit.

    Thank you.
     
Loading...

Share This Page