Running CGI Scripts on Apache2

Intro Have you ever wanted to create a webpage or process user input from a web-based form using Python? These tasks can be accomplished through the use of Python CGI (Common Gateway Interface) scripts with an Apache web server. CGI scripts are called by a web server when a user requests a particular URL or interacts with the webpage (such as clicking a “Submit” button). After the CGI script is called and finishes executing, the output is used by the web server to create a webpage displayed to the user. ...

September 30, 2015 · 3 min · Tasdik Rahman

My Ramblings with Oracle-11g

Intro : I have recently started using Oracle 11g and boy, doesn’t it come with enough problems already!! However, it may be due to my undying allegiance to mysql and sqlite. But whatever be the case. Here are some of the things which I found would be useful to a first time user of Oracle 11g. I will try to update it when I find something useful. If you haven’t already installed Oracle 11g. I wrote a small article on how to do so sometime back. ...

September 27, 2015 · 5 min · Tasdik Rahman

Install and Configure Oracle-11g on Ubuntu-14.10

Intro : Well as luck would have it, we were having our Database labs in ORACLE 11g as part of the coursework. And I must admit, I still have my love for mysql. I installed it on my system(after a lot of trials!) this way. Next part of this article Pre-requisites: JAVA should be installed and the environment variable for it should be set. Check it by doing {% highlight bash %} tasdik@Acer:$ java -version java version “1.7.0_79” OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.10.2) OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode) tasdik@Acer:$ echo $JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64 tasdik@Acer:~$ {% endhighlight %} ...

September 26, 2015 · 5 min · Tasdik Rahman

Workaround for deleting Columns in SQLite

Intro : SQLite has limited ALTER TABLE support that you can use to add a column to the end of a table or to change the name of a table. If you want to make more complex changes in the structure of a table, you will have to recreate the table. You can save existing data to a temporary table, drop the old table, create the new table, then copy the data back in from the temporary table. ...

September 18, 2015 · 2 min · Tasdik Rahman

Install Hadoop(Multi Node)

Intro: In this article, I will describe the required steps for setting up a distributed, multi-node Apache Hadoop cluster backed by the Hadoop Distributed File System (HDFS), running on Ubuntu Linux. I am using nano as the text editor for this article but you can use any other text-editor like vi, sublime or atom for doing the same I suggest you set up hadoop on single node before directly going for multi node as it will be easier to debug any errors. I have explained about how to setup single node hadoop on ubuntu ...

September 13, 2015 · 8 min · Tasdik Rahman

Install Hadoop(Single node)

On a starting note : I am assuming that you have a fresh Ubuntu install on your system as this will cut down a lot of frustration trying to debug why Hadoop is not running. I am using nano as the text editor for this article but you can use any other text-editor like vi, sublime or atom for doing the same Next article : Install Hadoop Multi Node 1.0.3 on Ubuntu 14.04.2 ...

September 10, 2015 · 6 min · Tasdik Rahman

ROS Jade : Configuration

Configuring ROS If you have not installed ROS, I have written a short guide describing the process. It can be found here found here Install ROS - Jade on Ubuntu 14.10 The first step is to check whether the environment variables for ROS are setup properly Do a {% highlight bash %} tasdik@Acer:~$ export | grep ROS {% endhighlight %} Look for ROS_ROOT and ROS_PACKAGE_PATH whether they are set. It should look something like this ...

August 28, 2015 · 2 min · Tasdik Rahman

ROS Jade : Installation

What the heck is ROS anyway : Robot Operating System (ROS) is a collection of software frameworks for robot software development, providing operating system-like functionality on a heterogeneous computer cluster. So in layman terms, it just helps us build robot applications. Previous post on ROS : Configuring ROS - Jade on Ubuntu 14.10 Note : ROS Jade ONLY supports Trusty (14.04), Utopic (14.10) and Vivid (15.04) for debian packages. If you are on any other version of Ubuntu or have a different flavor of linux installed, I suggest you head over to wiki.ros.org. ...

August 28, 2015 · 4 min · Tasdik Rahman

Apache2 : Virtual Hosts

What do we need? The two most common tools for this are the Apache and nginx servers. Notes: You’ll need to edit a few system configuration files. If you’re uncomfortable with vim, replace vim with nano, or gedit in the following commands. For example, sudo vim will become sudo -H gedit or sudo nano. Once you’re done setting it up, have a look at How to avoid using sudo when working in /var/www? A more detailed guide is available from the Ubuntu LTS Server Guide. ...

August 21, 2015 · 3 min · Tasdik Rahman