How To

Bring an Old Mac to Life with OS X Server

Posted on May 11th, 2016 by

Bring an Old Mac to Life with OS X Server

You've certainly heard the word "server." It's a type of computer that generally provides or manages services. For example, this website is hosted on a web server, a computer running specific software that can respond to browser requests and send web pages to users anywhere on the internet. You send email through a mail server, a computer with software that routes email to and from your account. And a file server is a computer set up as a receptacle for files, so other users can connect to it and copy files to and from it.

A server is nothing more than a standard computer; what differentiates it from a "client" computer—such as the one you're working on—is its software and its ability to receive and process connections and requests.

You may not realize it, but your Mac is a server too. It contains all the software you need to host websites, manage email, serve files, and much more. All you need to do is turn on these "services." Apple makes this really easy; you can buy the OS X Server app (for $20) from the Mac App Store, and tweak a few settings, and then turn your Mac into a server in minutes.

OS X Server runs on any Mac that runs El Capitan, even an old Mac. Most users don't need a server, but I'm going to explain a few reasons why you might want to bring an old Mac to life with OS X Server. You don't need a fast Mac for these tasks; I use a five-year old Mac mini as my server (the only requirement is that it be able to run El Capitan and have at least 2 GB RAM). It's inexpensive, easy to set up, and offers a lot of advantages.

Download and Install OS X Server

Start by purchasing the OS X Server app from the Mac App Store. When you've downloaded it to your old Mac, launch the app and follow its instructions. You'll need to choose a name for the server, and you'll be asked to enter your Apple ID and password to use certain services. Server will take a couple of minutes to do its duties, then it'll be ready.

You'll notice that Server is an app. You use this app to configure, manage, and control services. You'll want to install it on your server to manage that computer, but you may also want to install it on another Mac, the one you use everyday. You can run your OS X server "headless," without a monitor, keyboard, or mouse, and control it, using the Server app, from another Mac.

If you want to work with a headless server, try now, from your other Mac, to connect to your server. Open the Server app, and see if your server is listed. If not, try clicking "Other Mac" and entering its host name, in the form name.local. So if you named your server MyServer, you would enter MyServer.local. You'll use the same user name and password that was already set up on that Mac to authenticate.

Choose Mac to manage using Server

When the Server app opens, you'll see an Overview screen, along with a lot of options in the sidebar.

OS X Server overview

I won't look at all of them; you can find out more about the available services on Apple's OS X Server Tutorials page. I'm going to look at three services in this article:

  • Caching
  • File Sharing
  • Time Machine

Caching

This service lets your server keep copies of updates and apps you download to your Macs and iOS devices. These devices don't need to be configured; they automatically discover the server, and downloads go through the server, are stored there, then get passed on to the devices.

If you have more than one Mac or iOS device, any apps or updates you download will be cached, or stored on the server, so the other devices don't need to download them. This saves you time and bandwidth. However, for iOS devices, this only works with updates for the exact same model of a device; a cached update to iOS for your iPad won't work on your iPhone, and an iPhone 6s update won't work on an iPhone SE.

All you need to do to turn this on is click "Caching" in the sidebar, and toggle the switch to On. You can also choose to cache iCloud Data, if you wish. At the bottom of the Caching pane, you choose how much space you want the cache to use. As you can see in the below image, my server is currently using 32.9 GB, and that's for two Macs and several iOS devices; the server has been running since El Capitan was released last fall. So you could set, say, 50 GB for caching, and be more than comfortable.

Caching

File Sharing

You may not need to use the File Sharing service, but if you want a centralized storage location for files on your network, you can activate this service. Click "File Sharing" in the sidebar, toggle the switch to On, and then add folders in the Shared Folders section.

file-sharing

You can connect one or more external drives to your server, so you can have virtually unlimited storage for your files. I use it, among other things, for my video collection, using Plex. This software runs on my server, and allows me to view videos on my Apple TV, my Macs, my iOS devices, and even remotely.

Just remember, any files that you store on the server need to be backed up.

RELATED: Intego Personal Backup Compared with Apple's Time Machine

Time Machine

One backup with Intego Personal Backup is good; a second backup with Time Machine is even better. OS X Server lets you back up your Macs over your network to the server. So if you have one or more laptops in your household, you can set them to back up automatically to Time Machine on the server, rather than worrying about connecting external hard drives to them for backups.

Click "Time Machine" in the sidebar, toggle the switch to On, and then choose a destination. If you can, devote an entire external hard drive to Time Machine; the more space you provide to Time Machine, the more backups it will be able to store.

time-machine

