Have completed my Ubuntu 12.04.2 LTS install and configured lxc (Linux Containers). I am so far very impressed just how easy it was to get this working out of the box. I think the Ubuntu team who produce Ubuntu 12.04.2 LTS has to be given a big clap. Very fine job.
I’ve install some Debian squeeze lxc’s and Ubuntu ones. All seem to work great and I will post more details soon on what I have done and how it was performed, as it might help anyone thinking of doing the same.
I wanted to do this so I could run some other software on the containers and not clutter the host install. Although the host will see the processors for the container etc. But that’s fine and expected on how lxc works.
My aim was to install Mythtv as a master backend into a container and have it use my HDHomerun network based tuner. This has actually worked, and I am currently running it now, however I noticed during reboot/auto start of the container that the mythtv-backend wouldn’t start. Turns out the upstart configuration is not going to work on a linux container. Wiki page here is the link to the config that ships in Ubuntu 12.04.2, and below is my change I made so that I could get it to start automatically, it’s a hack and needs some further investigation, but I was in a rush to get it working in my environment.
root@delta:~# cd /etc/init
root@delta:/etc/init# cat mythtv-backend.conf | grep start
#start on (local-filesystems and net-device-up IFACE!=lo and started udev-finish)
start on net-device-up IFACE!=lo
As per above, I hash out the original start on line and create the amended one below it. This is perform in the file /etc/init/mythtv-backend.conf
Now it will start correctly in my container at boot.
I’ve been building a replacement server for my current mythtv box that is running on OS X Lion.
To install shepherd epg grabber I used the following procedure:
Install Active Perl form ActiveState.
make sure you add activeperl to your .profile:
install shepherd prerequisites:
Install perl MySQL client
ppm install DBD-mysql
then install HTTP Cache Transparent proxy
ppm install HTTP-cache-transparent
uncompress xmltv, change directories and compile
Well I know I said I was going to get a SSD, but when it was all said and done I decided not too. As my machine is already fast enough when I play bf3. So thought I’d get something else.
I nearly got a hdhomerun when they first hit australia 3 years or more ago, but held off for other reasons, but I thought, I will get one of these instead. So told the wife to buy me one for my Birthday.
Intend on using it with Mythtv, and EyeTV on mac. It will be good to use Mythtv again, as I use to use it with Twinhan tuners years ago and wrote some wiki pages on it at Mythtv. One of those pages is here. Can’t seem to find the other one I wrote years ago.
In addition, I am also going to buy a Ubiquiti Unfi 802.11n internal access point, as those things look awesome and the features look great too. Will post my thoughts on it once I have it configured, really interested in the guest stuff it can do. Not to mention the controller/management software available.