For some years I’ve been wondering whether to run a server at home. With time on my hands due to the Coronavirus lockdown it was time to finally get around to doing it. This blog post (part 1 of the series) explains the requirements and the purchase of the hardware. Part 2 explains the hardware repairs and network setup. Part 3 is dedicated to the software installations.

Contents of this blog post

  1. Current situation
  2. Requirements
  3. Hardware

 

1. Current situation

We are a two person household. My main work and personal computer is a 2017 MacBook Pro with a 512Gb SSD, and I usually use that at my desk where it connects to a 2Tb WD USB 3 external HDD that contains old files, and a 1Tb USB 2 external HDD for Time Machine Backups. All of this is backed up a second time to a Hitachi 3Tb external HDD that is connected once a month or so. My partner has a work computer that doesn’t come into any of this, and for personal use has a MacBook Air with a 256Gb SSD that she uses around the house – never at a fixed desk. All her other files and Time Machine Backups are on two 2Tb external HDDs connected as and when they are needed. We play music wirelessly to an old 1st Generation Airport Express that is connected to the HiFi. Our WiFi Router is a tp-link Archer AC1750 that is connected by ethernet cable to the modem-router provided by our ISP. We each have iPhones as well, but that’s not important for this story.

(Back to the top of the post)

2. Requirements

The server will first and foremost be a repository for four sorts of files: all our music, films and photos (the quantity of which is too large to store on either of our MacBooks), and common files for an art project we run together. Music and films are going to need to be streamed to each of the MacBooks, and photo libraries loaded on each of the MacBooks. Beyond that I am looking to replace my ownCloud-based file sync system (that runs on server space I rent in the UK still) with an equivalent on the local server – and that is going to need some way to access the home server remotely. Last but not least the occasional websites I still build could do with a staging server, and the home server might be able to act as that. Lastly the server will be used for Time Machine Backups of my partner’s MacBook Air, if we can get that to work.

(Back to the top of the post)

3. Hardware

The nature of the requirements above means this has to be an Apple server. But Apple doesn’t build servers! I hear you say. Well, it sort of does / did – Mac Minis. Small, low power, and some even were labelled Server. But which Mac Mini do you even go for?

The answer boils down to how you balance cost, speed and upgradeability.

I need space for 2 hard disks as I will install a SSD drive for speed, and a regular hard disk for all the music and film files. USB 3 is always a good idea, as it makes attaching external hard disks much less onerous. And upgradeable RAM is useful too. And if it could run the latest macOS that would be a plus too.

What I do not need is especially fast wifi (this Mac Mini is going to be connected to my router with an ethernet cable) and I definitely do not need an optical drive.

That then leads me to the late 2012 A1347 Mac minis that exist in three versions – core i5 2.5GHz, core i7 2.3GHz and core i7 2.6GHz. These are the first Mac Minis to have USB 3, have no optical drive, have upgradeable RAM (2 slots for 1600MHz SO-DIMMs, so 2 x 8Gb max), and space for 2 2.5″ hard disks. In comparison Mac minis from 2011 and earlier have only USB 2, and those from 2010 and earlier still have optical drives. Newer Mac minis (from 2014 onwards) have RAM soldered onto the logicboard, and space for only one hard disk. Yes, 2014 Mac Minis have faster 802.11ac Wi-Fi, but that’s not what I am looking for. So a late 2012 Mac mini it has to be.

(Tangent: a really budget alternative would be to go for a A1283 2009 Mac mini (the last of the generation with plastic on the top of the housing), use a patched version of macOS (see compatibility here), put 8Gb of RAM in it, and replace the DVD drive with a SSD in a caddy. But that still only has USB 2…)

So where do you find an appropriate Mac mini? In Germany on ebay.de or eBay Kleinanzeigen (the latter is like Gumtree or CraigsList for the non Germans reading). Late 2012 Mac minis with core i7 processors go for over 300 Euro and that was more than I wanted to spend, so a core i5 2.5GHz is what it would have to be…

