Read the Beforeitsnews.com story here. Advertise at Before It's News here.
Profile image
Story Views
Now:
Last hour:
Last 24 hours:
Total:

How to use a Mac mini as a home server, part 3 – software

% of readers think this story is Fact. Add your two cents.


This is part 3 of the series about the Mac mini server. Do read part 1 about the requirements and the hardware, and part 2 about the repairs and the network setup first.

9. Music

I have more than 28000 mp3 files, ripped from CDs I got rid of long ago. I do not want 150Gb of music on my MacBook all the time (note: I will keep some mp3s on the MacBook, but just a few thousand), and I do not want to pay for enough iCloud storage to store them all there too. But playing this music at home (and on the road as well if possible) – and indeed from multiple devices – is one of the central aims of the server project. So how do you do this?

The answer is initially simple, but there were some glitches to get it just right. It all starts with Apple Music on the Mac mini.

The setup in the Music App and in Media Sharing in System Preferences is:

This makes an orderly media library on the Mac mini. Also as an External DVD Drive is currently connected so as to rip the few other CDs and DVDs I have here, these CDs will then be saved to the Mac mini library and then also accessible to the other devices connected here.

That’s all easy enough.

But what about sharing this Library?

To other Macs on the network (but not elsewhere) “Share media with guests” works – the Library appears in Music (or, on older Macs, iTunes) on the network. But this does not work on iOS devices. Here, and elsewhere on the net when travelling, “Home Sharing” has to be used, and is explained here – note this must not be confused with Family Sharing. The confusing thing with Home Sharing that Apple does not explain on its explanation page is that you can use a different Apple ID for Home Sharing than for the main Apple ID on your device. So my partner’s iPhone has her Apple ID as the main one, but my Apple ID for Home Sharing – because my Apple ID is the one that is set for Home Sharing on the Mac mini. You could of course make a completely separate Apple ID for your server, but then you have headaches with 2FA and app purchases, so I have stuck to using my own Apple ID and my partner using this for Home Sharing.

Last but not least, does all of this work with the old AirPort Express 1st Generation that is connected to the hifi in the living room? Yes. I can play music on my MacBook Pro or iPhone, with the file on the Mac mini, and the output is sent to the AirPort Express.

10. Films and TV Series

Anyone who knows me well knows I am not a big film or television watcher. But there are a few series I have bought over the years, and some DVDs too. All of those DVDs hanging around are going to be ripped and saved to the Mac mini. For this I have installed Handbrake on the Mac mini (guide here), and decrypting them using libdvdcss (explained here) installed with Homebrew (guide about how to install it here).

But just as with the music, how do you share this?

The answer is rather similar – use Home Sharing. This allows shows to be viewed on an iPhone in the TV App, and on the other Macs too.

11. Photos

I might have 150Gb of music, but I have 500Gb of Photos. And here Apple’s bind-in to store photos in iCloud is even stricter than for music and for films. So here a file sharing system is the way to do it. Both my MacBook Pro and my partner’s MacBook Air will have 2 Photos libraries – a small one for everyday use that will reside on each Mac (and act as the System Library in each case, and in my partner’s case will also synchronise with iCloud). Then we will each have a sort of Archive Library for older photos, and those two Libraries will be stored on the server. To choose which Library to open, we then simply hold down ALT when starting the Photos App on each Mac. Moving photos between Libraries will be done with Power Photos, an App I already own that costs $30.

12. Music, Films, Photos – the Plex alternative

I have also experimented with Plex and Plex Media Server to do all of the above tasks – how to do it is explained here. Especially for films and TV shows it might prove to be a better bet than the Apple options. Time will tell which works best, but give Plex its due – it’s simple to get the server up and running, and it works well with Apple’s libraries as well.

13. Staging Server

