LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-19-2006, 05:59 AM   #1
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
LAMP server setup


I've used Slackware 10.0 and I'm currently using Slackware 10.1.

Both have default setups defining the location of both the database(s) and the webpages in /var.
I'm currently in the process of setting up a LAMP server and I'm wondering if the above setup is the way to go. Obviously people (who have a better understanding of servers than I have) have been thinking about this, but I still wonder.

I've read some howto's, but none of them seems to explain the reasoning behind a/the setup.
Logfiles (together with other stuff) usually end up in /var, possibly causing issues when they grow big or when the database or amount of uploaded files grow big. I see possible datacorruption or crashing applications coming with a setup like that.

Usually I don't bother to much about partitioning as I use old PCs with limited harddisk space. If possible, I will create a swap partition, a root partition and a home partition. Those machines are mostly used as desktops.

For this server, I'm trying to create a solid partitioning. Is it advisable to create a seperate partition and locate the databases and webpages there? Are there advantages in having a separate boot partion?
 
Old 04-20-2006, 02:48 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Thats' a very generic question if you don't provide more
detail about the hardware and the expected sizes of the site
and the database(s), and the potential growth of the lot.

In general it's a sensible thing to have logs on a separate
file-system (in case for instance /home would overflow) or
even (ideally) on a separate physical device, for performance
reasons. :}



Cheers,
Tink
 
Old 04-20-2006, 06:42 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Original Poster
Rep: Reputation: 282Reputation: 282Reputation: 282
It was the intention to be generic. Else I will ask questions related to the same subject every time (with minor differences).

boot-partition (any advantages in having that)
root-partition
server-partiton (both db and webpages)
home-partition

This will keep the data seperate from the system. Only question is the boot partition. Usefull or not?
 
Old 04-20-2006, 01:36 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
/boot

It was very sensible back in the day when lilo couldn't touch stuff
beyond cylinder 1023 .. these days those limitations have gone away
to the best of my knowledge.


Cheers,
Tink
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
LAMP setup on suse 10.0 Doug.Gentry Suse/Novell 4 01-03-2006 09:41 PM
Lamp Server kwickcut Mandriva 1 11-25-2005 10:02 PM
Trying to setup a LAMP using Fedora 3 c_ryan Linux - Newbie 5 05-19-2005 12:52 PM
server setup for lamp, taking 60M page views/month dtra Linux - General 2 02-28-2005 11:37 PM
Puresecure install with existing LAMP setup-- Possible? opioid Linux - Software 1 10-27-2004 11:21 AM


All times are GMT -5. The time now is 08:12 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration