Turn Your Old Mac into a Website Server with Free Open Source Software
- 2008.07.02 - Tip Jar
Popularity: ![]()
![]()
![]()
Low End Mac Reader Specials
Memory To Go Special: MacPro 8 Core Memory 4GB kit $154 / 2GB kit $94, New 2008 iMac 2GB $46. MacBook Pro / MacMini / iMac Intel Core2 DUO 2GB $44 / 1GB $23--Free shipping available.
Download Typestyler, still the Ultimate Styling Tool for Internet, Print and Video Graphics. Works great in Classic with a Native OS X Version on the way. Free Tryout: www.typestyler.com
LA Computer Company: Specials on AppleCare, iMac's, Apple Batteries and Apple A/C Adapters. Also Great prices on Used Apple Computers. Call 1-800-941-7654 Click Here.
OWC: NewerTech miniStack FireWire/USB 2.0 HD & Hub Up to 1.0TB of Performance Storage + FW/USB2 Powered Hubs - convenient & sleek 6.5" x 6.5" x 1.5" Featured: 500GB $169.99; 750GB $209.99; 1.0TB $339.99
Mac users can finally play Party Poker for Mac. Not only that, they can also learn how to play PokerStars for Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, laptops, and LCD TVs side by side! All the information and reviews to make the best purchasing decision for a new cell phone GPS products or MP3 players. The Ciao network makes searching products easy for you.
New MacPro Memory 800Mhz With Apple Spec Heat Sink 2GB $88 / 4GB $138 / 8GB $274 - Click to Maximize your Macs...
If you're reading Low End Mac, you probably own an older Mac, one that you adore and want to keep running and viable long past the sell-by date. With the tips and tricks you've found here, you likely have made your Blue and White G3 last longer than anyone ever expected - even the engineers at Apple. That G4 Cube that you bought on a whim is still purring along, quiet and stylish. And you even have a few G3 iMacs in use, processing words and slowly displaying web pages.
But the writing is on the wall. None of those units are officially supported by Mac OS X 10.5 "Leopard", and they sure as shooting won't be supported by OS X 10.6 "Snow Leopard". Truth be told, they are getting a little slow on the uptake, maxed RAM or not.
If this is you - and especially if you run your own small business - where your formerly idiosyncratic choice of Macs is indicative of your working style, these Macs have at least one more iteration of service left to you: LAMP.
LAMP is an acronym for Linux Apache MySQL PHP. It's a collection of software (called a stack, in server parlance) that turns any ordinary machine into a server capable of dishing out dynamic websites. And, like every flavor of open source software, it's free. And while it's getting harder to find vendors that provide this sort of software for PowerPC architectures, one of the oldest and most respected, Debian, still does.
Linux on Macs has been discussed here a great deal lately, with some folks downright down on the idea - and I can see where they're coming from. Linux, no matter how far it has progressed, is no Mac OS. Apple's flagship operating system is all swooshes and rounded corners and polish. Linux, at best, is a bit rough around the edges, unexpectedly sharp in places, and showing duct tape in others. But when you consider the limitations of your 16 MB graphics card plus your slower hard drive and system bus, Linux - and especially a Linux installation that does not use a graphical interface - can look past some of those issues.
Linux without a GUI
You heard right - no GUI. Your beloved Snow iMac is destined for service, not for play, and an expensive desktop (in terms of performance) is a waste of limited resources. Don't be too scared, though. One of the first things you can do is install a web-based graphical configuration tool (webmin, for example) and get some of those same features without all the overhead.
Apache is the de facto standard for serving up websites. A favorite under Unix for ages, it's also the same software that Apple includes in OS X (the Personal Web Sharing system preference). This is no different than turning on the web services on your Mac - just a little bit peppier and a bit more complex to configure. Again, web-based configuration tools can help ease this pain, as can many excellent online resources.
MySQL doesn't come standard with your Mac, but it is one of the most popular flavors of SQL database out there. For smaller scale operations (and more recently, enterprise class operations) it serves admirably, and again, the price can not be beat. Online tutorials can get you from installation to full utilization in a matter of minutes.
Finally we come to the P in LAMP. This is a little more flexible and depends on what you're doing. Perl, PHP, and Python all serve admirably in creating dynamic content on the Web, with PHP being the most popular, and Python making rapid inroads in recent years. Whatever flavor works best for you - and this might be dictated by software bundles that you choose to run, like forum software, or online store packages - will work wonderfully under Linux.
Requirements for Linux on Your Mac
There are several Linux distributions available that support PowerPC architecture, officially or unofficially. Debian is one of the oldest and most respected distributions still in development, and they are still in the business of supporting PowerPC. A bare install, plus the necessary support software (Apache, MySQL, PHP) comes in at less than 800 MB - an easy fit even on an old 2 GB hard drive. (In interest of fairness, this is my goto distribution for older hardware to be used as a server - while some of the newer distributions have made great advances in desktop usability, that's wasted on a CLI-only server.)
Yellow Dog Linux still supports PowerPC actively, but for anything older than a G4 you'll have to go back from the current version (6.x) to a prior release. Not even all G4s are supported by 6.x - my eMac ceased to be supported with the release of 4.x. It's hard to get an exact fix on how much disk space to expect to use with a simple LAMP installation, but a normal desktop installation, with all the bells and whistles of a graphical desktop and productivity software fits in 3 GB, so I would expect it to still fit in less than 2 GB without the GUI.
A community-supported branch of Slackware, called Slackintosh, is still currently in development as well, thought not as actively as some others. This is not a distribution for the faint of heart, requiring quite a bit of hand configuration, but it is quite fast and an efficient use of resources. A reasonable system with a stripped down GUI can be made to fit in less than 300 MB of drive space, and a similarly frugal LAMP system in less than 250 MB.
Finally, there is arguably the most popular distribution in current development - Ubuntu. The folks at Canonical, the company that supports Ubuntu, stopped officially supporting PowerPC two versions back. That said, the unofficial support community is huge, and there's very little lag time between an official Intel release, and the unofficial PowerPC port being made available. Here again, you can get into a base LAMP installation for under 1 GB of hard drive space.
Regardless of the distribution you choose, when it comes to memory utilization, more is better. A bare minimum to start the party would be 64 MB, but do not expect MySQL to perform very well - it may not even run at all! I would not recommend this setup for anything but serving up static web pages. If you're going to really use the M and P in LAMP, you'll want a minimum of 128 MB of RAM, preferably 256 MB or more. Given that most folks who have kept their Snow iMac or Mirror Drive Door G4 tower alive this long have already maxed the RAM in their systems, it shouldn't be too much of a problem.
I've focused on G3 era Macs and newer with this article, but if you're one of our hard-core readers and have an old Power Mac 8500 sitting around gathering dust, it too can be pressed into service - just don't expect earth-shattering performance, and expect to have to tinker a bit more to make it happen. But with support for 512 MB of RAM, it might not be quite as slow as you expect. Heck, I've got a 6500 that's got a date with Debian as soon as I get more RAM installed.
Linux and LAMP are not panaceas. You're not going to be running
Victoria's Secret's streaming video fashion shows on your eMac. But by
using these free tools and investing just a bit of time into research -
most everything you'd want to do has almost certainly been done by
someone, somewhere, with a
penchant for sharing - you can give your favorite Yikes! G4 tower one more shot at
not just making due, but really being a productive member of your
office.
Recent Macs in the Enterprise Columns
- Debunking Mac Myths Is Not the Way to Get Apple in the Enterprise, 08.06. There are other factors at work that keep those with vested interests on the Windows platform. Mythbusting won't change their minds.
- How to upgrade your eMac without cracking the case, 07.14. Some people like to replace the components inside their computers, but with FireWire and USB 2.0, Apple has made it easy to upgrade using external drives.
- Turn your old Mac into a web server with Linux, Apache, MySQL, and PHP, 07.09. Step-by-step instructions for installing and configuring Linux, Apache, MySQL, and PHP on an older Mac.
- What Snow Leopard means for Macs in the enterprise, 06.25. With Exchange and Active Directory support coming in Mac OS X 10.6, two of the big obstacles to Macs in the workplace will be swept away.
- More in the Macs in the Enterprise index.
Links for the Day
- Mac of the Day: PowerBook 170, Oct. 1991 - At 25 MHz, the PB 170 was at the top of the original PowerBook line.
- List of the Day: The iPhone List Low End Mac's forum for discussing and supporting Apple's iPhone.
- August 30 in LEM history: 99: The truth about USB speed - 00: Could Eazel kill the Mac? - Mac OS 8.1 on a IIci and LC III - 01: Beyond MHz and GHz - Getting a handle on email - Thanks for the IBM PC, Dad - Apple's anniversaries - 02: Mac OS X v10.2 - iBook video out - 04: Things that freak out my students - 06: Nvu and SeaMonkey can't replace Home Page - 07: DVD-RAM support
Recent Content on Low End Mac
- Looking for a Content Management System That's as Easy as Mac, Dan Knight, Mac Musings, 08.29. Low End Mac needs to move to a content management system, but the few we've tried just don't cut it for people used to the simple elegance of the Mac.
- First 3 Million Mac Quarter, Skinny on Mac mini Pricing, Mac-like gOS, and More, Mac News Review, 08.29. More plan to buy Apple products than ever before, complete reset can fix MobileMac synch problems, Apple boosting computer and smartphone share, and more.
- New 'Books Likely in September, 17" PowerBook Display Fault Site, SSD Security, and More, The 'Book Review, 08.29. Also 6 ways to speed up your MacBook, next generation MacBook Air CPU, MacBook Air Update, LapStrap carrying solution, rise and fall of ultraportables, bargains from $220 to $2,699, and more.
- iPhone 3G Reception 'Completely Normal', AT&T International Data Plans for iPhone, and More, iNews Review, 08.29. Also longer life for iPod earbuds, an alternative to MobileMe, new cases and apps for iPhone, AppStoreGems website launched, and more.
- Best Power Mac G4 Deals, Low End Mac Deals, 08.29. Used 450 MHz AGP, $75; 500, $99; 800 QS, $199; 1.25 GHz MDD, $375; 450 MHz dual, $179; 867 dual, $300; 1 GHz dual, $395; 1.42 dual, $575.
- Best iBook G3 Deals, Low End Mac Deals, 08.29. Used 300 MHz clamshell, $150; 500 CD, $150; 800, $200; 600 CD-RW, $240; 900 Combo, $300; 14" 600, $360; 900, $400.
- Best iPod nano Deals, Low End Mac Deals, 08.29. Used 2 GB iPod nano, $89; refurb 3G 4 GB, $99; new, $140; refurb 8 GB, $149; new, $179.
- 10 Mac Browsers Compared, Simon Royal, Mac Spectrum, 08.28. A look at Internet Explorer, Radon, Opera, Safari, Shiira, iCab, Firefox, Netscape Navigator, Flock, and Camino running in Leopard.
- Clone and Boot: Another Advantage of the Mac OS, Kev Kitchens, Kitchens Sync, 08.28. Unlike Windows, Apple makes it possible to clone a bootable drive (Classic Mac OS or OS X) and use it with another supported Mac.
- Best MacBook Deals, Low End Mac Deals, 08.28. Used 1.83 GHz, $799; 2.0 black, $875; refurb 2.1 GHz, $899; 2.4, $1,099; black, $1,299; new 2.1, $1,019 after rebate; 22, $1,094; 2.4, $1,219 a/r; black, $1,394 a/r.
- Best iMac G5 Deals, Low End Mac Deals, 08.28. Used 17" 1.6 GHz Combo, $499; 1.8 SuperDrive, $530; 2.0, $600; 1.9 iSight, $625; 20" 1.8 GHz, $580; 2.0, $650; 2.1 iSight, $700.
- Best classic Mac OS Deals, Low End Mac Deals, 08.28. System 6, $10; 7.1, $12; 7.5.1, $4; Mac OS 7.6, $13; 8.0, $13; 8.1, $48; 8.5, $25; 8.6, $20; 9.0, $20; 9.2.2, $20; more.
- CrossOver Strikes Out, Frank Fox, Stop the Noiz, 08.27. Running Windows apps on a Mac without paying for Windows is great in theory, but actually getting Windows software working is another story.
- MacDrought: 4 Months with No New Macs, Dan Knight, Mac Musings, 08.27. The most recent Mac update was over four months ago, and the Mac mini has been unchanged for over a year.
- Resurrecting a Dead Pismo, Spotlight Search Tip, and EasyFind a Good File Finder, Charles W. Moore, Miscellaneous Ramblings, 08.27. Lots of tips on bringing a comatose Pismo back to life, a Spotlight file name search tip, and EasyFind as an alternative to Spotlight.
- Best Intel iMac Deals, Low End Mac Deals, 08.27. Used 17" 1.83 GHz, $625; 20", $599; 2.16, $749; 24", $950; refurb 20" 2.4, $999; 2.66, $1,299; 24" 2.4, $1,299; 2.8, $1,549; new 3.06, $2,094 after rebate; more.
- Best 15" PowerBook G4 Deals, Low End Mac Deals, 08.27. Used 1.25 GHz Combo, $600; SuperDrive, $650; 1.33 Combo, $640; 1.5, $680; SD, $725; 1.67, $730; hi-res, $800.
- Best Time Capsule and AirPort Deals, Low End Mac Deals, 08.27. 500 GB Time Capsule, $294; 1 TB, $468; AirPort Extreme Card, $39; 802.11n Base Station, $166; 802.11g AirPort Express, $60; 802.11n, $98.
- More links in our archive.
About LEM | Support | Usage | Privacy | Contacts
