If you had a 17Gb hard drive to install Linux on how would you set it up? Purpose? Server: Apache w/PHP and MySQL <--- Developing food ordering system. Big. + Company wide intranet system Fileserver for at least 10 Power Users HTTP Proxy Server (Not yet decided, but the option is there) to serve at most 4 people It will be primary development machine. My proposal: /usr 2,500Mb /usr/local/httpd 1,000Mb /home 10,000Mb Disk Quota: Max 1Gb each (10 users). /boot 10Mb ;o) swap 64Mb / The rest Also what is LVM would I take full advantage of it in my situation? Kevin Jackson -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Wed, 05 Apr 2000, Kevin Jackson wrote:
If you had a 17Gb hard drive to install Linux on how would you set it up? Purpose?
Given a choice, I wouldn't put these purposes on fewer than four machines.
Server: Apache w/PHP and MySQL <--- Developing food ordering system. Big.
A fast processor with lots of memory and huge disk, extremely secure.
+ Company wide intranet system
which means what?
Fileserver for at least 10 Power Users
A fair amount of memory and a good size disk, quite secure, but a fast processor not required. Note, though, that if the fileserver and the database server are the same machine, the database engine can bring the system to a crawl and impair the performance of the file services enough to cause timeouts.
HTTP Proxy Server (Not yet decided, but the option is there) to serve at most 4 people
Somewhat high exposure to being hacked from outside the company
It will be primary development machine.
Extremely high risk of accidents involving data, code, and machine resources (e.g. a query that doesn't work the way the developer thought it would, and soaks 99% of the processor and all the RAM for half an hour; this would have an adverse effect on the performance of the database behind your production system...). Keep this function (along with the database the developers test with) away from your production database server. Also don't let the stuff under development run on your file server, for similar reasons. (I know the previous paragraph is true because I've DONE all those nasty things in the last year.)
My proposal: /usr 2,500Mb /usr/local/httpd 1,000Mb /home 10,000Mb Disk Quota: Max 1Gb each (10 users). /boot 10Mb ;o) swap 64Mb / The rest
If I remember correctly, we've discussed your situation before and you won't be able to get two machines. Do you have some old Pentium/200s that are about to go out the door? See if you can intercept a few. Put the proxy server on one. Spring $200 for another 17-gig drive and $100 for some memory, and put the file server on another. That will at least simplify things a bit. Now, let's assume you can't do that. You HAVE to put all these functions in this space. First, how big is your database going to be? You need two or three copies of it: one for production, one for development, and perhaps one for quality assurance testing. Carve out space for that. I doubt that you'll need 2.5 gig for /usr, or a full gig for your web site, if it uses PHP or something to run queries against the database. This is of course assuming that you aren't storing the databases in that area. You may have to cut down the space you're allocating for file services.
Also what is LVM would I take full advantage of it in my situation?
Logical volumes have a variety of uses. However, none that I would recommend you look at in this case (at least, none that occur to me). However, I'm going to suggest that you store all tables with "permanent" data in a journalling file system such as ReiserFS, and - if you can get MySQL to go along with this - the temporary work space in the highest performance environment you can manage, which may be RAM and swap space or may be a partition with no file system at all. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (2)
-
kevin.jackson@jhallpr.demon.co.uk
-
warrl@blarg.net