There are many ways in which we can setup networking for LXC containers - simple to highly complex. In this blog post I will get the simple steps required in order to have networking work for LXC containers using libvirt. It is hard to create bridges on WiFi interfaces unless your network foo is high (YMMV), but libvirt makes things simple irrespective of the interface. When your dev box is a laptop and want to use LXC on it, then instead of spending hours to get the networking work with the WiFi or avoid getting stranded to cable when using LXC on the laptop, libvirt comes handy. The steps below are tested on Debian Stretch / Testing / Unstable / Sid - give it a shot on other distros with equivalent packages.
This is a continuation to "Access Android devices from LXC" which explains how to access an Android device from within an LXC container. Android Compatibility Test Suite (CTS) represents the "mechanism" of compatibility for Android devices. It is a suite of tests that are run on an Android device to check compatibility of the device under test. We shall see how we can run CTS within LXC so that we have an option of running CTS from different operating systems and different JAVA versions.
I was introduced to Debian Operating System back in my college days somewhere in the year 2003. After almost 12 years of using Debian, today I feel proud to say I ve also contributed back to the Debian Community. Yes, I became a Debian Maintainer this week. Introduced in Debian Project News as a New Contributor - https://www.debian.org/News/weekly/2015/06/ I successfully completed Debian New Maintainer process and officially became a Debian Maintainer this week with my GPG key included in the Debian Maintainer Keyring!
add-apt-repository is a command which allows us to add a new repository link to the apt sources ie., /etc/apt/sources.lst file. This is very handy in order to add PPA archives. The advantage of using this command is, it will automatically import the gpg public key of the repository and registers it.
In Ubuntu version 12.10 ie., Quantal this command is not part of 'python-software-properties' package, like the previous ubuntu versions, but available in 'software-properties-common'. In order to install add-apt-repository in 12.10, we must install the package 'software-properties-common' as follows:
$ sudo aptitude install software-properties-common
To find in which package the command we are looking for exists the following will be of help:
$ sudo apt-file update
$ sudo apt-file search add-apt-repository
NOTE: The above commands assume 'apt-file' is already installed in your system.
OpenShift is a free cloud-based application platform from RedHat. Of late I caught an interest in Cloud Computing and wanted to try out different stuff. Though I did extensive reading on Eucalyptus, Amazon EC2, Ubuntu Cloud, etc. I wanted to try something hands on and chose to experiment with OpenShift. OpenShift has two flavors such as Express and Flex. Express is a shared application platform which supports Ruby, PHP, and Python applications. On the other hand flex is dedicated platform-as-a-service for Java and PHP applications which creates and provides management capabilities to operate on Amazon EC2 clouds (in future more cloud platforms will be added).
In work I wanted python2.7 for using some latest modules. I run Debian 6.0 ie., squeeze in my laptop, but python2.7 is available in Wheezy or Debian testing. In order to install python2.7 from the testing repository add the following in your sources.list file ie., /etc/apt/sources.list
deb http://mirror.cse.iitk.ac.in/debian/ testing main contrib
After adding the testing repository, do an update and then install python2.7 package as follows:
$ sudo aptitude update
$ sudo aptitude install python2.7