Recommendations for Linux partitions for web server?

Dec 30, 2000
91
0
0
I would like to set up a web server as a fun project. I am installing Project Fedora on hda: 20gb and hdb: 20 gb.

I am going with the following partitions:

/boot 100mb
/swap 512mb
/ ????

Do I need to create a partition for Apache? If so would that be a /home or /usr, or does Apache install into root?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
I like seperate /var and /tmp directories. Most of the systems I see put html files in /var.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Debian defaults to setting the Debian DocumentRoot to /var/www but it's not hard to change so putting the data in /home or /var is entirely up to you. I have no idea how Fedora's Apache packages set it up by default. If people other than you are going to have access to this system I would seperate /var, /home and /tmp so that they can't fill up the root filesystem, but I've had / fill up on me and it's not like the whole system dies.