I. Installation
1. Download
: Http://www.isi.edu/nsnam/ns/ns-build.html
Download the latest version 2.35 in the red box:
Note:
The official home page for NS-2 is http://www.isi.edu/nsnam/ns/
You can download relevant manuals and software packages;
Since the NS-2 is a complex integrated software, in addition to the NS-2 itself, there are a variety of auxiliary tool software, so it is generally recommended to use a one-time installation package of the NS-2 allinone (all in one) install NS-2 to build our lab environment.
2. Installation
1s-move the ns-allinone-2.35.tar.gz compressed package to the directory/usr/NS-2
[Root @ Client04 ~] # Mkdir/usr/NS-2
[Root @ Client04 ~] # Music ns-allinone-2.35.tar.gz/usr/NS-2
[Root @ Client04 ~] # Mkdir/usr/NS-2/NS-2
2)decompress ns-allinone-2.35.tar.gz to the specified directory NS-2
[Root @ Client04 ~] # Tar-zxvf/usr/NS-2/ns-allinone-2.35.tar.gz-C/usr/NS-2/NS-2
3) Enter directory ns-allinone-2.35
[Root @ Client04 ~] # Cd '/usr/NS-2/NS-2'
[Root @ Client04 ns-allinone-2.35] #
4) install NS-2
[Root @ Client04 ns-allinone-2.35] #./install
Wait until the installation is complete. After the installation is complete, the following error occurs:
Indicates that the installation is successful!
For more details, please continue to read the highlights on the next page:
Installing ns-2.33 in Ubuntu 11.04 errors and Solutions
Ns2.34 _ Ubuntu installation record
Fedora 8.0 + NS-2.33 Installation Process notes