-
Notifications
You must be signed in to change notification settings - Fork 3
Plex Server
Kamilion edited this page Oct 7, 2015
·
2 revisions
Here's a sample of what you can use kamikazi for!
To create a VM to be used a PLEX media server, we'll start with an ubuntu-server 14.04.3 base image.
Head to http://www.osboxes.org/ubuntu/ and grab the 64bit Ubuntu 14.04.3 Trusty Tahr virtualbox image.
Unpack the downloaded image with
7z e Ubuntu_14.04.3-64bit.7z
Convert the image from Virtualbox VDI format to a raw disk image.
qemu-img convert -f vdi -O raw "Ubuntu 14.04.3 (64bit).vdi" ubuntu-14.04.3-64bit.img
Create a new xen configuration file in the same directory as the disk image. Make sure you get the full path to the disk image right!
name = "plex"
vcpus = 4
memory = 4096
maxmem = 4096
on_reboot = 'restart'
on_crash = 'restart'
kernel = "/usr/lib/xen-4.5/boot/grub-x86_64-xen.bin"
vif = [ 'mac=02:00:02:00:00:20' ]
disk = [ '/srv/vms/active/test/ubuntu-14.04.3-64bit.img,,xvda' ]
This configuration's a little excessive, dedicating 4 CPUs and 4GB of memory to the plex VM.