文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>How to move NS2 between different hosts?

How to move NS2 between different hosts?

时间:2008-04-16  来源:zcwuwei

2007-10-11 11:47
I have an ns2 implemented a power-control function in my vmware machine(/home/s/ns-allinone-2.31). I add the NOAH module, get rid of the ARP module, add something to control the wireless transmission power.

Today I moved it to the simulation server with higher computation capability and larger disk space and available memory.

I set up an original version of ns2 on the simu-server(/home/fang/ns-allinone-2.31). Then I move the ns2 folder in the vm to the server through ftp.

Suppose we are under the ns2-2.31-allinone folder:

1. rm -rf ./ns-2.31
2. mv vm-ns-2.31 ./ns-2.31
(1&2 let the new folder replace the original folder)

3. remember to replace all the /home/s/ns-allinone-2.31 with /home/fang/ns-allinone-2.31 in Makefile and tcl/lib/ns-autoconf.tcl.

4. make clean; make

中文:将一台机器上修改过的ns2移动到另外一台机器上安装起来,两台机器的allinone包的安装路径不同,需要修改一些编译的路径才能重新建立起仿真环境。

更多文章:http://hi.baidu.com/vvfang/blog/category/Ns2%20Related
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载