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: New 2008 iMac 2GB $42 / iMac Intel Core2 DUO & MacBook Pro 2GB $36 - 1GB $20. MacPro 8 Core Memory 4GB kit $154 / 2GB kit $94 -- 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: OWC Mercury On-The-Go FW400/800/USB2/eSATA Portables High Performance A/V Rated, **Bus Powered** **Up to 500GB in the Palm of your Hand** Macworld Editor's Choice, CNET 'Very Good' - from $75.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.
MacPro Memory 667Mhz With Apple Spec Heat Sink 2GB $ 82 / 4GB $128 / 8GB $256 - 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: Centris 650, Feb. 1993 - The replacement for the Quadra 700 has room for an internal CD-ROM.
- List of the Day: Old Mac MP covers 604-based multiprocessor Macs and clones.
- September 7 in LEM history: 98: Banner exchanges - 00: Tips from the Mac manager - Getting a Mac job - 01: Apple and the gray market - Repositioning the 'Books - 04: Tray loading iMac a good choice for OS X? - Pismo CPU upgrades - 06: Mac mini value equation - Setting up a Mac Classic II - Putting the Intel transition in perspective - 07: Region free DVD viewing, - My Newton - Solving Mac disk and hardware problems - 2 apps every MacBook should have
Recent Content on Low End Mac
- Anticipation: New iPods Now, New Macs Later, Kev Kitchens, Kitchens Sync, 09.05. The season of new iPods is at hand, but new Macs may wait until 2009.
- Buy a MacBook Now or Wait?, MacBook touch Patents, Samsung X360 Takes on MBA, and More, The 'Book Review, 09.05. Also 20 years of portable Macs, data backup and preservation, universal U-Charge battery charger for Mac 'Books, bargain 'Books from $150 to $2,699, and more.
- Listen to Just the Music with the V-Moda Vibe Earbuds, Tommy Thomas, Welcome to Macintosh, 09.05. Well built, the noise canceling earbuds will let you hear all the nuances of your music without letting through background noise.
- Source of iPhone 3G Problems, Army Uses iPods as Field Translators, Gains with Business, and More, iNews Review, 09.05. Also UK bans iPhone ad as 'misleading', iPhone password easy to bypass, GM to offer radios with USB in 2009 models, weather tracking software, and more.
- Macs Gain Ground in August, Consumers Most Likely to Buy Macs, LaCie USB Speakers, and More, Mac News Review, 09.05. Also migrating Time Machine to a new drive and two new keyboards from Logitech.
- Best iPod touch Deals, Low End Mac Deals, 09.05. Refurb 8 GB, $199; new, $284; refurb 16 GB, $299; new, $370; refurb 32 GB, $399; new, $453.
- Best 15" MacBook Pro Deals, Low End Mac Deals, 09.05. Used 1.83 GHz Core Duo, $999; 2.16, $1,125; new, 2.2, $1,450 after rebate; refurb 2.4, $1,699; 2.5, $1,999; 2.6 Santa Rosa, $1,849; rebates on new.
- Best iMac G4 Deals, Low End Mac Deals, 09.05. Used 15" 700 MHz CD-RW, $279; 800 Combo, $300; 1 GHz $390; 17" 800 MHz SD, $439; 1.25 GHz, $449; 20", $569.
- Overclocking a Mac mini Got Me Hooked on Souping Up Macs, Adam Geller, My First Mac, 09.04. Stories of hot rodding iBooks, G3 iMacs, and PCI Power Macs on the cheap.
- Apple Will Not Abandon Optical Drives, the Mac Drought, Purposeful Mac Acquisition, and More, Dan Knight, Low End Mac Mailbag, 09.04. Also Mac OS X 10.5 on a G4-upgraded Blue & White G3 and problems using a flat panel display with a Quadra 700.
- Only Leopard Runs Routine Maintenance Tasks after Startup or Waking from Sleep, Charles W. Moore, Miscellaneous Ramblings, 09.04. Mac OS X 10.5 runs routine system maintenance scripts as soon as possible after starting up or waking up your Mac. Earlier versions of OS X do not do this.
- Tomorrow's Solid State Drives and Notebooks, Dan Knight, Mac Musings, 09.04. Flash drives are great but have some shortcomings. Some thoughts on building better SSDs and notebooks to use them.
- Best 12" PowerBook G4 Deals, Low End Mac Deals, 09.04. Used 867 MHz Combo, no APX, $490; 1 GHz, $550; SuperDrive, $625; 1.5 GHz w/o APX, $660; w/APX, $675.
- Best Mac mini Deals, Low End Mac Deals, 09.04. Used 1.25 GHz G4 SD, $549; 1.42 Combo, $409; new 1.83 Core2 Combo, $569 after rebate; 2.0 SD, $769 after rebate.
- Best 17" PowerBook G4 Deals, Low End Mac Deals, 09.04. Used 1 GHz, $779; 1.33 GHz, $799; 1.5 GHz, $859; 1.67 GHz, $910.
- 11 Mac Browsers Compared, Simon Royal, Mac Spectrum, 09.03. The latest versions of Internet Explorer, Opera, Safari, Shiira, iCab, Radon, Firefox, Netscape Navigator, SeaMonkey, Flock, and Camino tested in Leopard.
- Save Internet Radio, USB and Hard Drives, Hardware Manufacturers vs. Linux, and More, Dan Knight, Low End Mac Mailbag, 09.03. Also Mac won't book after cleaning, newer versions of OS X improve wake from sleep, downgrading to OS 8.6, unreadable pages on Low End Mac, and more.
- Another Free POP3 Provider, Recharging a Dead PRAM Battery, Current Kanga Value, and More, Charles W. Moore, Miscellaneous Ramblings, 09.03. GMX email now available in US, Panasonic UJ-841S drive won't burn discs, restoring a dead PRAM battery in a Pismo, and thoughts on Kanga value today.
- Best eMac Deals, Low End Mac Deals, 09.03. Used 700 MHz Combo, $120; 1.25 GHz SuperDrive, $150; 1.42 GHz, $349.
- Best Mac OS X 10.5 'Leopard' Deals, Low End Mac Deals, 09.03. Mac OS X 10.5, single user, $99; 5 users, $140; 10.5 Server, 10 users, $395; unlimited, $850.
- Best MacBook Air Deals, Low End Mac Deals, 09.03. Refurb 1.6 HD, $1,499; new, $1,690 after rebate; refurb 1.8, $1,699; new, $1,919 a/r; refurb 1.6 SSD, $2,099; new, $2,294 a/r; refurb 1.8, $2,299; new, $2,400 a/r.
- Psystar Strikes Back, Countersues Apple, Frank Fox, Stop the Noiz, 09.03. Psystar is trying to paint Apple as a monopoly and force it to license the Mac OS.
- More links in our archive.
About LEM | Support | Usage | Privacy | Contacts
