LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-10-2007, 03:29 PM   #1
marknoten
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Rep: Reputation: 0
Directory structure for services


Hi all,

I would like to use a different partition for the data of the Apache server, Subversion repositories, FTP server and PostgreSQL database. Can anyone guide me in the directory structure that I should use for each partition? Are there any conventions? I'm thinking about:

/repos -> Subversion repositories
/var/www -> Apache installation with /var/www/html document root
/var/ftp -> FTP server
??? -> PostgreSQL database

How difficult is it with Ubuntu server to install these extra partitions? I would also like to move /usr, /opt and /var to a separate partition.

Kind regards,

Mark
 
Old 12-10-2007, 04:23 PM   #2
dafyre
LQ Newbie
 
Registered: Jan 2003
Location: Dublin, GA
Distribution: Mandrake 9 @ the moment.
Posts: 4

Rep: Reputation: 0
Re: Directory Structure for Services

Quote:
/repos -> Subversion repositories
/var/www -> Apache installation with /var/www/html document root
/var/ftp -> FTP server
??? -> PostgreSQL database

How difficult is it with Ubuntu server to install these extra partitions? I would also like to move /usr, /opt and /var to a separate partition
Hey Mark:

Do you have another disk drive available, or are you wanting to repartition the drive you have now?

There are tools for Linux that will let you repartition the drive, even after you've installed your OS. GParted is one I can remember (it's a gui version of qparted, I think, and it runs under gnome). Careful with this one, as I don't remember if it's destructive or not!

Make sure when you repartition the drives that you have a good backup, just in case! And make sure that you give each partition more space than it requires. That's just my 2c worth. Hope it helps!

See Ya!
~Brant
 
  


Reply


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
LXer: Directory services made easy with Fedora Directory Server LXer Syndicated Linux News 0 12-08-2006 03:54 AM
Directory Structure fedix Linux - Newbie 3 10-14-2005 02:48 PM
"WARNING: Circular directory structure" error when deleting directory pistonbrew Linux - Software 5 02-03-2005 06:05 AM
directory structure alaios Linux From Scratch 4 04-20-2004 06:16 PM
directory structure sluggo Linux - Newbie 1 01-20-2002 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:57 AM.

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