Monday, February 21, 2011

Installing ns2

For:
         CentOS 5.4 (i686)

         Kernel 2.6.18-194.11.3.el5

         KDE 3.5.4-25.el5.centos.1 RedHat



Instructions:



1) Download ns2 from http://sourceforge.net/project/showfiles.php?group_id=149743&package_id=169689&release_id=684492



2) Install required packages:



yum install make*.*

yum install autoconf

yum install automake

yum install gcc-c++

yum install libX11-devel

yum install xorg-x11-proto-devel

yum install libXt-devel

yum install libXmu-devel



3) Install ns2:



tar -xzf ns-allinone-2.34.tar.gz

cd ns-allinone-2.34

./install



After the install process finishs, follow the instructions and add the required directories to the environment variables.

Run the validate script:



./validate



At this stage, you should be ready to go.

No comments: