For the longest time now I have been running Debian squeeze. Initially I did not update my system to Wheezy due to the whole Gnome 3 debacle. Then with the advent of the Mate I was up for an upgrade but figured I would wait until Jesse. Unfortunately, Jesse decided to incorporate systemd. I learned what I could about systemd but it just caused to many issues for me.
Alas, I have finally reached the point where I need software that I just can’t run native in Debian 6 anymore. One big example is Google Chrome Web browser. I would like to have this browser so that I can watch Netflix. Running graphical applications in a chroot environment can be tricky. I explored some options on how to make it easier. I downloaded the xchroot script but found it unnecessarily complicated; meaning I could script together something just as “flexible.” This is what brought me to schroot.
I was an early adopter to the roku Streaming Video Player. The only downside I could find with the device was the inability to stream your own video from within your own home network. Over the years several options have arisen to include: roConnect, Plex, roksbox, and others. After testing all of these over the last year I found the roksbox channel to be the best for my needs. roksbox allows me to stream from a plain old web server which is very powerful. The setup can be daunting but that is only because of the huge amount of options available. As is often the case with technology, the more powerful an application is often the more difficult it is to setup.
Most modern filesystems allow you to create virtual disk files without pre-allocating disk space. These virtual disks grow in size as the space is needed. The default virtual disk image type in KVM/QEMU is a sparse “raw” disk image which consumes real disk space as files are added. Interestingly, when files are deleted the virtual disk does not shrink. This makes sense as deleting files from a filesystem doesn’t typically erase the data but only the reference to where the data is stored on the disk. What follows is a recipe to reclaim this disk space. Read more
Not too long ago VMware has a product called “VMware Server” which originally came with a dedicated management application. Later VMware threw out the console and created a web interface for VMware Server. Not long after that they completely threw VMware Server away in favor of their new enterprise software solution(s) ESX/ESXi/vCenter/vSphere/etc. For the new(ish) VMware Workstation 8 one of the most notable features is the “Shared VMs” which is more or less a reawakening of their original VMware Server application functionality. With this feature you can once again set VMs to run in the background, autostart, and access via network. However a problem arises with the installation on systems which use insserv. Read on and I’ll explain the problem and show you how to fix it. Read more
Continuing on with this project it became necessary to look a little deeper on how apt based software repositories handle version numbers. At first I thought this was the silliest overly complicated mess I could imaging. For instance, how does one compare package versions that look like this ‘2:1.0~rc3++svn20100804-0.2squeeze1’ with versions that look like this ‘2:1.0~rc3++final.dfsg1-1’ to determine which is newer? Luckily this is actually well documented, makes perfect sense when you stop to think about it, and (through the power of open source) easy to accomplish programatically. Read more