Pinterest Stumbleupon Whatsapp
Ads by Google

If you don’t fancy selling your old Mac for a decent price Apple Tax: Why Do Macs Hold Their Resale Value? Apple Tax: Why Do Macs Hold Their Resale Value? You've probably heard it before: Macs may cost more, but they hold their value. Is this true, and if so why? Read More , you’ll probably want to repurpose it so that it’s not sitting around doing nothing. If you haven’t yet sorted out some network-attached storage (NAS), you might want to think about using your old Mac as a jumped-up fileserver.

While just about any OS can be used to serve files, media and other services on your local network, OS X is particularly easy to set up, simple to use and above all else stable. You can even use it like a regular Mac at the same time.

So here’s how to turn your old Mac into a NAS drive, torrent box or print server.

1. Sort Out Your Hardware

I recently came into possession of a MacBook Air that’s about three years old. It has no battery inside it, and so it only works when plugged into mains power. It also happens to be the slightly-better-than-base 256GB model, and even uses a solid state drive. This is what I’ll be using for NAS purposes.

macbookair

Generally speaking, desktops are better if you want a server. Older iMacs, Mac minis and Mac Pros have bigger hard drives that use standard hard disc platters, which means they’re a bit slower but far roomier. They also have better cooling than laptops, so they’re more accustomed to staying on all of the time. Unlike the MacBook Air I’ll be using, desktop machines have more USB ports for adding additional storage, and a network interface connecting directly to your router via Ethernet.

Ads by Google

Whatever you’re using, you’ll want to reinstall a completely clean version of OS X before you start. You should check out our tutorial if you’ve never done this before How To Reinstall Mac OS X For A Fast, Squeaky-Clean Mac How To Reinstall Mac OS X For A Fast, Squeaky-Clean Mac Just like Windows, prolonged use of a Mac slows down the operating system. When you've been hoarding data and applications for over a year, the difference in performance starts to show. It just doesn't run... Read More , but here’s a recap:

  1. Turn off your machine, then turn it old while holding command+r. This will boot you into the Mac’s recovery partition.
  2. Using Disk Utility, erase the partition that OS X was previously installed on. A new one will be created automatically.
  3. Install OS X using the Reinstall OS X option from the startup menu. You’ll probably need to connect to the Internet in order to download the latest version of OS X.

You can also reinstall OS X using a USB stick How to Install Mac OS X Using A Removable USB Drive How to Install Mac OS X Using A Removable USB Drive Apple doesn't provide an official tool to create bootable copies of their operating system, but that doesn't mean it can't be done. Read More if you like — this is perfect for those of you who already have the latest OS X installer downloaded, and would like to save some time.

2. Configure Sharing

Once you’ve configured your fresh install of OS X, you’ll want to turn on file sharing and add a few locations that other users on your local network. To do this, head to System Preferences > Sharing and give your computer a name you’ll remember in the Computer’s Name box. Next click the check-box next to the File Sharing option in the left-hand panel.

filesharing

Under Shared Folders you can add locations that you’d like to share, including whole volumes (internal and attached external hard drives, even SD cards) if you want. I’d recommend either sharing your user folder, or just the Documents folder as a good start. Of course, it really depends on what you’re going to be using the NAS for, so you may have other ideas.

You can configure user access using the available options, and choose to restrict certain users to Read Only, Write Only or both Read & Write.

If you want to share with Windows users as well as other Macs on your network, make sure you enable Share files and folders using SMB by clicking the Options… button. You may also need to add a password, so check the box next to the account and enter a password of your choosing. When you connect from a Windows PC, the username will be the account name that appears here.

Some other services you might want to enable while you’re here:

Screen Sharing 

This allows you to view and control the server using another Mac. You can restrict access to certain users, and require a password for control if you wish. Once enabled and configured, OS X users can control the server using the option in Finder’s sidebar (and both Mac and Windows users can connect to the listed I.P. using a VNC viewer).

Screen sharing is especially handy for performing tasks on your server without requiring physical access to it.

Printer Sharing

If you have an old printer that isn’t network-ready, you can share it with other Mac users using this option. You’ll need to install the printer first, then return to this menu and check the box next to it.

3. Finishing Touches

Depending on your hardware, you’ll want to do a few last things to make sure your Mac is always available when you want it. The first is to prevent it from automatically going to sleep.

You can change the way your Mac behaves under System Preferences > Energy Saver. If you have a desktop Mac, simply dragging the sliders to “Never” and disabling hard disk sleeping is usually enough to ensure your Mac is always on.

If you’re using a MacBook you may want to close the lid, and OS X doesn’t have an option to keep your Mac awake when the lid is closed. Luckily you can install one of two free apps to rectify this: InsomniaX or NoSleep. Heat dispersion won’t be optimal with the lid closed, but your server shouldn’t get too hot anyway.

If you don’t want your server running all of the time, use the Schedule… button within the Energy Saver menu to set wake and sleep times.

4. Connecting to Your Server

It’s finally time to connect your server from your other machines, and this is probably the easiest bit. Most Mac users will see the server in their Finder sidebar — simply click on it to connect, and the volume will be mounted. You can also launch Finder and hit Go > Connect to Server and typing the address your server reports in the File Sharing menu under System Preferences > Sharing. Windows users should find SMB shares under Network.

In order to mount the volume automatically on startup, head to System Preferences > Users & Groups and click Login Items. Navigate to the server and add one of the folders to the list using the plus “+” button. You’ll also want to tick the checkbox next to the entry to stop Finder from opening every time you start your machine. Windows users can use the Map Network Drive tool for this.

Once mounted you’ll find your various shared directories available alongside your other volumes — in OS X, you can use Go > Go to Folder… and type /volumes/.

Other Uses for Your Server

Aside from connecting all of your spare external drives and creating a mountain of reliable, easy to manage network storage using your old Mac, you might also be interested in some of the following:

Have you turned an old Mac into a server? How did it go?

  1. Michael
    March 16, 2016 at 4:49 am

    Great article, but didn't I just read a MakeUseOf article warning about Transmission bringing ransomware to Macs?

    • Tim
      March 16, 2016 at 9:48 am

      Last week there was an update of Transmission which removed the ransomware.

    • Tim Brookes
      March 29, 2016 at 2:20 am

      As has just been stated, Transmission did get a fixed version out quickly. It's troubling, but it's still the best BitTorrent client on OS X so I'd personally still recommend it. Hopefully they don't have any more problems of this kind.

Leave a Reply

Your email address will not be published. Required fields are marked *