Friday, July 20, 2012

Replacing WHS 2011 with Ubuntu Server 12.04 (Part 1 - Introduction)

Never content to leave well enough alone, I decided to take a good hard look at my windows home server and see if I could make better use of that hardware.

I have an aging HP Media Smart LX195 running Windows Home Server 2011. This wasn't a supported update from HP, but since when have I ever let that slow me down?

The system came with an Atom N270 on board and I've upgraded it with 2GB of RAM, 1 internal 1TB drive and 3 external 1TB drives. Last years OS X 10.7 upgrade left me without the use of this server for time machine based backups but it still serves as a reliable and quite media storage for my music and movie libraries. In addition to acting as basic file storage I also run Kiwi syslog server, Serviio DNLA server and BeyondUPNP services on this machine.

All of this I can do, and probably better, on a *nix based OS, without the overhead a GUI provides. I consider this a personal challenge and a good learning experience. As such the next few posts will walk through my experience installing and configuring:
  1. Ubuntu Server 12.04
  2. RAID5 with LVM
  3. Netatalk 3.0
  4. Samba
  5. Serviio 
  6. BeyondUPNP
It's worth mentioning that while BeyondUPNP is a great tool for accessing your DNLA based media servers from the internet, I prefer to use it as a LAN proxy and keep my firewall as closed as possible. It allows me to establish an OpenVPN connection from my Android device(s) and access the media content as if I was sitting at home.

Note: One thing that worked really well for me throughout this process was staging the whole thing in a virtual machine. My laptop is a MacBook Air, so using VMware Fusion I was able to create a small virtual machine running Ubuntu Server and test almost all of the stages of the build. When it came time to bring down the home server and wipe it, most of the hard work was done and I was simply following my own instructions.

No comments: