Blog

Home Server Setup ā€“ Useful Links

Iā€™ve mentioned in a couple of previous posts that Iā€™ve refreshed my home server recently. In setting everything up I spent a lot of time googling around looking for information on how to do things that for the most part Iā€™d done before on my previous server.

To help me avoid future googling if/when I need to go through this process again, Iā€™ve been creating a whole bunch of bookmarks this time around. I thought Iā€™d share them in case theyā€™re useful to anybody else.

oVirt Hypervisor

Linux Server

Windows Server

Blog

New Home Server Setup

As I mentioned briefly in a previous post, my home server is in desperate need of an update. Last weekend I took the plunge and bought the hardware necessary to build a replacement.

I donā€™t need anything especially powerful ā€“ the chief function of this device is as network-attached storage ā€“ but I do want room to grow and do things with this new server that werenā€™t possible with the hacked pogoplug device I was using previously.

image

I bought a Celeron-powered Intel NUC, a 750gb harddrive, 8gb of RAM and an 8gb USB drive. My intent was to use the 8gb drive as the boot device, keeping the harddrive entirely free for storage purposes.

I chose the Intel NUC primarily because of its small size and low power consumption (it uses a particularly small amount of electricity with the Celeron processor in the model I opted for). Iā€™m a big fan of this platform though, and when the time comes to replace the media-centre PC that lives underneath the TV in our living room I will probably buy another one of these. That said, the platform is not not without its problems. Read on, to learn how I set mine up.

Hardware Installation

First things first is hardware installation, and this was especially simple. You remove four screws from the base of the computer and the lid slides off. Inside youā€™ll find a metal chassis for the 2.5ā€ HDD, and you lift that out to revel the motherboard.

image

In my model of NUC thereā€™s a single SODIMM slot for the RAM, so I slotted that in. Next up is the HDD itself. The chassis includes brackets to hold the drive in place and the power and data connectors are already positioned. The drive just slots in, and you insert a couple of screws to hold it in place.

image

And thatā€™s really all there is to it! You put the cover back on, and tighten the four screws on the base of the unit. Done.

BIOS Update

The first thing to do is update the systemā€™s BIOS, and this really is an essential step. This thing comes with Intelā€™s visual BIOS, and the version it ships with has some issues.

image

Updating isnā€™t difficult: Head on over to Intelā€™s website, download the latest firmware and put it on a USB drive, boot into the BIOS and hit F7.

Even with the latest version installed, the BIOS is where this thing falls down, in my opinion. If youā€™re planning on installing Windows 7 or 8 on this thing then you probably wonā€™t run into any problems. My plan was to install an alternate OS though, and I ran into a whole bunch of issues. I believe this was because of bugs in the BIOS and its implementation of EFI, but I donā€™t know enough to say this for sure.

Software Installation

My plan was to install vSphere Hypervisor and use this thing to host a couple of virtual servers. vSphere has a hardware compatibility list and none of my hardware is on it, but Iā€™d done some reading and learned that I could slipstream drivers for the HDD and network card into the install. Nevertheless, I never did manage to install vSphere ā€“ the install just froze every time and I couldnā€™t get through it no matter what I tried.

The next hypervisor I tried was Proxmox VE. The install completed just fine, but I couldnā€™t get the server to boot. While the problems I had with vSphere may well have been in relation to my use of unsupported hardware, I firmly believe my problems installing Proxmox were related to the BIOS, or at least an incompatibility between the EFI implementation in Proxmoxā€™s version of the Linux kernel and the BIOSā€™ EFI implementation. I never did manage to get this working either, except for briefly with a cludgy workaround involving booting from a live-CD and entering the relevant commands to make GRUB boot the OS installed on the HDD instead.

After a day of frustration and failed attempts to install an OS, I moved on to my third VM hypervisor, oVirt. With vSphereā€™s proprietary solution the OS and the hypervisor are closely intertwined. Itā€™s possible to install Proxmox on top of an existing Debian install, but itā€™s not the recommended way of doing things and the process seems complex. oVirt, by contrast, seems to have been designed to be installed on top of an installation of CentOS. An all-in-one install image is offered, but after the previous dayā€™s failures I didnā€™t even bother with this ā€“ I did a (successful!) minimal install of CentOS and then used the yum package manager to add oVirt on top.

With the hypervisor up and running, I used the web-interface to install Ubuntu Server into one VM and Windows Server 2008 into another. I plan on adding two more virtual machines, one Linux and one Windows, for testing and playing around.

image