Here is the full kit:

  1. Mac mini core i5 late 2012 – 260 Euro from eBay Kleinanzeigen, collected in Berlin. Secondhand, some scratches on it, no original packaging and just a power cable with it. The 500Gb hard disk in it will be sold for 10 Euro, the 8Gb of RAM in it will be sold for 25 Euro, so 225 Euro for the Mac Mini
  2. 512Gb Samsung 2.5″ 7mm Height* SATA SSD – second hand, 56 Euro from eBay.de
  3. 2Tb Seagate 2.5″ 7mm Height* SATA HDD – new, 65 Euro from eBay
  4. Ethernet cable – owned already, about 3 Euro
  5. 2 x 8Gb 1600MHz DDR3 SO-DIMM RAM – owned already, but normally about 70 Euro
  6. WD Elements 2Tb USB 3 HDD – owned already, but second hand normally about 40 Euro
  7. Core / WD Blue 750Gb USB 3 HDD – owned already (old MacBook HDD in a housing), to be used as secondary backup disk, probably worth about 20 Euro
  8. Mac mini Second Drive kit – new, ordered from eBay here13 Euro

* – note that you can just about fit 1 12.5mm height drive in this Mac mini, but most 4Tb 2.5″ drives are 15mm height and will not fit. Make sure you check the height of any drive before you order it! 9.5mm drives will fit without any problem.

That is a total of 492 Euro. Go for a 120 or 240Gb SSD rather than 512Gb, just one backup disk rather than two, 8Gb of RAM rather than 16Gb, and you could bring this to something like 400 Euro in total.

For the sake of all the configuration I also of course need a keyboard, mouse and monitor. Doing this with a USB cabled mouse and monitor is always easier. Installing Mac OS from a USB Stick is always the simplest way in my opinion, so a 16Gb USB Stick is handy to have around too, although not strictly necessary.

So that’s all for part 1. Part 2 covers taking the Mac mini apart, installed the components, installing the latest version of macOS and sorting out the network, and part 3 (forthcoming) will cover software installations!

(Back to the top of the post)

6 Comments

  1. Very interesting, John. Thanks. I just replaced my Mac mini 2012 (i7 8Gb Ram, 1 Tb SSD) by a Mac mini M1, which is working nicely. If I turn my old Mini into a server, can Windows users make use of it as well? If not, there’s no point in making the effort.

  2. Dennis

    With your Mac mini acting as the server, how are you dealing with movies or videos that didn’t come from iTunes (i.e. ripped, or download from other sources)? My understanding is iTunes Match (or Apple Music for that matter), will only sync Music videos purchased in the iTunes Store. So you could manually add them to the Music app, but they wouldn’t be backed up to iCloud, or syncing to your MacBook if you were hoping to view them offline.

    Thanks for taking time to write about your project and share it.

  3. Tim Coldwell

    https://www.youtube.com/watch?v=JnBtXrofOLc From this I guess I need to put my HDD into an external case. Unless: https://youtu.be/eoAWobKCbho Looks like too much work to me.

  4. Tim Coldwell

    I have same 2012 Mac Mini but only a 1 tera internal drive (16 Gig of DRAM). Can I fit 512Gb Samsung 2.5″ 7mm Height* SATA SSD inside to help with display of big 3D modelling files? Might look at converting to server if I get a new more powerful PC.

  5. Mark Galvin

    Awesome! I have a Mac Mini – Late 2014, 3GHz Dual Cor eIntel i7, 16GB 1600 RAM, 1TB Fusion drive. I have 3externals (4TB – file/Media Dump, 6TB for TimeMachine & 1TB unsed) which is currently my main reason but changing soon and knew there would be a use for this kit! Looking forward to part 2!

  6. Thank you very much Jon for posting this article. I will definetly try it myself as well.

Leave a Comment

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