Saturday, 29 December 2012

How to install NS2 in Windows

1.Install cygwin by running setup.exe
2.Copy ns-allinone-2.311.tar from the source cd
3.Copy it to C:cygwin
4.Open cygwin and type the following command
    cd c:
    cd cygwin
5.Extract the files by running the following command:
    tar -zxvf ns-allinone-2.311.tar
6.After file extraction type
    cd ns-allinone-2.31
7.type ./install to initiate setup
8.Copy the path that is displayed after the words "Please Put" and paste it in the notepad
9.Delete the words "Please Put" and make the path as a single line by pressing the delete key at the end of the first line.
10.Now copy the path to the cygwin and type the following command:
    export PATH=$PATH:(copied URL)
11.Press enter
12.Add the environment variables of Ns and Cygwin directory
13.Done

No comments:

Post a Comment