On each of the Macs you want to back up, open the Time Machine pane of System Preferences, click Select Disk, and you'll see that the Mac automatically shows you the Time Machine disk on the server. Select it, and your backups will go to the server.

Managing the Server

You can manage the server's specific services using the Server app, but there are other management tasks you may need to perform, such as installing software updates or managing files. You can do this remotely using OS X's Screen Sharing.

To do this, from another Mac, choose Go > Network in the Finder (or you can press and hold, UpCommandK). Double-click the server, and then click "Share Screen." Enter the user name and password for the server, and you'll be able to see your server's screen as if you were in front of it.

One thing I find useful is to use a display emulator on my server; it's a tiny dongle that I plug into the HDMI port, which changes the resolution so it's easier to see. If you don't use this, you can only view the server in one resolution in screen sharing.

Once you've connected with Screen Sharing, you can manage such things as updates (through the Mac App Store app, if you haven't turned on automatic updates), and you can move files around, if you have more than one disk connected to the server.

The idea of setting up a server may seem complicated, but with OS X it's quite simple. As you've seen above, there are some nifty ways you can use OS X Server, even taking advantage of an old Mac that's just gathering dust.

Try it out! You may find that it makes your computing life a bit easier.

Have something to say about this story? Share your comments below!

About Kirk McElhearn

Kirk McElhearn is a Senior Contributor to Macworld, where he is The iTunes Guy. He writes about Macs, books, music and more on his blog Kirkville. He is co-host of The Committed: A Weekly Tech Podcast, and a regular contributor to TidBITS as well as several other web sites and publications. Kirk has written more than twenty books, including Take Control books about iTunes, LaunchBar, and Scrivener. Follow him on Twitter at @mcelhearn. View all posts by Kirk McElhearn →
  • David A. Woodbury

    Can you host your own personal web site, with downloadble files, site using this app on your Mac? in other words, could I?

    • http://www.mcelhearn.com/ Kirk McElhearn

      Yes, you can. I’ve never done it, but the Server app has a Websites tab where you turn on the built-in apache web server. You can then configure a number of things. A lot of this is pretty high level configuration, though, and you have to be sure that your server is always on line if you want people to access the website (rather than having, say, a private site).

    • Ruurd Pels

      Yes you can but you do not need the Server app to make that work. A regular OSX is enough to do that. Turn on apache with launchctrl and have fun.

    • brucerb

      You also need to consider whether computers outside your local network will be able to see your server. If you don’t have a static IP address from your ISP, you will probably need to sign up for a service such as DynDNS.com

  • http://wiskeytangofoxtrotoscar.blogspot.com/ James Ala

    But what do you do with a really old Mac that can only run Lion? Doorstop?

    • http://www.mcelhearn.com/ Kirk McElhearn

      Well, you can still run some software on it, but that’s pretty old. OS X Server won’t run on it, it requires 10.11. You might be able to find an old version of Server, but it’s probably not worth the hassle because of software that might not play well with it.

    • Macfan2016

      James….depending on the old Mac you have, you might be able to run El Capitan with some hacking ( software or hardware), just do a Google search for El Capitan in unsupported Mac :

  • Tsultrim

    Now that the Mac App Store no longer offers a version of OS X Server that will run on El Capitan (it would have to be Server 5.1.7) does anyone have a work-around? A bootleg version? A .dmg file?

    • Al

      A legit workaround (july 17) is to buy ‘Mac OS Server app’ from the Apple Store from a computer running Sierra, whilst logged in with the Apple ID which intend to use on your El Capitan machine. You will pay for and download the app, and Apple will record that in the purchase history of the Apple ID. The app can legally be used on multiple computers. If you don’t want the app to exist on your Sierra computer – delete it, you still have it in that Apple ID’s purchase history. Now go to your ElCap computer and log into the apple store with the same Apple ID. Your purchase history tab will include the MacOS Server App. Select to download it (even though you are not on MacOS, and the Apple Store will detect that the version you purchased is too new for your computer and it will offer you the most recent compatible (but older) version. It is ElCap compatible and you wouldn’t be able to download it if it wasn’t compatible and paid-for. In my case the latest MacOS verions was 5.3, but the above procedure gave me 5.2, which is documented as being ElCap compatible. If you are reading this in the far future, that might not be the case, but it worked for me and I have repurposed by ancient Mac Pro as a Time Machine server 😉

Sign up For Our Newsletter

Get the latest Mac security news direct to your inbox.

{"url":"\/marketo\/json\/add-to-newsletter","data":"list_name=Blog Roadblock"}