Sunday, April 20, 2014

Installing Boot Repair in Ubutu 14.04 Trusty

I had a problem that my system was not booting after installing Ubuntu 14.04, thus I needed to install the boot-reapir,
So I used the USB from which i installed the Ubuntu.
I opened the terminal and ran following commands, (I pressed enter when asked for)

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo sh -c "sed -i 's/trusty/saucy/g' /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list"
sudo apt-get update
sudo apt-get install -y boot-repair 
 
Now in order to launch the boot repair execute the following command
boot-repair
 
For the option selection, try with "recommended repair" first 

Friday, January 10, 2014

Installing NS2 on Ubuntu 12.04 using terminal

In order to install ns2 on ubuntu it is just like writing three commands

Open the terminal





Now type the commnad

                       "sudo apt-get install ns2"


                                       "sudo apt-get install nam"


and last command is
                                          sudo apt-get install xgraph 


and its done

now execute the command sudo apt-get update
and then "ns "in the terminal the % should appear