Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-06-2004, 03:04 AM   #1
LQ Newbie
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
Disk partioning - web server

Hello people,

Looking for advice on partitioning.

I have a 200 MHz Pentium MMX with 64 Meg of memory, and a 30 gig hard disk. I have successfully installed Slackware, and had it running using the kde environment. Not too bad, about the same performance as when it was running windows 2000. My eventual plan is to run it as an apache web server for our family photo album (hidden agenda is to gain experience with Linux, so I don't mind re-installing as necessary).

I just discovered a 1.7 gig hard disk that I had removed a number of years ago, and want to install it to improve performance. Was reading on a site that configuring a swap partition on a second drive would improve swap performance.

My question is: What would you recommend as a partitioning scheme given the above hardware configuration and the machine will eventually run only apache? (X will be installed, but not started unless I am doing some work on it - I expect that this machine will mostly handle an EXTREMELY light web server role.)



Note: this is a follow up from an earlier thread that I started - "Linux and Apache on a low end machine" - Still working on it - making progress!
Old 03-06-2004, 03:55 AM   #2
Registered: Jun 2003
Location: Brussels, Belgium
Distribution: Ubuntu 6.10
Posts: 139

Rep: Reputation: 15
I have also 2 disks on my PC.
I installed the /swap partition on one disk while the rest is installed on the other one. These disks are not physically on the same 'cable' (master - slave).
I decided by 'myself' and I am unfortunately not sure it is the best configuration.
Anyway if this triggers points for discussion .... you are welcome.
Old 03-06-2004, 04:20 AM   #3
LQ Newbie
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks Vincent,

This helps. This is exactly what I was thinking of doing for the /swap partition, but I was not sure if it would work. One of the articles I read suggested that there be at least one /swap partition on boot disk.

I have the same master/slave setup that you do, but I may be moving the second disk to its own channel. (got the cd-rom there now)

I am very interested in peoples ideas on how best to partition a system based on what the application will be.

For instance, for my web server application I was thinking of the following:
On the main drive:
/ - 4GB
/home - 8GB
/usr - 2 GB
/WWW - 16GB

On the small drive
/swap - 1GB
/tmp -700MB

Comments r welcome




Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 11:30 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 07:21 AM
adding more web servers to make web server farm linuxboy69 Linux - Networking 5 07-09-2004 10:50 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 01:03 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 03:38 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration