Monday, 12 November 2012

Linux Choices

I found a really good post in one of the linux groups and ia ma sharing it with you guys with slight modifications.

Thanks to

for coming up with this awesome and easy document.

Here is the Index

  1. Distro Base Type
  2. Update development model
  3. Base Distros to watch
  4. Architecture
  5. Desktop choice
  6. Use of distros and why most ditros could do the same things
  7. Application choices

Saturday, 18 August 2012

NS2 (NS-2.35) Installation in Ubuntu

This post will help you in installing Network Simulator 2 version NS2.35 in Ubuntu 11.10
  • Install Ubuntu
  • Download NS-2.35
  • Unzip or untar it to any folder (recommended is /home/loginname) using the following commands one by one
sudo apt-get update
sudo apt-get build-essential autoconf automake libxmu-dev
tar zxvf ns-allinone-2.35.tar.gz
cd ns-allinone-2.35
  • Once installed the PATH information will be provided to you.
  • Copy the PATH and LD_LIBRARY_PATH Variable to .bashrc (see a dot in the beginning)

Installing Ns-2 in Windows using Cygwin

In this tutorial i will explain how to install Ns-2,a network simulator that has been developed for Linux environment in Windows.

STEP-1[Installing Cygwin]

     1| Download  the cygwin binary from cygwin website or here is a direct link to the cygwin setup

     2| Perform the Installation of Cygwin as follows :

           a | Double click on the setup file setup.exe
           b| Let the Installer fire up.

Friday, 13 July 2012

How to execute a .run file

When softwares such as Vmware virtual machine , metasploit or graphics drivers etc.. are downloaded,it is usually a file with .run extension .
So how do you go about executing this file?

There are two methods for doing this:

Lets consider the name of our file to be

Sunday, 15 April 2012

apt-get : Could not get a lock on /etc/lib/dpkg

There are times in which you start to upgrade Ubuntu on a dial-up connection using apt-get upgrade and realise it is not going to happen any time soon and cancel the upgrade or if you interrupt or cancel the installation while you are using aptitude to install a package,then you get errors such as

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

So what will you do in such situations ?

You just need to follow the next few steps and tada everything is solved :
  • I killed all the packages  anyway:
                    killall -9 apt* kpackage dpkg
  •  If you ever use synaptic (it's removed from my system), you should make that:

                 killall -9 apt* kpackage dpkg synaptic
  • Having confirmed that there were no "rogue" pkg. managers running, I checked, removed, & rechecked the lock file:
                      ls -l /var/lib/dpkg/lock
                     rm -f /var/lib/dpkg/lock
                     ls -l /var/lib/dpkg/lock
  • Finally, just fix it up:

             aptitude safe-upgrade
                dpkg --configure -a 
  • In the end if required just update the file database using
                sudo updatedb

Saturday, 7 April 2012

Why Free Software ??

Hi all. Well, This is one post that i believe every person who comes to this Blog must read. There have been many arguments made by many people to me regarding why they should use Free Software. This post is regarding this matter. And this post is made  from my heart rather than from my mind… because
 Free Software and its ideals are a part of my heart rather than my mind .

BURG- The new boot loader out there

BURG (yes it is GRUB from right to left) is a new bootloader out there. BURG stands for Brand-new Universal loadeR from GRUB.The main feature of the grub is the support for  a graphics in bootloader rather than just text as in GRUB,GRUB2 or the legacy boot loaders and heavily customisable.BURG is a brand-new boot loader based on GRUB. It uses a new object format which allows it to be built in a wider range of OS, including Linux/Windows/OS X/ Solaris/Free BSD, etc. It also has a highly configurable menu system which works in both text and graphic mode.

we will discuss how to install burg in Ubuntu