Just finished, here are the steps I followed:
Add to System->Tunables (rc.conf):
ng_ther_load=“YES”
iohyve_enable="YES"
iohyve_flags="kmod=1 net=em0"
Setup pool “ssd” for virtual machine:
iohyve setup pool=ssd
Setup network bridge (check your interfaces with ifconfig):
iohyve setup net=em0
Load kernel modules:
iohyve setup kmod=1
Fetch Debian network install ISO
iohyve fetchiso http://cdimage.debian.org/debian-cd/8.4.0/amd64/iso-cd/debian-8.4.0-amd64-netinst.iso
Set up VM
iohyve create roonserver 50GB
iohyve set roonserver ram=2GB
iohyve set roonserver cpu=1
iohyve set roonserver loader=grub-bhyve
iohyve set roonserver boot=1
Start installation (boot the ISO):
iohyve install roonserver debian-8.4.0-amd64-netinst.iso
Connect to virtual serial console (login root, no pw, exit the console with ~~. ):
iohyve console roonserver
Follow the on screen GUI to install
When asked for packages, deselect the GUI and select SSH
Edit the network interface file
vi /etc/network/interfaces
In the interfaces file look for a line such as:
iface eth0 inet dhcp
Put a hash at the beginning of the line to disable it or delete it:
#iface eth0 inet dhcp
#Add the following lines
# The loopback interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
#your static IP
address 192.168.0.225
#your gateway IP
gateway 192.168.0.1
netmask 255.255.255.0
#your network address “family”
network 192.168.0.0
broadcast 192.168.0.255
Enable root login via ssh:
cd /etc/ssh/
cp sshd_config sshd_config.org
vi sshd_config
Find the following line in /etc/ssh/sshd_config
Remove the # and change prohibit-password to yes from the line below:
PermitRootLogin prohibit-password
becomes:
PermitRootLogin yes
Stop the system
init 0
And test with:
iohyve destroy roonserver
iohyve start roonserver
iohyve console roonserver
Make certain your freenas has the NFS share set up
Enter:
mkdir /mnt/MusicStore
mount -t nfs titan:/mnt/DataVault/MusicStore /mnt/MusicStore
Edit /etc/fstab to include the mount using a line:
mount -t nfs titan:/mnt/DataVault/MusicStore /mnt/MusicStore
Also add the following lines for SSDs:
tmpfs /var/log tmpfs defaults 0 0
tmpfs /var/tmp tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
###Save and test using the following commands:
umount /mnt/MusicStore
mount -av
IMPORTANT There should not any error messages!!!
RoonServer Installation
apt-get install cifs-utils
apt-get install curl
Make directories
cd /opt
curl -O http://download.roonlabs.com/builds/roonserver-installer-linuxx64.sh
chmod +x roonserver-installer-linuxx64.sh
./roonserver-installer-linuxx64.sh