The Coronavirus lockdown has not only made me think about building this Mac mini server, but has taken me back to one of my previous areas of work more than over the past few years – web design, specifically with WordPress. For years I have wanted a proper staging server for WordPress projects. There is an obvious solution for this – MAMP Pro. It costs €69, but offers a complete staging environment, especially for WordPress sites. This – together with Dynamic DNS (see point 8. in part 2 of the guide) – will allow me to send clients a login to test versions of their WordPress sites before launch, and I will be able to use the considerable processing power of the Mac mini to do the sort of server tasks that are slow otherwise – mass resizing of thumbnails for example. This staging server is going to need to have a SSL Certificate installed, and will need some configuration of port forwarding on the FRITZ!Box and Archer C7, neither of which are completely accomplished yet. Also for a lot of my training and teaching work I have large files that I need to share with clients – I will also use the Apache Web Server in MAMP Pro for this, with some sort of simple PHP front end – also to be finalised. This will allow me to close down an ownCloud installation I have on my other regular web server for this purpose at the moment.

14. Backups

All of the files for stages 9.-13. are backed up on an encrypted 2Tb WD Elements External HDD that is connected with USB 3 to the Mac mini – this is as simple to setup as Time Machine normally is. Eventually the MacBook Air will also be backed up, via WiFi, to the 750Gb External HDD also connected to the Mac mini, but that has not yet been finalised at the time of writing – a guide how to do that can be found here.

15. Conclusions

It’s hard to draw any solid conclusions from this project yet – the whole thing has just been completed, and it will only show its worth (or not) over the coming few weeks. The total cost of the project, software included, is something close to 500 Euro if you needed to purchase all of this from scratch. Some things – like screen share and remote access – proved simpler than I had expected. Dynamic DNS is a pain to get right, but looks really promising. Some of the media sharing has plenty of potential, but time will tell if it works out. I will update the blog post in a few weeks in light of experience with all of this!

The post How to use a Mac mini as a home server, part 3 – software appeared first on Jon Worth Euroblog.


Source: https://jonworth.eu/how-to-use-a-mac-mini-as-a-home-server-part-3-software/


Before It’s News® is a community of individuals who report on what’s going on around them, from all around the world.

Anyone can join.
Anyone can contribute.
Anyone can become informed about their world.

"United We Stand" Click Here To Create Your Personal Citizen Journalist Account Today, Be Sure To Invite Your Friends.

Please Help Support BeforeitsNews by trying our Natural Health Products below!


Order by Phone at 888-809-8385 or online at https://mitocopper.com M - F 9am to 5pm EST

Order by Phone at 866-388-7003 or online at https://www.herbanomic.com M - F 9am to 5pm EST

Order by Phone at 866-388-7003 or online at https://www.herbanomics.com M - F 9am to 5pm EST


Humic & Fulvic Trace Minerals Complex - Nature's most important supplement! Vivid Dreams again!

HNEX HydroNano EXtracellular Water - Improve immune system health and reduce inflammation.

Ultimate Clinical Potency Curcumin - Natural pain relief, reduce inflammation and so much more.

MitoCopper - Bioavailable Copper destroys pathogens and gives you more energy. (See Blood Video)

Oxy Powder - Natural Colon Cleanser!  Cleans out toxic buildup with oxygen!

Nascent Iodine - Promotes detoxification, mental focus and thyroid health.

Smart Meter Cover -  Reduces Smart Meter radiation by 96%! (See Video).

Report abuse

    Comments

    Your Comments
    Question   Razz  Sad   Evil  Exclaim  Smile  Redface  Biggrin  Surprised  Eek   Confused   Cool  LOL   Mad   Twisted  Rolleyes   Wink  Idea  Arrow  Neutral  Cry   Mr. Green

    MOST RECENT
    Load more ...

    SignUp

    Login

    Newsletter

    Email this story
    Email this story

    If you really want to ban this commenter, please write down the reason:

    If you really want to disable all recommended stories, click on OK button. After that, you will be redirect to your options page.