Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Debian Linux Help > Debian Web Server - Partition Sizes

Forgot Password?
 Debian Linux Help   Discussions related to Debian GNU/Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 2 Weeks Ago   #1 (permalink)
Just Joined!
 
Join Date: Nov 2009
Location: Cincinnati, OH
Posts: 1
Debian Web Server - Partition Sizes

Looks like we have decided on Debian to act as our OS for a new web server. We are going to be hosting a few sites, nothing major, purely informational and possibly some pod-casting and embedded video.

We have three 146Gb drives that we are RAIDing together and should give us about 300Gb of space to use for the OS and all the other data. I am curious and would like recommendations on how to partition or allocate the space on the HDD.

I am a bit new to Linux and am under the assumption that I need the following partitions:

/
/swap
/var
/usr
/boot
/home

If my assumption is correct, what are some recommended guidelines, as far as space is concerned, for partitioning the drive? Also, are there any other partitions needed?

Thanks in advance!
wtm
westexasman is offline  


Reply With Quote
Old 2 Weeks Ago   #2 (permalink)
Just Joined!
 
chris81's Avatar
 
Join Date: Jan 2009
Posts: 62
Hi

By definition,

/ is required and it is used to recover / restore a broken system;
swap is required and it is used in case where there's not enough physical memory;
/var holds the configuration files for the installed software;
/usr is the place where you install your softwares;
/boot is required and holds the files required to boot the system;
/home is the place where your users keep their files, such as an adress book, pictures and so on.

Technically, all you need is /, /boot and swap. For more informations on partitons, refer to the following link :

Filesystem Hierarchy Standard

Hope it helped.
chris81
chris81 is offline   Reply With Quote
Old 1 Week Ago   #3 (permalink)
Linux Newbie
 
the bassinvader's Avatar
 
Join Date: Jun 2006
Location: Europe
Posts: 170
Hi westexasman

I'm afraid your question is a little open-ended becaue it really relies on your particular setup and requirements. THe truth is you needn't do anything particularly fancy with your installation/partitioning, there is no rule book that says linux needs this and this and this etc, although I'm sure you already know this.
Personally I like to keep the root partition nice and tight. I don't accumulate software and like to keep everything clean and tidy so for me 6 Gig is loads. For my personal systems I have a seperate partition which accounts for the rest of the disk. This is just s store which I mount inside my home directory. I do this because its just convenient for a dual/multi boot.

Really you need to take a look at what exactly you need to do with your new system. If you have no special requirements you needn't have any special partitions.

If I were in your place I would probably put aside two partitions both around the 6 Gig size and use the rest as a partition purely for your webpage data. Which I would mount to the necessary folder (I'm afraid I forget the path apache uses). On th e two 6 gig partitions I'd basically install the same OS, one to act as backup in case a serious problem arises with the other (which has happened to me in the past). That way its just a quick reboot to regain functionality whilst you look over the logs etc from the primary OS.

Hope this was useful
__________________
" I didn't know it was a picture of his wife! I thought it was a publicity shot form Planet Of the Apes."
the bassinvader is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 08:58 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2