Hello all,
I am planning the configuration of a server that will run cPanel with the following specifications:
1 Pentium Dual Core Processor 3.0GHz
2 250GB SATA HDs (HW RAID 1)
2 GB Memory
I have three questions:
1) Because of the Pentium Dual Core chip, I can run a 64 bit OS, w/an SMP kernel. I currently have CentOS 4.3 x86_64 installed which runs fine. When I rebuild the server, I plan on using the same OS however, should I just install a minimal server and then install cPanel on top of that minimal install? By minimal, I mean selecting that option in the CentOS install which gives a minimum server installation. I want to keep this locked down as possible.
2) Does anyone have any recommendations for partitioning a 250GB disk? The example I found in the cPanel documentation is based on a small disk size. I will probably just partition 200GB of the drive, use LVM, and leave 50GB for future growth so that the filesystems can be increased online. I'd like to partition out /tmp at 1GB so that I can set noexec on it. Other than that, should it all go in / or is better to separate /var & /usr & /home. Anyone have a layout for a 200-250GB disk that has worked well after awhile in production?
3) The server has 2GB of memory, so was planning on a 4GB swap partition. However, is it necessary to grow the swap past 2GB on a server such as this?
Sorry for all of the questions. The server will be co-located soon and I'd like to get it configured correctly for the installation. Thanks for any help!
Regards,
Tom
I am planning the configuration of a server that will run cPanel with the following specifications:
1 Pentium Dual Core Processor 3.0GHz
2 250GB SATA HDs (HW RAID 1)
2 GB Memory
I have three questions:
1) Because of the Pentium Dual Core chip, I can run a 64 bit OS, w/an SMP kernel. I currently have CentOS 4.3 x86_64 installed which runs fine. When I rebuild the server, I plan on using the same OS however, should I just install a minimal server and then install cPanel on top of that minimal install? By minimal, I mean selecting that option in the CentOS install which gives a minimum server installation. I want to keep this locked down as possible.
2) Does anyone have any recommendations for partitioning a 250GB disk? The example I found in the cPanel documentation is based on a small disk size. I will probably just partition 200GB of the drive, use LVM, and leave 50GB for future growth so that the filesystems can be increased online. I'd like to partition out /tmp at 1GB so that I can set noexec on it. Other than that, should it all go in / or is better to separate /var & /usr & /home. Anyone have a layout for a 200-250GB disk that has worked well after awhile in production?
3) The server has 2GB of memory, so was planning on a 4GB swap partition. However, is it necessary to grow the swap past 2GB on a server such as this?
Sorry for all of the questions. The server will be co-located soon and I'd like to get it configured correctly for the installation. Thanks for any help!
Regards,
Tom