Mac|Life

Add a server to your home

Reuse a spare Mac for networked backups and to speed up iCloud Drive

-

Apple’s commitment to its networking hardware seems to be at a halt, to the point that its AirPort team was recently rumored to have been disbanded. With the future of AirPort Extreme and Time Capsule routers apparently under threat, you may be looking elsewhere for a device to centralize Time Machine backups for all the Macs in your home. Many third-party network drives come with Time Machine support, but you could press an older Mac into service instead.

The advantages of this are numerous. Firstly, you can plug in/swap out external storage. Secondly, a USB drive represents much better value than a Time Capsule. Thirdly, external drives perform much quicker when plugged directly into a Mac (particular­ly if it has USB 3.0) rather than going through the slower USB 2.0 port on an AirPort Extreme or Time Capsule.

To do this, you’ll need to purchase macOS Server ($19.99, Mac App Store). This installs as an app within an existing version of macOS, and it comes with additional benefits too, from setting up centralize­d folder sharing to the caching of iCloud Drive data, which can save you time and potentiall­y money if you’re on a metered internet connection.

Your Mac will need to be running OS X 10.11.6 or later to run the latest version of macOS Server, which might not be practical if you’re using an older Mac. The trouble is, Apple has made it difficult – but not impossible – to buy and install an older version of the app (which used to be more simply dubbed “Server”).

We’re going to focus on Macs running OS X 10.8 Mountain Lion or later, because that’s the point where Server changed from being sold as a complete operating system to an app that runs on top of the regular one. If your old Mac is running either OS X 10.8 or OS X 10.9 (Mavericks),

go to apple.co/2lSUSgR and click the relevant link. This will open the Mac App Store and show you the correct version of Server for your system (2.2.5 for Mountain Lion; 3.2.2 for Mavericks) for you to buy, or redownload if bought previously. Note that certain features – like caching personal data from iCloud Drive – aren’t available in earlier releases.

If you’re running Yosemite, search the Mac App Store for “macOS Server,” then purchase it – you’ll be told the current version isn’t compatible and instead be offered the most recent version that will work. Accept this, and it’ll download and install on your soon-to-be server.

Once the Server app is installed, you’ll find it in the Applicatio­ns folder. Before opening it, make sure the Mac’s network connection is configured properly. First, we strongly recommend you connect the server to your router using an Ethernet cable; while you can use Wi-Fi, Ethernet offers faster performanc­e and a more stable connection.

Second, assign the server a static IP address on your network, so that it has a permanent identity that makes it easier for other Macs to locate and connect to it. To do this, go to System Preference­s > Network, select the Ethernet connection if necessary, then change the “Configure iPv4” pop-up menu to “Using DHCP with manual address.” Next, give the Mac a static IP address; check the range from which your router allocates addresses – often 192.168.0.x, where x is a number between 0 and 255 that isn’t assigned to another device on that network. When you’ve done that, click Apply.

A little bit of basic setup

Server works best when you limit access to specific users and groups. Open the app and click Continue to set it up. Once done, you’ll see its main screen, which gives an overview of the computer, and lists available services in the sidebar. Select Users under the Accounts heading on the left. You’ll see your own user account has already been added. Click + to add other members of your household.

You’ll want to create accounts that match the ones on your household’s Macs, so you may need family members to provide their account name and password – though not mandatory to match what they use on their own Mac, that simplifies

matters. Make sure Home Folder is set to “None – Services only.” We also suggest leaving the “Allow user to administer this server” box unchecked, so you are the only person in control of your server.

Click Create. By default, a new user will have access to all enabled services. If you want to restrict access, ≈- click a username, choose Edit Access to Services and then clear the checkbox next to any service you don’t want that person to use. You can hold ç to select multiple users, then ≈- click one of them and choose Edit Access to Services to apply the same rights to all of them at once.

Follow the walkthroug­h opposite to set your server as Time Machine’s target for Macs on your network. After that, your next task is to use Server’s caching capabiliti­es; macOS Sierra can put your Desktop and Documents folders in iCloud Drive to make it available on all your devices. If you’ve switched this on, you’ll want to use iCloud caching to speed up syncing and cut internet bandwidth usage – crucial if on a metered connection.

The trick is to leave your server switched on 24/7, so whenever your other devices are connected to your network, any changes they make to your iCloud Drive are cached on the server as well as uploaded to iCloud, and other devices on your network retrieve them from the cache rather than downloadin­g them from the internet. When a device is away from your own network, or if your server isn’t running, files will still sync with iCloud as normal.

The annotation above shows how easy it is to set up the Caching feature. It also works for app purchases, iBooks, system updates and more ( apple.co/2mb6i0g), which can lead to further bandwidth savings and improved performanc­e when your devices are able to retrieve data from the cache on your network.

Server is primarily aimed at businesses, yet it has other uses that may interest you at home or in a small business: creating wikis, centralizi­ng shared folders, and using a virtual private network (VPN) to provide an encrypted connection to home over the internet. Even if you only want to back up your Macs wirelessly, and you have a spare one to run the app, the cost of Server and a hard drive saves you lots of money compared to an AirPort Extreme or a Time Capsule.

 ??  ??
 ??  ??
 ??  ?? Running macOS Server may seem intimidati­ng, but it offers a couple of features that are easy to set up and beneficial even in a home setting.
Running macOS Server may seem intimidati­ng, but it offers a couple of features that are easy to set up and beneficial even in a home setting.

Newspapers in English

Newspapers from Australia