Low End Mac Reader Specials

TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com

OWC: Get the Right Memory / Ram for your Mac. Top Quality, Competitive Prices, Lifetime Warranty. Expert Support and Video Installation Guidies too! 4.0GB Matched Sets from $87.99, Options up to 32GB. Click here

Poker Mac Don't install Parallels to play poker online! Poker Mac will show you how to download and install a native Mac poker application such as Full Tilt Poker Mac.

Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.

Compare products like desktop computers, apple laptops, apple macs, and LCD Monitors side by side! All the information and reviews to make the best purchasing decision for new mobile phones, sat nav systems, or MP3 players. The Ciao online shopping community makes searching products easy for you.

Back & Forth

Serving on Mac OS X

Jonathan Ploudre - 2002.09.17

A few weeks ago I jumped five years of computer history. I switched from a 200 MHz 603e StarMax 3000 to a recently discontinued Power Mac G4/933.

At first I was thinking that I'd put the StarMax to use as a Web server. It has a good amount of RAM and can have a IDE drive with massive amounts of room for serving. Then I realized that it would be a waste of electricity. I can use my Power Mac as the server at the same time that I use it for other things.

One of the big advantages of Mac OS X over the classic Mac OS is that it has protected memory. One program can crash without bringing down the whole computer.

Any Mac might be able to act as a server - an SE/30 could be your mail server or a Quadra 605 could be a Web server. What Mac OS X brings to the party is that the server can be your main Mac. Protected memory means that you won't crash the Web server when you crash a single program.

A Quadra running only a web server might be pretty reliable, but you'd never try to run it with web browsing and playing a game at the same time. It would crash, and your site would go down. On Mac OS X, that doesn't happen. It's not the more powerful hardware (though that helps); it's the way the operating system works.

In the next few articles I'd like to examine how to do Web serving on Mac OS X. Much of this information will be applicable to Mac users without Mac OS X. The same concepts can be used with the Classic Mac OS , Yellow Dog Linus, or even NetBSD on a 68K Mac.

In this article I'll discuss some of the preliminaries. Before you start serving, you need to consider your electricity, your Web serving software, your Internet connection, and getting a domain name.

Electricity

If you are going to have an official website, it needs to be on all the time. In the Energy Saver system preference, the computer should be set to never go to sleep and to automatically restart after the power goes out. You want to disallow hard drive spinning down - otherwise your site could have a 15 second delay that might make someone think your site was down.

You might set your monitor to go to sleep, since this can save a lot of energy. A 17" monitor can use about 150 watts of power in an hour.

You might consider getting an uninterruptible power supply (UPS) to help cover your for brief power outages of a few minutes. If you need a server with 100% reliability, you need 100% reliable electricity - and that probably means paying someone to host your site. Generator backup can be expensive.

Alternatively, if you are doing a personal site, you might be satisfied with 99.9% reliability - that means that you could have up to 43 minutes of downtime every month. Where I live, having a UPS should keep me reliable for most of the year, barring a large, prolonged power outage.

Any server that's going to be on all the time will use a lot of electricity. Some people use laptops as servers because they use less energy. I like serving on Mac OS X because I have my Mac on a lot anyways.

If you are using an older Mac to serve, it's worth checking online to see how much energy the Mac uses. The much maligned Performa 6200 is thrifty on energy - it uses far less energy than other desktop PPCs. Combined with MacHTTP, it might be all the power that you need.

If you are using an older Power Mac (say a 7100), you'll use roughly the same amount of electricity as if you were on a new Power Mac (say, a Quicksilver 2002). That's why I decided against using my StarMax as a server.

Apache

This is the Web server software built in to Mac OS X. It's very powerful, but like any power tool, it can be dangerous if used incorrectly. There's a great series of articles on MacDevCenter that walks you through setting up Apache. It involves a lot of little details, but if you set aside some time and are careful, it's not that bad. You might want to read the series through once before doing much changing. Or at least read the particular article through completely before making changes. Making a backup of a file before you change it is also a good idea.

If you are running a BSD system or Linux on an older Mac, you could still use Apache as your server. On the Classic Mac OS, you could use AppleShare IP (expensive but easy to use) or MacHTTP as your Web server software.

Broadband

If you are going to run a personal website, you probably need a broadband connection. If you have a dedicated second phone line, it is theoretically possible to serve with a modem, but that's a lot of effort for not a lot of performance. With a cable modem, DSL, or a LAN connection, you can probable get enough performance for a small website. You don't want to be running Low End Mac - LEM serves many GBs every month. A broadband connection would have bandwidth for a family website or a site for your work organization.

Name

A domain name is the equivalent of an online address. Instead of numbers (i.e., 123.123.123.1) you get something more memorable (i.e., www.lowendmac.com) You can serve your data off of the Mac without getting a domain name, but no one will ever find it.

So head over to EasyDNS and set up a domain name. Why EasyDNS? They are a sponsor of Tidbits - the oldest Macintosh ezine. That shows that the company is supporting the Mac. EasyDNS is relatively easy to use, and they have great help online to walk you through setting up the name server. In many ways, they are the "Mac" of the domain name universe.

Next week I'll discuss more details of how to set up the domain name and some other bits of setting up a personal server. LEM

Recent Content on Low End Mac

Latest Deals on Low End Mac

About LEM | Support | Usage | Privacy | Contacts

Back & Forth articles copyright © 2000-02 by Jonathan Ploudre. Entire Low End Mac website copyright ©1997-2009 by Cobweb Publishing, Inc., unless otherwise noted. All rights reserved. Advice presented in good faith, but what works for one may not work for all. Please report errors to .
  LINKS: We allow and encourage links to any public page as long as the linked page does not appear within a frame that prevents bookmarking it.
  Access our RSS news feed at http://lowendmac.com/feed.xml.
  Email may be published at our discretion; email addresses will not be published without permission, and we will encrypt them in hopes of avoiding spammers. If you prefer your message not be published, mark it "not for publication." Letters may be edited for length, context, and to match house style.
  PRIVACY: We don't collect personal information unless you explicitly provide it. For more details, see our Terms of Use.
  Low End Mac is an independent publication and has not been authorized, sponsored, or otherwise approved by Apple Inc. Apple, the Apple logo, Macintosh, iBook, iMac, eMac, iPod, iPhone, PowerBook, MacBook, MagSafe, Mac Pro, Apple TV, and AirPort are registered trademarks of Apple Inc. Additional company and product names may be trademarks or registered trademarks and are hereby acknowledged.

Custom Search

Amazon.com

Navigation

Used Mac Dealers
Apple History
Video Cards
Email Lists

Favorite Sites

MacSurfer
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
   Museum

DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End
   Mac FAQ

Abandonware
   Petition

Mac vs. PC Info

Affiliates

The Apple Store
Mac Connection
B&H
MacMall
TechRestore
ExperCom
Crucial Memory
batteries.com

Advertise

Open Link