Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ns2 Installations and Basics Abdul Razaque. How to install Ubuntu on windows-7 & 8 Download the Ubuntu ISO file. You can get the ISO file from the Ubuntu.

Similar presentations


Presentation on theme: "Ns2 Installations and Basics Abdul Razaque. How to install Ubuntu on windows-7 & 8 Download the Ubuntu ISO file. You can get the ISO file from the Ubuntu."— Presentation transcript:

1 Ns2 Installations and Basics Abdul Razaque

2 How to install Ubuntu on windows-7 & 8 Download the Ubuntu ISO file. You can get the ISO file from the Ubuntu website. An ISO file is a CD image file that will need to be burned before you can use it. http://www.ubuntu.com/download/desktop

3 How to install Ubuntu on windows-7 & 8

4

5

6

7 You should download image-burn from following website. www.imageburn.com/

8 How to install Ubuntu on windows-7 & 8

9

10

11

12

13

14

15

16

17

18

19

20 Installation of n2 STEP1: Make it sure that internet connectivity is good. Download NS2.35 from http://www.isi.edu/nsnam/ns Step 2: make a new folder [ns] in /home Extracts downloaded files in above folder. Step 3 : copy downloaded ns-allinone-2.35.tar.gz in /home/ns Step 4 : open terminal Step 5: Run following commands cd ns-allinone-2.35 sudo apt-get update sudo apt-get install build-essential autoconf automake libxmu-dev Step 6 :Run following command./install Step7: Run following command to install X – graph $ sudo apt-get install xgraph Step 8. Set environment variables run this command gedit ~/.bashrc

21 Installation of n2 Add the following lines to the end of the file. Remember replace "/your/path" by the folder where you have stored extracted the ns-2 file (For example, if your Linux account name is purple, and you have extracted the file to your home directory, you have to change /your path to /home/ns) CONTINUED.. # LD_LIBRARY_PATH OTCL_LIB=/your/path/ns-allinone-2.35/otcl-1.13 NS2_LIB=/your/path/ns-allinone-2.35/lib X11_LIB=/usr/X11R6/lib USR_LOCAL_LIB=/usr/local/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB # TCL_LIBRARY TCL_LIB=/your/path/ns-allinone-2.35/tcl8.4.18/library USR_LIB=/usr/lib export TCL_LIBRARY=$TCL_LIB:$USR_LIB

22 Installation of ns2 # PATH XGRAPH=/your/path/ns-allinone-2.35/bin:/your/path/ns-allinone- 2.35/tcl8.4.18/unix:/your/path/ ns-allinone- 2.35/tk8.4.18/unix NS=/your/path/ns-allinone-2.35/ns-2.35/ NAM=/your/path/ns-allinone-2.35/nam-1.14/ PATH=$PATH:$XGRAPH:$NS:$NAM

23 Simple way to install ns2 Sudo apt-get install ns2 Sudo apt-get install nam Sudo apt-get install xgraph

24 Simple way to install ns2

25

26

27 Ns node creation


Download ppt "Ns2 Installations and Basics Abdul Razaque. How to install Ubuntu on windows-7 & 8 Download the Ubuntu ISO file. You can get the ISO file from the Ubuntu."

Similar presentations


Ads by Google