Web Hosting Talk







View Full Version : Partitioning a Webserver in RH 7.2 ?


Cephren
06-27-2002, 01:32 PM
What do you guys recommend as the sizes for the parition if it is planned as a normal apache webserver.
The server will host just 1 website.

Lets say I have 70 GBs to play around with.

Should the /usr or /home be the largest partition?

ToastyX
06-27-2002, 02:06 PM
/boot - 8 MB
/ - Rest

I might be crazy, but if the server will only host one web site, then why worry about partitioning it into a hundred partitions? :)

apollo
07-06-2002, 03:31 PM
while one partition is the easiest way to go, it is not always the best solution.

Having a seperate directory for apache will offer you the following benefits:

-protection against log partition filling with DoS attack (this sounds maybe a bit silly, but there are some hackers that still use this type of attack that usually brings down the whole system due to 0 free space on the hdd partition).

admin0
07-07-2002, 04:56 AM
ideal partitions for years of operation:

no worries of space being filled !!


/dev/hda1 / 4GB
/dev/hda2 swap 2GB
/dev/hda3 /usr 8GB
/dev/hda4 extended
/dev/hda5 /var 4GB
/dev/hda6 /tmp 2GB
/dev/hda7 /home REST of SPACE around 50gb.


since, for just 1 website, you can add another

/dev/hda8 /backup -- 25 gb [reduce /home to 25gb]

thus, you got a great system for years of operation with a backup too -- :o :blush:

3 years already that I have stopped using /boot in a seperate partition.. no worries !!
If you are the one who cannot sleep without a seperate /boot, not more than 16MB

:homer: