Welcome in EnggRoom

Home | OurTeam | Contact Us | Site Map
enggroom
  • Study Material
    • Lecture Note
    • Lecture PPT
  • Seminar PPT
  • Placement Paper
    • Company Paper
    • Gate Paper
  • Computer Project
    • ASP.NET
    • VB.NET
    • PHP
    • JAVA
    • C++
    • PROG.IN C
    • OTHERS
  • ProjectAbstract
  • Project Ideas
  • Interview Question
  • Upload
  • Request
  • Feedback
Download Project
Free Download Project
Asp.Net Project
Vb.Net Project
Php Project
Java Project
C/C++ Project
Android Project
Others Project
Latest Seminar
Free Download Latest Seminar
Study Material
Free Download Lecture Note For Computer Science
Free Download Lecture PPT For Computer Science
Placement Paper
Company Placement Paper
Gate Paper
Miscellneous
Best Project Ideas
Interviews Questions For Freshers
Request
Feedback

 

Download Project

Download Project


ASP Project Install NS-2 in Fedora OS within a 5 Minutes.

Step 1: Install Fedora Operating System.
Step 2: Download ns-allinone-2.35.tar.gz from the internet.
Step 3: Open a Terminal in Fedora.
Step 4: untar the tar of ns-allinone-2.35.tar.gz using following command: tar -zxvf ns-allinone-2.35.tar.gz
Step 5: cd ns-allinone-2.35
Step 6: ./install It take 2-3 minute for installation. After the successfully installation of ns-2, it display following instructions:
Ns-allinone package has been installed successfully.
Here are the installation places:
tcl8.5.10:/root/nn/ns-allinone-2.35/{bin,include,lib}
tk8.5.10: /root/nn/ns-allinone-2.35/{bin,include,lib}
otcl: /root/nn/ns-allinone-2.35/otcl-1.14
tclcl: /root/nn/ns-allinone-2.35/tclcl-1.20
ns: /root/nn/ns-allinone-2.35/ns-2.35/ns
nam: /root/nn/ns-allinone-2.35/nam-1.15/nam
xgraph: /root/nn/ns-allinone-2.35/xgraph-12.2
gt-itm: /root/nn/ns-allinone-2.35/itm, edriver, sgb2alt, sgb2ns, sgb2comns, sgb2hierns
---------------------------------------------------------------------
Please put /root/nn/ns-allinone-2.35/bin:/root/nn/ns-allinone-2.35/tcl8.5.10/unix:/root/nn/ns-allinone-2.35/tk8.5.10/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.
IMPORTANT NOTICES:
(1) You MUST put /root/nn/ns-allinone-2.35/otcl-1.14, /root/nn/ns-allinone-2.35/lib,
into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries
into LD_LIBRARY_PATH.
If you are using csh, you can set it like:
setenv LD_LIBRARY_PATH
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=
(2) You MUST put /root/nn/ns-allinone-2.35/tcl8.5.10/library into your TCL_LIBRARY environmental
variable. Otherwise ns/nam will complain during startup.
After these steps, you can now run the ns validation suite with
For trouble shooting, please first read ns problems page
http://www.isi.edu/nsnam/ns/ns-problems.html. Also search the ns mailing list archive for related posts.
Step 7:Understand this important instruction properly and set path according the instruction.
Step 8:As per instruction, we modify two file name as a .bash_profile and .bashrc which are already hide in ns-allinone-2.35 Folder, so we need to unhide of all the file in ns-allinone-2.35 Folder.
Step 9:Modify .bash_profile file as follows:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/root/ns-allinone-2.35/bin:/root/ns-allinone-2.35/tcl8.5.10/unix:/root/ns-allinone-2.35/tk8.5.10/unix
LD_LIBRARY_PATH=/root/ns-allinone-2.35/otcl-1.14:/root/ns-allinone-2.35/lib
TCL_LIBRARY=/root/ns-allinone-2.35/tcl8.5.10/library
export PATH
unset USERNAME
Step 10:Modify .bashrc file as follows:
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
PATH=$PATH:$HOME/bin:/root/ns-allinone-2.35/bin
Step 11:Save that two file and close terminals and all file, folder. Reopen a terminal and write the ns command. If % sign display as responds. This means ns-2 successfully install on machine.

Document By: Naitik V. Patel (M.Tech Computer Engineering)


www.enggroom.com, All rights reserved.This website is published by a member of the Our Team. appreciation to me.Click here