Difference between revisions of "Mac mini NAS"

From LinnDocs
Jump to: navigation, search
(Created page with '__NOTOC__ == Mac mini with USB drive as NAS == This describes how to setup a Mac mini with an external USB drive as a NAS. === Hardware === * Mac mini with ''Mountain Lion'' * M…')
 
(Mac mini with USB drive as NAS)
Line 1: Line 1:
 +
__NOTOC__
 
__NOTOC__
 
__NOTOC__
 
== Mac mini with USB drive as NAS ==
 
== Mac mini with USB drive as NAS ==
Line 34: Line 35:
 
** Enter the command '''defaults write com.apple.LaunchServices LSQuarantine -bool NO''' and press enter
 
** Enter the command '''defaults write com.apple.LaunchServices LSQuarantine -bool NO''' and press enter
 
   IMAGE
 
   IMAGE
 +
 +
* Disable sleep mode(s)
 +
** Preferences ->Hardware -> Energy Saver
 +
** Set both ''Computer Sleep'' and ''Display Sleep'' to ''Never''
 +
IMAGE
  
 
* Restart Mac and ensure it starts up and logs in without user intervention
 
* Restart Mac and ensure it starts up and logs in without user intervention
Line 48: Line 54:
 
* Open the VNC client and check connection to the Mac
 
* Open the VNC client and check connection to the Mac
 
** Check the Mac is viewable and controllable from the VNC viewer
 
** Check the Mac is viewable and controllable from the VNC viewer
 +
  
 
=== Check Operation ===
 
=== Check Operation ===
Line 56: Line 63:
 
** Disconnect monitor, keyboard and mouse from Mac
 
** Disconnect monitor, keyboard and mouse from Mac
 
** Connect the monitor dongle (described above) to Mac
 
** Connect the monitor dongle (described above) to Mac
 +
  
 
* Check operation
 
* Check operation
Line 63: Line 71:
  
 
If this can now control Mac then headless operation is correctly setup
 
If this can now control Mac then headless operation is correctly setup
 +
 +
 +
=== Setup Media Server ===
 +
 +
* Install USB drive
 +
** Plug in USB drive and wait for it to be detected
 +
** Format drive for Mac OSX as described [http://wdc.custhelp.com/app/answers/detail/a_id/3865/session/L2F2LzEvdGltZS8xMzUxNTE5NjAxL3NpZC9EX2k1ZVg5bA%3D%3D here]
 +
** Create a folder called ''Music'' on this drive, to store the audio files
 +
 +
* Install Media Server
 +
** Download [http://forum.dbpoweramp.com/showthread.php?26972-Asset-UPnP-For-OSX-(MAC) Asset UPnP for Mac]
 +
** Open dmg file and drag Asset to Applications
 +
 +
* Add to automatic startup
 +
** Preferences -> Users & Groups -> Current User -> Login Items
 +
** Click ''+'' and select Applications -> Asset
 +
IMAGE
 +
 +
* Set watched folders
 +
** Start Asset UPnP
 +
** Select ''Configure''
 +
** Add the ''Music'' folder on the USB drive
 +
** Press the ''Apply'' button
 +
IMAGE
 +
 +
 +
=== Final Checks ===
 +
* Using Kinsky (from any machine on network)
 +
** Check Asset is listed in the Libraries list
 +
** Check audio content from USB drive is visible in library
 +
 +
* Restart
 +
** Restart the Mac
 +
** Wait for it to fully start up
 +
** Using Kinsky check that Asset is visible, and audio content shows in library

Revision as of 14:08, 10 April 2013


Mac mini with USB drive as NAS

This describes how to setup a Mac mini with an external USB drive as a NAS.

Hardware

  • Mac mini with Mountain Lion
  • Monitor dongle as described here
  • WD My Passport 2TB USB drive
  • PC/Mac/iPad running a VNC viewer to remotely control the NAS

For initial setup ONLY, a monitor, keyboard and mouse will need to be connected to the Mac


Setup headless server

  • Enable screen sharing
    • Preferences -> Internet & Wireless -> Sharing
    • Enable Screen Sharing service
    • Ensure screen sharing is ON
    • Make a note of the address to connect to
    • In the Computer Settings dialog
      • Check both the boxes
      • Enter password to use for connection

IMAGE IMAGE

  • Enable auto-login
    • Preferences -> Personal -> Security & Privacy-> General
    • Ensure Disable automatic login is un-checked
 IMAGE
  • Disable downloaded from internet warning
    • Start terminal
    • Finder -> Applications -> Utilities -> Terminal
    • Enter the command defaults write com.apple.LaunchServices LSQuarantine -bool NO and press enter
 IMAGE
  • Disable sleep mode(s)
    • Preferences ->Hardware -> Energy Saver
    • Set both Computer Sleep and Display Sleep to Never

IMAGE

  • Restart Mac and ensure it starts up and logs in without user intervention
    • Apple -> Restart


Configure Remote Access

  • Install a VNC viewer on the PC/Mac to be used for remote access
    • On Windows suggest RealVNC
    • On Mac suggest Chicken VNC
    • On iPad there is VNC Viewer for £6.99, but this is untested
  • Open the VNC client and check connection to the Mac
    • Check the Mac is viewable and controllable from the VNC viewer


Check Operation

  • Close VNC viewer (F8 to exit full-screen mode)
  • Shutdown the Mac
  • Make headless
    • Disconnect monitor, keyboard and mouse from Mac
    • Connect the monitor dongle (described above) to Mac


  • Check operation
    • Power up Mac
    • Wait until powered up (after jingle)
    • Connect remotely using VNC viewer as described above

If this can now control Mac then headless operation is correctly setup


Setup Media Server

  • Install USB drive
    • Plug in USB drive and wait for it to be detected
    • Format drive for Mac OSX as described here
    • Create a folder called Music on this drive, to store the audio files
  • Install Media Server
  • Add to automatic startup
    • Preferences -> Users & Groups -> Current User -> Login Items
    • Click + and select Applications -> Asset

IMAGE

  • Set watched folders
    • Start Asset UPnP
    • Select Configure
    • Add the Music folder on the USB drive
    • Press the Apply button

IMAGE


Final Checks

  • Using Kinsky (from any machine on network)
    • Check Asset is listed in the Libraries list
    • Check audio content from USB drive is visible in library
  • Restart
    • Restart the Mac
    • Wait for it to fully start up
    • Using Kinsky check that Asset is visible, and audio content shows in library