PDA

View Full Version : [all variants] paritioning for web-server


ShirishAg75
November 16th, 2008, 12:06 AM
Hi all,
Does anybody know what an ideal partitioning scheme be for a small multi-site home web server and if anything I need to remember about the same.

Philio
November 16th, 2008, 12:22 AM
The default really should be fine for this!
you might want to have a separate partition for your files in /home but not essential.

ShirishAg75
November 16th, 2008, 04:07 AM
The problem is what is the default?

For a desktop I usually do

/ - for everything else

/boot - for a separate boot partition

/home - for my stuff

swap - 1.5 times the memory .

Now for webserver I guess

/var - for one can put the files there . Isn't /var/www/ supposed to be where one puts files for the webserver

/var/log :- Where all the logs

So /var probably a separate partition and it should be big (I'm guessing)

The other things apart from apache would be ssh, ftp and dns which I would also need to configure right?

I know these are 2 different questions but wanna get a hang of what things are needed & what I need to do before-hand