Chinaunix首页 | 论坛 | 博客
  • 博客访问: 448505
  • 博文数量: 135
  • 博客积分: 4177
  • 博客等级: 上校
  • 技术积分: 1145
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-13 17:16
文章分类

全部博文(135)

文章存档

2011年(5)

2010年(4)

2009年(26)

2008年(25)

2007年(29)

2006年(42)

2005年(4)

分类: LINUX

2008-07-24 18:07:42

NS2(要从头至尾完完全全的弄清楚)
[root@Install-Test ~]# cd /opt
[root@Install-Test opt]# ls
java             ns-allinone-2.30.tar.gz  opennms-install  rrdtool
netsnmp-install  opennms                  pgsql            tomcat
[root@Install-Test opt]# tar -xvf ns-allinone-2.30.tar.gz
#解压
[root@Install-Test opt]# ln -s ns-allinone-2.30 ns2
#产生一个链接
[root@Install-Test opt]# cd ns2
[root@Install-Test ns2]# ./install
#安装的时间有些长,慢慢等^0^
For trouble shooting, please first read ns problems page
. Also search the ns mailing list archive
for related posts.
#出现以上说明安装完成
 
 
加环境变量:/etc/profile
PATH=$PATH:/opt/ns2/bin:/opt/ns2/tcl8.4.13/unix:/opt/ns2/tk8.4.13/unix
 
LD_LIBRARY_PATH=/opt/ns2/otcl-1.12:/opt/ns2/lib
export LD_LIBRARY_PATH
 
TCL_LIBRARY=/opt/ns2/tcl8.4.13/library
export TCL_LIBRARY
阅读(693) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~