twista40
08-08-2001, 03:01 PM
Right now I have my HD set up with everything set under "/". I want to make my machine a web server, DHCP server, and a FTP server. From what I here, this setup isn't good. What would be a good configuration on my 4 gig HD?
optech
08-08-2001, 03:33 PM
for a web server, you'll want /var on a separate partition...
this will help defend against possible DoS attacks against your web server...
also, a /home partition is usually nice...
you can reinstall your system and keep your config settings and downloaded files...
don't create a /usr partition because with some setups, you'll need programs in /usr before linux gets to mount it. if you keep '/usr' in '/' then it will mount right away..
/boot partition is nice as well, as you can keep your kernels and configs in there...
for sizing: it really depends...
/boot - should be around 10-25 megs. (kernels are small and you shouldn't need too many of them)
/home - as big as you think you'll need. (you won't be installing things in here, but i keep my mp3's, downloaded files, pictures, config settings, source...
/var - i usually make this one about 300 megs although some people tell me that's too big... but i had a big website, so i needed at least 20 megs =)
/ - depending on your distro... if you have a smaller distro, or don't need many of the tools that come with it, then it shouldn't be that big... but for distro's like slack, debian, mandrake, redhat and the other bigger ones, then a gig or two should suffice.
there ya go...
just try different sizes or configs until you're satisfied with what you have