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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-19-2006, 05:59 AM
|
#1
|
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,780
|
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?
|
|
|
|
04-20-2006, 02:48 AM
|
#2
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,916
|
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
|
|
|
|
04-20-2006, 06:42 AM
|
#3
|
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,780
Original Poster
|
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?
|
|
|
|
04-20-2006, 01:36 PM
|
#4
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,916
|
/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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:26 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|