 |
 |
Running a Mac mini as a webserver
|
 |
|
 |
|
Grizzled Veteran
Join Date: Jun 2002
Status:
Offline
|
|
I've tried searching the forums for something similar, but the search just keeps getting timed out.
Firstly, my idea is to buy a Mac mini, probably the base model with 512mb ram, and co-locate it as a server. I'd strip down all of OS X (get rid of Spotlight, Dashboard etc.) and run lighttpd as the webserver. I'm basically wondering how many people I would be able to hold simultaneously. The sites won't be receiving tons of hits, the sites hits range from like 10 hits to 5000 hits a day, so its pretty varied. Ideally, I'd love to be able to hold 6-7 sites simultaneously, but I'm not sure if this is possible with with the mini.
Thanks,
Oliver
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Mar 2003
Status:
Offline
|
|
You can handle 5000 hits per day on that setup easy, esp if all you are doing is serving up static HTML pages and the hits aren't concentrated over a very short period of time. You could even host some PHP and MySQL without breaking much of a sweat.
If you are running mission critical sites on there, I'd say forget it. I'd probably go with a cheap Dell running Fedora Core, as you will get much more for your money. However, I can understand from an ease of use perspective why some may want try the OS X/mini route.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2004
Status:
Offline
|
|
Hi there,
I would recommend using Apache, instead of lighttpd, mainly because that is what I'm comfortable with.
Running `ab' which is the Apache HTTP Server benchmarking tool, my Mac Mini (1.42Ghz, with stock 256MB ram), posts from 800-1000 requests per second with a 1.7Kb file. The Mini would be a perfect webserver for what you are trying to do.
-Eric
|
|
Mini w/ 1.42Ghz, Tiger | Powerbook 867Mhz, 12" rev a., Tiger | Powermac Digital Audio, Dual 533, Panther
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Mar 2005
Location: Calgary Canada
Status:
Offline
|
|
Apache is a good choice and OSX has it installed already.
When you install OSX (at least Tiger I know) under your user directory exist a folder called "site" which contains 1 html file. load it and you'll get insttuctions on how to use the apple Apache to create your own webservice.
|
|
"The direct use of force is such a poor solution to any problem, it is generally employed only by small children and large nations". --David Friedman
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Mar 2005
Location: Calgary Canada
Status:
Offline
|
|
Apache is a good choice and OSX has it installed already.
When you install OSX (at least Tiger I know) under your user directory exist a folder called "site" which contains 1 html file. load it and you'll get instuctions on how to use Apache to create your own webservice.
Note: you may want to upgrade the ram... not sure, but I would.
|
|
"The direct use of force is such a poor solution to any problem, it is generally employed only by small children and large nations". --David Friedman
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2004
Status:
Offline
|
|
The memory I had set aside to install in my Mini turned out to not work in it, and just haven't gotten around to buying something new.
-Eric
|
|
Mini w/ 1.42Ghz, Tiger | Powerbook 867Mhz, 12" rev a., Tiger | Powermac Digital Audio, Dual 533, Panther
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jun 2005
Location: Yamanashi, Japan
Status:
Offline
|
|
Wouldn't it be cheaper and easier to buy a Blue and White G3 or an old G4 as a webserver? Plus it would have PCI slots.
Works fine for me.
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: May 2001
Location: Portland, OR
Status:
Offline
|
|
Originally Posted by iOliverC
I've tried searching the forums for something similar, but the search just keeps getting timed out.
Firstly, my idea is to buy a Mac mini, probably the base model with 512mb ram, and co-locate it as a server. I'd strip down all of OS X (get rid of Spotlight, Dashboard etc.) and run lighttpd as the webserver. I'm basically wondering how many people I would be able to hold simultaneously. The sites won't be receiving tons of hits, the sites hits range from like 10 hits to 5000 hits a day, so its pretty varied. Ideally, I'd love to be able to hold 6-7 sites simultaneously, but I'm not sure if this is possible with with the mini.
Thanks,
Oliver
Why would you strip it down? We run a full feldged OS X Server install on 256 MB of RAM on ours and it handles just fine. You could handle 5000 hits easy. The only thing limiting on it is the slow hard drive, so no hosting huge file downloads.
Of course we plan to up it to a gig of RAM in a few weeks.
|
|
8 Core 2.8 ghz Mac Pro/GF8800/2 23" Cinema Displays, 3.06 ghz Macbook Pro
Once you wanted revolution, now you're the institution, how's it feel to be the man?
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum 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
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|