Visited Prema Vasam

20 Mar 2013
Posted by stylesen

This year on the special day that is February 25th I visted Prema Vasam which is a school for the specially abled located in Gerugambakkam near Porur in Chennai. I went to the school at around 4pm along with my brother Yogeshwaran and donated a small amount for the students of the school. I also managed to spend sometime in the school with children (I could not hold more than 30 minutes in the school, since I had mixed thoughts and want to leave after sometime).

Before I visited the school I had an impression that it is a very small school that holds 6 to 7 students, but reality was different when I went there. I was very upset that there were around 100+ students in the school. I was very happy about Prema Vasam's management which was able to handle all the students and they do it as a service. Folks in Prema Vasam should continue to do this good work in future too and my sincere support will always be there!

Prema Vasam visit pics

Posted by stylesen

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.

Posted by stylesen

I attended Ubuntu Developer Summit (UDS) last week in Copenhagen, Denmark. This is the first time I was attending such an event.

One of the best things happened was my interaction with Mark Shuttleworth during UDS. A picture talks a lot than words :)

Stylesen with Mark Shuttleworth

Posted by stylesen

It is possible to shell into the application space of OpenShift Express environment. This is a powerful feature which gives us full control if we are a command line junkie! If we have uploaded the public key from our current machine to in our account, then we can do a password-less login to the application shell.

Open your application and view details in which will contain the git repository url which will look like the following:

Copy the above which will act as our ssh string to connect. In order to connect via ssh use the following command which is derived from the above URL:

Posted by stylesen

In most of the old blog posts on OpenShift, in order to create Python based applications we could see the catridge that needs to be used is wsgi-3.2.1. This was confusing since, the help message of new 'rhc' clients does not lista cartridge of type 'wsgi' as follows:

  -t|--type         type         Type of app to create (nodejs-0.6, jbossas-7, python-2.6, jenkins-1.4, ruby-1.8, diy-0.1, php-5.3, perl-5.10) (required for creating an application)

From the above, it is obvious that in order to deploy a python based wsgi web application we need to create a OpenShift app with the catridge 'python-2.6' as follows:

$ rhc app create -t python-2.6 -a sampleapp

Posted by stylesen

OpenShift is a very cool platform and I got attracted. I wanted to extend my experiment and wanted to onboard an application which I have written. I thought about some ideas which I could code in python and at the same time I can test various features of OpenShift, also I wanted to learn some new web framework in python during this experiment.

Posted by stylesen

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).