<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jimey’s Life &#38;&#38; Jimey’s World &#187; NS2</title>
	<atom:link href="http://jimey.com/category/c/network/ns2-network-c/feed" rel="self" type="application/rss+xml" />
	<link>http://jimey.com</link>
	<description>Learning something new everyday</description>
	<lastBuildDate>Thu, 05 Aug 2010 08:03:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>ICU一教授整理的资料</title>
		<link>http://jimey.com/2009/03/06/icu-finishing-a-professor-of-information.html</link>
		<comments>http://jimey.com/2009/03/06/icu-finishing-a-professor-of-information.html#comments</comments>
		<pubDate>Fri, 06 Mar 2009 08:44:25 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[NS2]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[KICS]]></category>
		<category><![CDATA[ppt]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/03/06/icu%e4%b8%80%e6%95%99%e6%8e%88%e6%95%b4%e7%90%86%e7%9a%84%e8%b5%84%e6%96%99.html</guid>
		<description><![CDATA[공개 자료           NS-2 Simulator for IEEE 802.16 MAC            2007년 1월 17일 한국통신학회(KICS) 초보자를 위한 NS-2 시뮬레이션 강좌 자료            2008년 1월 28일 한국통신학회(KICS) 초보자를 위한 NS-2 시뮬레이션 강좌 자료         NS-2 Simulator for IEEE802.16 MAC  Thank you for your interest in..... ]]></description>
			<content:encoded><![CDATA[<h5>공개 자료 </h5>
<ul>
<li>
<p><a href="http://cnlab.kaist.ac.kr/#mac80216">NS-2 Simulator for IEEE 802.16 MAC</a></p>
</li>
<li>
<p><a href="http://cnlab.kaist.ac.kr/#ns2beginners2007">2007년 1월 17일 한국통신학회(KICS) 초보자를 위한 NS-2 시뮬레이션 강좌 자료</a></p>
</li>
<li>
<p><a href="http://cnlab.kaist.ac.kr/#ns2beginners2008">2008년 1월 28일 한국통신학회(KICS) 초보자를 위한 NS-2 시뮬레이션 강좌 자료</a></p>
</li>
</ul>
<hr /><a name="mac80216"><br />
<h5>NS-2 Simulator for IEEE802.16 MAC </h5>
<p> Thank you for your interest in IEEE802.16 MAC simulator.     <br />You can download the ns-2 simulator for IEEE802.16 MAC at the following link: </a><a href="http://cnlab.kaist.ac.kr/802.16/ieee802.16.html">http://cnlab.kaist.ac.kr/802.16/ieee802.16.html</a>.   <br />The presentation material for the NS-2 tutorial by Korean Institute of Communication and Sciences (<a href="http://jimey.com/tag/kics" class="st_tag internal_tag" rel="tag" title="Posts tagged with KICS">KICS</a>) (Aug. 2, 2006) is also available.<br />
<hr /> <a name="ns2beginners2007"><br />
<h5>한국통신학회(KICS) 초보자를 위한 NS-2 시뮬레이션 강좌 자료</h5>
<p> 2007년 1월 17일에 한국과학기술회관에서 열렸던 초보자를 위한 NS-2 시뮬레이션 강좌의 Session 4: NS-2 Internal Structure and Extension 자료입니다.
<ul>
<li></li>
<p>     <a href="http://cnlab.kaist.ac.kr/NS2forBeginners/ns2_workshop_20070117.pdf">발표자료</a></ul>
<li><a href="http://cnlab.kaist.ac.kr/NS2forBeginners/ns2_workshop_20070117_ex.tar">예제</a></li>
<p> </a><br />
<hr /><a name="ns2beginners2008"><br />
<h5>한국통신학회(KICS) 초보자를 위한 NS-2 시뮬레이션 강좌 자료</h5>
<p> 2008년 1월 28일에 국민대학교에서 열렸던 초보자를 위한 NS-2 시뮬레이션 강좌의 Session 3: NS-2 Internal Structure and Extension 자료입니다.
<ul>
<li></li>
<p>     <a href="http://cnlab.kaist.ac.kr/NS2workshop2008/ns2_workshop_20080128.ppt">발표자료</a></ul>
<li><a href="http://cnlab.kaist.ac.kr/NS2workshop2008/NS2_workshop_20080128_ex.tar">예제</a></li>
<li><a href="http://cnlab.kaist.ac.kr/NS2workshop2008/tcl_debug_help.txt">tcldebug 설치시 configure에서 문제 발생시 참조</a></li>
<p> </a>
<p><a href="http://jimey.com/tag/debug" class="st_tag internal_tag" rel="tag" title="Posts tagged with Debug">debug</a>这部分不错，不过好像是2.31版本的。跟俺的2.33有点……区别</p>
<p> </a></a></a></p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-12-25 -- <a href="http://jimey.com/2009/12/25/christmas-activities-laboratory-of-day-trips-special-offers.html" title="圣诞节活动：实验室一日游,特价优惠">圣诞节活动：实验室一日游,特价优惠</a> (0)</li><li>2009-09-13 -- <a href="http://jimey.com/2009/09/13/seoul-next-week-to-week-two-education-seminars-ns2.html" title="下周一周二汉城NS2教育讲座">下周一周二汉城NS2教育讲座</a> (2)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/windows-environment-eclipse-debugging-environment-hadoop-remote-ubuntu.html" title="windows环境下eclipse调试远端ubuntu环境的hadoop">windows环境下eclipse调试远端ubuntu环境的hadoop</a> (12)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html" title="使用Eclipse CDT 开发NS2">使用Eclipse CDT 开发NS2</a> (0)</li><li>2009-03-05 -- <a href="http://jimey.com/2009/03/05/nsbench-introduction.html" title="nsBench介紹">nsBench介紹</a> (0)</li><li>2008-11-18 -- <a href="http://jimey.com/2008/11/18/how-to-install-ns-2-allinone-2-33-on-ubuntu-8-04.html" title="How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04">How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04</a> (0)</li><li>2008-10-06 -- <a href="http://jimey.com/2008/10/06/prior-to-the-release-of-the-virtual-space-programs-ppt.html" title="之前虚拟空间课程的发表ppt">之前虚拟空间课程的发表ppt</a> (0)</li><li>2008-10-01 -- <a href="http://jimey.com/2008/10/01/wipi-on-the-end.html" title="WIPI发表结束">WIPI发表结束</a> (0)</li><li>2008-08-25 -- <a href="http://jimey.com/2008/08/25/qualnetu002639s-concerns-and-ns2-on-the-outlook.html" title="关于QualNet的顾虑与NS2的展望">关于QualNet的顾虑与NS2的展望</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/03/06/icu-finishing-a-professor-of-information.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用Eclipse CDT 开发NS2</title>
		<link>http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html</link>
		<comments>http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html#comments</comments>
		<pubDate>Fri, 06 Mar 2009 04:44:28 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[NS2]]></category>
		<category><![CDATA[CDT]]></category>
		<category><![CDATA[DLTK]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 8.04]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/03/06/%e4%bd%bf%e7%94%a8eclipse-cdt-%e5%bc%80%e5%8f%91ns2.html</guid>
		<description><![CDATA[有些朋友好像对Eclipse CDT开发很感兴趣，我就把我用Eclipse搭建NS2开发平台的过程说一下吧，经验和大家共享。   一、我的开发环境：Mware 6.5 + Fedora Core 8 + NS 2.31+Eclipse CDT+DLTK    &#160;&#160;&#160; Eclipse CDT用的是 Europa 版本的。这个版本直接装好了Eclipse 的CDT插件。也可以用Fedora内自带的Eclipse在..... ]]></description>
			<content:encoded><![CDATA[<p>有些朋友好像对<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a> <a href="http://jimey.com/tag/cdt" class="st_tag internal_tag" rel="tag" title="Posts tagged with CDT">CDT</a>开发很感兴趣，我就把我用<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a>搭建<a href="http://jimey.com/tag/ns2" class="st_tag internal_tag" rel="tag" title="Posts tagged with NS2">NS2</a>开发平台的过程说一下吧，经验和大家共享。   <br />一、我的开发环境：Mware 6.5 + Fedora Core 8 + NS 2.31+<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a> <a href="http://jimey.com/tag/cdt" class="st_tag internal_tag" rel="tag" title="Posts tagged with CDT">CDT</a>+<a href="http://jimey.com/tag/dltk" class="st_tag internal_tag" rel="tag" title="Posts tagged with DLTK">DLTK</a>    <br />&#160;&#160;&#160; <a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a> <a href="http://jimey.com/tag/cdt" class="st_tag internal_tag" rel="tag" title="Posts tagged with CDT">CDT</a>用的是 Europa 版本的。这个版本直接装好了<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a> 的<a href="http://jimey.com/tag/cdt" class="st_tag internal_tag" rel="tag" title="Posts tagged with CDT">CDT</a>插件。也可以用Fedora内自带的<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a>在单独装上<a href="http://jimey.com/tag/cdt" class="st_tag internal_tag" rel="tag" title="Posts tagged with CDT">CDT</a>插件就行了，<a href="http://jimey.com/tag/dltk" class="st_tag internal_tag" rel="tag" title="Posts tagged with DLTK">DLTK</a>是一个TCL和Ruby的插件，实际上我只用它的高亮显示Tcl关键字的功能，不装也可以。我的NS安装路径为~/ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.31/ns-2.31/     <br />二、过程摘要：    <br />1.装好VMware和linux    <br />2.装好<a href="http://jimey.com/tag/ns2" class="st_tag internal_tag" rel="tag" title="Posts tagged with NS2">NS2</a>。配置好环境变量。    <br />a) 运行在<a href="http://jimey.com/tag/ns2" class="st_tag internal_tag" rel="tag" title="Posts tagged with NS2">ns2</a>目录下运行 ./configure &#8211;enable-<a href="http://jimey.com/tag/debug" class="st_tag internal_tag" rel="tag" title="Posts tagged with Debug">debug</a>    <br />3.安装好<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a> <a href="http://jimey.com/tag/cdt" class="st_tag internal_tag" rel="tag" title="Posts tagged with CDT">CDT</a>    <br />4.安装<a href="http://jimey.com/tag/dltk" class="st_tag internal_tag" rel="tag" title="Posts tagged with DLTK">DLTK</a>插件(可选)    <br />5.新建C++ makefile工程 workspace指定到 ~/ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.31/ns-2.31    <br />6.设置    <br />a) 把ns目录下所有文件夹添加为source文件夹    <br />b) 设定Run配置：添加ns可执行文件和变量（tcl脚本的位置）    <br />7.运行 在console中可以看到结果    <br />如果你已经知道怎么做了，那就开始吧。如果不清楚那就接着看下面的详细步骤    <br />三、详细步骤：    <br />&#160;&#160;&#160; 1-4 网上有大量资料可以参考，我简单的说几点：    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; a) VMware 6.5不要装FC7。因为vmware-tools和FC7的内核似乎不兼容，需要将FC7内核升级到2.6.23以上。所以还是装FC8。或者用VMware5.5也行。    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; b) ./configure &#8211;enable-<a href="http://jimey.com/tag/debug" class="st_tag internal_tag" rel="tag" title="Posts tagged with Debug">debug</a>在make文件中加入-g属性 然后重新编译一下ns    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; c) <a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a>需要安装JAVA虚拟机。简单的方式是安装linux时完全安装一下，FC8中已经把开发环境都配置好了    <br />现在假设你已经安装好了所有需要的软件，NS可以正常运行，那么把NS导入到<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a>中就可以了。具体步骤如下：    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; a) 新建C++ makefile工程：在Project Explorer中右键，新建C++工程；    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; b) 设置工程属性：注意位置是ns的安装目录，类型是makefile project，tool chain选linux GCC；    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; c) 完成    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; d) 在工程名上右键，选properties；    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; e) 在C/C++ General -&gt; paths and symbols中选则source location；添加NS目录下所有文件夹为source；这是为了可以从大纲视图看代码；    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; f) 设置Run：双击C/C++ Local Application， 新建一个Run配置；C/C++ Application中选择目录下的ns可执行文件。enable-<a href="http://jimey.com/tag/debug" class="st_tag internal_tag" rel="tag" title="Posts tagged with Debug">debug</a>后这个文件变大为10几M了。    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; g) 设置Arguments；把你所要仿真的tcl脚本添加进去。相当于在终端中输入ns yourTcl.tcl     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; h) 运行。如果没有设定变量，相当于直接运行ns。Console中提示符变为%; 我们可以测试一下输入    <br />puts “Hello <a href="http://jimey.com/tag/ns2" class="st_tag internal_tag" rel="tag" title="Posts tagged with NS2">NS2</a>”     <br />输出Hello <a href="http://jimey.com/tag/ns2" class="st_tag internal_tag" rel="tag" title="Posts tagged with NS2">NS2</a>    <br />安装结束。Enjoy it！    <br />四、<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a>的作用（欢迎大家讨论）    <br />1.<a href="http://jimey.com/tag/debug" class="st_tag internal_tag" rel="tag" title="Posts tagged with Debug">Debug</a>    <br />&#160;&#160;&#160; <a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a>调试C++也是调用GDB，相当于一个可视化的GDB调试环境；使用时设定断点，点<a href="http://jimey.com/tag/debug" class="st_tag internal_tag" rel="tag" title="Posts tagged with Debug">debug</a>按钮即可。    <br />2.查找代码    <br />&#160;&#160;&#160; <a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a>在项目中查找代码的作用我认为非常管用，你可以查一个关键字或者类名，看它在那定义的。只需要在变量名上ctrl+左键单击，就自动打开定义文件。感觉很爽 ^_^ 看代码会省很多事。    <br />3.CVS    <br />&#160;&#160;&#160; 写代码的时候还是用用这些代码管理软件比较好。省得改错了代码时想回都回不去，欲哭无泪啊。    <br />4 ……希望大家在使用中自己多多发现    <br />&#160;&#160;&#160; 我也是一个<a href="http://jimey.com/tag/ns2" class="st_tag internal_tag" rel="tag" title="Posts tagged with NS2">NS2</a>和<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a>的新手，希望大家多多发现<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a>在<a href="http://jimey.com/tag/ns2" class="st_tag internal_tag" rel="tag" title="Posts tagged with NS2">NS2</a>编程上的技巧，相互交流，有了发现也告诉我一声啊。^_^</p>
<p>&#160;</p>
<p>[<a href="http://www.baisi.net/viewthread.php?tid=944225" target="_blank">via</a>]</p>
<p>^^^^^^^^^^^^^^^^^^</p>
<p>用ubuntu8.04 直接</p>
<p>sudo apt-get <a href="http://jimey.com/tag/install" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> <a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a> 发现默认安装的版本是3.2.2版本</p>
<p><a href="http://jimey.com/tag/dltk" class="st_tag internal_tag" rel="tag" title="Posts tagged with DLTK">DLTK</a>只支持3.3版本以上</p>
<p>只好再找教程</p>
<h4><a href="http://thecoffeemachine.wordpress.com/2008/09/09/eclipse-34-ganymede-on-ubuntu-804-hardy-heron/">Eclipse 3.4 Ganymede on Ubuntu 8.04 Hardy Heron</a></h4>
<p><a href="http://releases.ubuntu.com/8.04/">Ubuntu Hardy Heron</a> does not have <a href="http://www.eclipse.org">Eclipse 3.4 Ganymede</a> in its deposits. Indeed the <a href="http://packages.ubuntu.com/fr/hardy/eclipse">Aptitude eclipse installation</a> will <a href="http://jimey.com/tag/install" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> <a href="http://www.eclipse.org">Eclipse 3.2</a> on your system.</p>
<p>To <a href="http://jimey.com/tag/install" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> <a href="http://www.eclipse.org">Eclipse Ganymede</a>, it must be done manually.</p>
<h3><img alt="Java" src="http://thecoffeemachine.files.wordpress.com/2008/09/java_22x19.png?w=22&amp;h=19" width="22" height="19" />Java installation</h3>
<p>By default, <a href="http://www.ubuntu.com/">Ubuntu</a> comes with a free Java interpreter: <a href="http://en.wikipedia.org/wiki/GNU_Interpreter_for_Java">gij</a>, so if you want to use the <a href="http://sun.com">Sun Microsystems</a> <a href="http://java.sun.com/javase/downloads/index.jsp">Java™ Development Kit</a> (<a href="http://java.sun.com/javase/downloads/index.jsp">JDK</a>), you will need to <a href="http://jimey.com/tag/install" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> it.</p>
<p><a href="http://java.sun.com/">Java</a> is available in the depots. You have a choice between two versions: <a href="http://java.sun.com/javase/downloads/index_jdk5.jsp">Java5</a> and <a href="http://java.sun.com/javase/6/">Java6</a>.</p>
<ul>
<li><a href="http://java.sun.com/javase/downloads/index_jdk5.jsp">Java5</a> is available in multiverse deposits for all versions of <a href="http://www.ubuntu.com">Ubuntu</a> currently supported. </li>
<li><a href="http://java.sun.com/javase/6/">Java6</a> is available in multiverse deposits since <a href="http://releases.ubuntu.com/7.04/">Feisty</a>. For <a href="http://releases.ubuntu.com/6.10/">Edgy</a> and <a href="http://releases.ubuntu.com/6.06/">Dapper</a> you’ve gor to check the backports multiverse deposits. </li>
</ul>
<p>You can <a href="http://jimey.com/tag/install" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> the following packages according to your needs:</p>
<ul>
<li><a href="http://packages.ubuntu.com/fr/hardy/sun-java6-bin">sun-java6-bin</a>: Sun Java™ Runtime Environment (JRE) 6 (depending on the architecture) </li>
<li><a href="http://packages.ubuntu.com/fr/hardy/sun-java6-demo">sun-java6-demo</a>: Sun Java™ Development Kit (JDK) 6 (demos and examples) </li>
<li><a href="http://packages.ubuntu.com/fr/hardy/sun-java6-doc">sun-java6-doc</a>: JDK™ Documentation – integration installer </li>
<li><a href="http://packages.ubuntu.com/fr/hardy/sun-java6-fonts">sun-java6-fonts</a>: Lucida TrueType fonts. </li>
<li><a href="http://packages.ubuntu.com/fr/hardy/sun-java6-javadb">sun-java6-javadb</a>: Java™ DB, Apache Derby by Sun Microsystems </li>
<li><a href="http://packages.ubuntu.com/fr/hardy/sun-java6-jdk">sun-java6-jdk</a>: Java™ Development Kit (JDK) 6 </li>
<li><a href="http://packages.ubuntu.com/fr/hardy/sun-java6-jre">sun-java6-jre</a>: Java™ Runtime Environment (JRE) 6 (independent from the architecture) </li>
<li><a href="http://packages.ubuntu.com/fr/hardy/sun-java6-plugin">sun-java6-plugin</a>: Web navigator Java™ Plugin. </li>
<li><a href="http://packages.ubuntu.com/fr/hardy/sun-java6-source">sun-java6-source</a>: JDK™ sources. </li>
</ul>
<p>The above list is the list of available packages for <a href="http://java.sun.com/javase/6/">Java6</a>. For the <a href="http://java.sun.com/javase/downloads/index_jdk5.jsp">Java5</a> packages list, simply replace <em>&quot;java6&quot;</em> by <em>&quot;java5&quot;</em>.</p>
<p>For example to <a href="http://jimey.com/tag/install" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> the <a href="http://java.sun.com/javase/6/">Java6</a> JRE execute the following commands:</p>
<p>sudo apt-get <a href="http://jimey.com/tag/install" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> sun-java6-jre sun-java6-plugin sun-java6-fonts</p>
<h3><img alt="Eclipse" src="http://thecoffeemachine.files.wordpress.com/2008/09/eclipse_20x20.png?w=20&amp;h=20" width="20" height="20" /><a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a> 3.4 Ganymede installation</h3>
<p>Download the version that suits you on the <a href="http://www.eclipse.org/downloads/">official website</a>.</p>
<p>For example <strong><a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a> IDE for Java Developers</strong> (<em><a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>-java-ganymede-linux-gtk.tar.gz</em>):</p>
<p>wget http://download.<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>.org/technology/epp/downloads/release/ganymede/R/<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>-java-ganymede-linux-gtk.tar.gz   <br />tar xzvf <a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>-java-ganymede-linux-gtk.tar.gz    <br />mv <a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a> eclipse3.4</p>
<p>You should be ready to launch</p>
<p>eclipse3.4/<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a></p>
<p>Wait for your <a href="http://www.eclipse.org">eclipse 3.4 Ganymede</a> to start, and go to <em>Windows</em> -&gt; <em>Preferences</em>. Find <em>Java</em> -&gt; <em>Installed JREs</em>. You should see the list of the JREs known by <a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>. If the <a href="http://sun.com">Sun Microsystems</a> JREs doesn’t appear, you’ll have to show it to <a href="http://www.eclipse.org">eclipse</a>. To do this, Click the “<strong>Search</strong>” button and select the <strong>/usr/lib/jvm/</strong> path. <a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a> should find JREs intalled on your system and list them. Just select the one that you want to use, and you’re ready to program on your nice new <a href="http://www.eclipse.org">Eclipse 3.4 Ganymede</a> <img alt=";)" src="http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif" /></p>
<p>[<a href="http://thecoffeemachine.wordpress.com/2008/09/09/eclipse-34-ganymede-on-ubuntu-804-hardy-heron/" target="_blank">via</a>]</p>
<p>不过我装的<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>版本是<a href="http://ftp.jaist.ac.jp/pub/eclipse/technology/epp/downloads/release/ganymede/SR2/eclipse-cpp-ganymede-SR2-linux-gtk.tar.gz">http://ftp.jaist.ac.jp/pub/eclipse/technology/epp/downloads/release/ganymede/SR2/eclipse-cpp-ganymede-SR2-linux-gtk.tar.gz</a></p>
<p>&#160;</p>
<p>加图标</p>
<p>2、安装<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>    <br />（1）把<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>-SDK-3.3解压到某个目录中，俺解压到的是/opt下，得到/opt/<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>目录    <br />如果想把<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>目录的更改为root拥有，可以执行下面的命令    <br />sudo chown -R root:root /opt/<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>    <br />当然也可以不用。    <br />（2）在/usr/bin目录下创建一个启动脚本<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>，执行下面的命令来创建：    <br />sudo vi /usr/bin/<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>    <br />如果不熟悉vi命令的可以用<a href="http://jimey.com/tag/ubuntu" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu">Ubuntu</a>自带的简单文本编辑器gedit，用下面的命令来创建：    <br />sudo gedit /usr/bin/<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>    <br />然后在该文件中添加以下内容：    <br />#!/bin/sh     <br />export MOZILLA_FIVE_HOME=&quot;/usr/lib/mozilla/&quot;     <br />export ECLIPSE_HOME=&quot;/opt/<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>&quot;     <br />$ECLIPSE_HOME/<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a> $*     <br />（3）让修改该脚本的权限，让它变成可执行，执行下面的命令：    <br />sudo chmod +x /usr/bin/<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>    <br />3、在桌面或者gnome菜单中添加<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>启动图标    <br />（1）在桌面或者启动面板上添加图标：    <br />在桌面（右键单击桌面-&gt;创建启动器）或面板（右键单击面板-&gt;添加到面板 -&gt;定制应用程序启动器）上创建一个新的启动器，然后添加下列数据：     <br />名称：<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a> Platform     <br />命令：<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>     <br />图标： /opt/<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>/icon.xpm     <br />（2）在Applications（应用程序）菜单上添加一个图标    <br />用文本编辑器在/usr/share/applications目录里新建一个名为<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>.desktop的启动器，如下面的命令:    <br />sudo vi /usr/share/applications/<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>.desktop    <br />或者    <br />sudo gedit /usr/share/applications/<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>.desktop    <br />然后在文件中添加下列内容：     <br />[Desktop Entry]     <br />Encoding=UTF-8     <br />Name=<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a> Platform     <br />Comment=<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">Eclipse</a> IDE     <br />Exec=<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>     <br />Icon=/opt/<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>/icon.xpm     <br />Terminal=false     <br />StartupNotify=true    <br />Type=Application     <br />Categories=Application;Development;    <br />保存文件。完成整个安装过程。可以双击桌面<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a>的图标来运行<a href="http://jimey.com/tag/eclipse" class="st_tag internal_tag" rel="tag" title="Posts tagged with Eclipse">eclipse</a></p>
<p>[<a href="http://blog.chinaunix.net/u/21684/showart_367508.html" target="_blank">via</a>]</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-03-04 -- <a href="http://jimey.com/2009/03/04/tcl-compiler-environment-win.html" title="Win环境下的TCL Compiler">Win环境下的TCL Compiler</a> (0)</li><li>2009-10-28 -- <a href="http://jimey.com/2009/10/28/ubuntu-8-04-version-to-compile-rtorrent-0-85-pian.html" title="ubuntu 8.04版本编译rtorrent 0.85篇">ubuntu 8.04版本编译rtorrent 0.85篇</a> (0)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-03-27 -- <a href="http://jimey.com/2009/03/27/installing-freenx-in-ubuntu-8-04-hardy-u0026amp-8-10-intrepid-u0026amp-9-04-jaunty-ibex.html" title="Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex">Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex</a> (0)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/windows-environment-eclipse-debugging-environment-hadoop-remote-ubuntu.html" title="windows环境下eclipse调试远端ubuntu环境的hadoop">windows环境下eclipse调试远端ubuntu环境的hadoop</a> (12)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html" title="Linux server clustered HDFS: access from Windows eclipse Java application">Linux server clustered HDFS: access from Windows eclipse Java application</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/perlu002639s-cpan-permission-issues.html" title="perl的CPAN权限问题">perl的CPAN权限问题</a> (0)</li><li>2009-03-07 -- <a href="http://jimey.com/2009/03/07/disabling-your-pc-speaker-in-ubuntu.html" title="Disabling Your PC Speaker in Ubuntu">Disabling Your PC Speaker in Ubuntu</a> (0)</li><li>2009-03-03 -- <a href="http://jimey.com/2009/03/03/install-vmware-server-on-ubuntu-8-04.html" title="install vmware server on ubuntu 8.04">install vmware server on ubuntu 8.04</a> (0)</li><li>2008-11-18 -- <a href="http://jimey.com/2008/11/18/how-to-install-ns-2-allinone-2-33-on-ubuntu-8-04.html" title="How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04">How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04</a> (0)</li><li>2010-05-04 -- <a href="http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html" title="ubuntu 10.04安装sun的jdk">ubuntu 10.04安装sun的jdk</a> (0)</li><li>2009-10-08 -- <a href="http://jimey.com/2009/10/08/formatting-windows-partition-under-ubuntu-systems.html" title="Ubuntu系统下格式化windows 分区">Ubuntu系统下格式化windows 分区</a> (0)</li><li>2009-09-13 -- <a href="http://jimey.com/2009/09/13/seoul-next-week-to-week-two-education-seminars-ns2.html" title="下周一周二汉城NS2教育讲座">下周一周二汉城NS2教育讲座</a> (2)</li><li>2009-03-26 -- <a href="http://jimey.com/2009/03/26/midnight.html" title="半夜">半夜</a> (0)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/eclipse-based-application-development-environment-configuration-of-hadoop.html" title="基于Eclipse的Hadoop应用开发环境的配置">基于Eclipse的Hadoop应用开发环境的配置</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nsBench介紹</title>
		<link>http://jimey.com/2009/03/05/nsbench-introduction.html</link>
		<comments>http://jimey.com/2009/03/05/nsbench-introduction.html#comments</comments>
		<pubDate>Thu, 05 Mar 2009 13:01:56 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[NS2]]></category>
		<category><![CDATA[nsBench]]></category>
		<category><![CDATA[QualNet]]></category>

		<guid isPermaLink="false">http://jimey.com/2009/03/05/nsbench%e4%bb%8b%e7%b4%b9.html</guid>
		<description><![CDATA[[簡介]  The goal of nsBench [1] project is to develop supporting tools that enable creating, analyzing and visualizing NS-2 simulation scripts and traces automatically.  nsBench is a drag-and-drop GUI and easy to use in undergraduate and graduate networking courses. nsBench makes NS-2 simulation dev..... ]]></description>
			<content:encoded><![CDATA[<p>[<b>簡介</b>]</p>
<p><b></b>The goal of <a href="http://jimey.com/tag/nsbench" class="st_tag internal_tag" rel="tag" title="Posts tagged with nsBench">nsBench</a> [1] project is to develop supporting tools that enable creating, analyzing and visualizing NS-2 simulation scripts and traces automatically.</p>
<p><a href="http://jimey.com/tag/nsbench" class="st_tag internal_tag" rel="tag" title="Posts tagged with nsBench">nsBench</a> is a drag-and-drop GUI and easy to use in undergraduate and graduate networking courses. <a href="http://jimey.com/tag/nsbench" class="st_tag internal_tag" rel="tag" title="Posts tagged with nsBench">nsBench</a> makes NS-2 simulation development and analysis faster and easier for students and researchers without losing the flexibility or expressiveness gained by writing a script.</p>
<p>[<b>特色</b>]</p>
<p>1. Nodes, simplex/duplex links and LANs</p>
<p>2. Agents: TCP, UDP, TCPSink, TCP/Fack, TCP/FullTcp, TCP/Newreno, TCP/Reno, TCP/Sack1, TCPSink, TCPSink/Sack1, TCPSink/DelAck, TCPSink/Sack1/DelAck, TCP/Vegas, Null Agent</p>
<p>3. Applications/Traffic: FTP, Telent, Http/Server, Http/Client, Http/Cache, webtraf, Traffic/CBR, Traffic/Pareto, Traffic/Exponential</p>
<p>4. Services: Multicast, Packet Scheduling, RED, DiffServ</p>
<p>5. Creating &quot;Groups&quot; concept to compensate for &quot;loops&quot;</p>
<p>6. Scenario generator</p>
<p>7. Link Monitors</p>
<p>8. Loss Models</p>
<p>9. Routing Protocols</p>
<p>[<b>準備工具</b>]</p>
<p>由於<a href="http://jimey.com/tag/nsbench" class="st_tag internal_tag" rel="tag" title="Posts tagged with nsBench">nsBench</a>是由Java所開發的，因此在實行<a href="http://jimey.com/tag/nsbench" class="st_tag internal_tag" rel="tag" title="Posts tagged with nsBench">nsBench</a>之前必需先安裝可執行JVM，此軟體可到Sun的網站下載，而筆者所使用的是jre-1_5_0_03-windows-i586-p.exe。</p>
<p>安裝完後，接著就是下載<a href="http://jimey.com/tag/nsbench" class="st_tag internal_tag" rel="tag" title="Posts tagged with nsBench">nsBench</a>，下載網址是<a href="http://www.mnlab.cs.depaul.edu/projects/nsbench/download/nsBench-1.0b3.jar">http://www.mnlab.cs.depaul.edu/projects/nsbench/download/nsBench-1.0b3.jar</a>。</p>
<p>[<b>執行<a href="http://jimey.com/tag/nsbench" class="st_tag internal_tag" rel="tag" title="Posts tagged with nsBench">nsBench</a></b>]</p>
<p>作者所使用的環境是windows xp + cygwin + <a href="http://jimey.com/tag/ns2" class="st_tag internal_tag" rel="tag" title="Posts tagged with NS2">ns2</a>.28，<a href="http://jimey.com/tag/nsbench" class="st_tag internal_tag" rel="tag" title="Posts tagged with nsBench">nsBench</a>的軟體<a href="http://jimey.com/tag/nsbench" class="st_tag internal_tag" rel="tag" title="Posts tagged with nsBench">nsBench</a>-1.0b3.jar是放在c:\cygwin\home\smallko\<a href="http://jimey.com/tag/nsbench" class="st_tag internal_tag" rel="tag" title="Posts tagged with nsBench">nsBench</a>下。執行的方法為：</p>
<p>1. 打開一個cygwin的視窗。</p>
<p>2. $cd <a href="http://jimey.com/tag/nsbench" class="st_tag internal_tag" rel="tag" title="Posts tagged with nsBench">nsBench</a></p>
<p>3. $java -jar <a href="http://jimey.com/tag/nsbench" class="st_tag internal_tag" rel="tag" title="Posts tagged with nsBench">nsBench</a>-1.0b3.jar</p>
<p>4. 就會出現底下的視窗。</p>
<p>[<a href="http://140.116.72.80/~smallko/ns2/nsBench.htm" target="_blank">via</a>]</p>
<p>终于有跟<a href="http://jimey.com/tag/qlnet" class="st_tag internal_tag" rel="tag" title="Posts tagged with QualNet">qualnet</a>一样的gui环境了 强的</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2008-08-25 -- <a href="http://jimey.com/2008/08/25/qualnetu002639s-concerns-and-ns2-on-the-outlook.html" title="关于QualNet的顾虑与NS2的展望">关于QualNet的顾虑与NS2的展望</a> (2)</li><li>2009-09-13 -- <a href="http://jimey.com/2009/09/13/seoul-next-week-to-week-two-education-seminars-ns2.html" title="下周一周二汉城NS2教育讲座">下周一周二汉城NS2教育讲座</a> (2)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/icu-finishing-a-professor-of-information.html" title="ICU一教授整理的资料">ICU一教授整理的资料</a> (0)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html" title="使用Eclipse CDT 开发NS2">使用Eclipse CDT 开发NS2</a> (0)</li><li>2008-11-18 -- <a href="http://jimey.com/2008/11/18/how-to-install-ns-2-allinone-2-33-on-ubuntu-8-04.html" title="How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04">How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04</a> (0)</li><li>2008-08-24 -- <a href="http://jimey.com/2008/08/24/chinese-version-of-qualnet-tutorial.html" title="QualNet教程中文版">QualNet教程中文版</a> (9)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2009/03/05/nsbench-introduction.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04</title>
		<link>http://jimey.com/2008/11/18/how-to-install-ns-2-allinone-2-33-on-ubuntu-8-04.html</link>
		<comments>http://jimey.com/2008/11/18/how-to-install-ns-2-allinone-2-33-on-ubuntu-8-04.html#comments</comments>
		<pubDate>Tue, 18 Nov 2008 08:28:48 +0000</pubDate>
		<dc:creator>jimey</dc:creator>
				<category><![CDATA[NS2]]></category>
		<category><![CDATA[AllinOne]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://jimey.cn/2008/11/18/how-to-install-ns-2-allinone-233-on-ubuntu-804.html</guid>
		<description><![CDATA[This is an example of the NS2-AllInOne-2.33 installation for Ubuntu 8.04.   Download the most recent Ns-2-AllinOne-2.33 from Sourceforge.    Suppose that there is &#34;ns-allinone-2.33.tar.gz&#34; in current directory (e.g. &#34;~/&#34; for me is &#34;/home/mm&#34;).    All steps are done in T..... ]]></description>
			<content:encoded><![CDATA[<p>This is an example of the <a href="http://jimey.com/tag/ns2" class="st_tag internal_tag" rel="tag" title="Posts tagged with NS2">NS2</a>-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">AllInOne</a>-2.33 installation for <a href="http://jimey.com/tag/ubuntu-804" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu 8.04">Ubuntu 8.04</a>.<br />
Download the most recent Ns-2-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">AllinOne</a>-2.33 from <a href="http://sourceforge.net/project/showfiles.php?group_id=149743&amp;package_id=169584&amp;release_id=588644">Sourceforge</a>.<br />
Suppose that there is &#8220;ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.33.tar.gz&#8221; in current directory (e.g. &#8220;~/&#8221; for me is &#8220;/home/mm&#8221;).<br />
All steps are done in Terminal, so open a terminal in Accessories/Terminal.<br />
To extract the file:<br />
tar xvfz ./ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.33.tar.gz<br />
Go into extracted directory:<br />
cd ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.33<br />
Download required packages:<br />
sudo apt-get <a href="http://jimey.com/tag/install" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> build-essential autoconf automake libxmu-dev<br />
Start installation:<br />
./<a href="http://jimey.com/tag/install" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a><br />
Set environment parameter:<br />
gedit ~/.bashrc<br />
Then at the last line, append the following text with changing &#8220;/your/path&#8221; to the directory that contains &#8220;ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.33&#8243;. (e.g. &#8220;/home/jimey/&#8221; )</p>
<blockquote><p>
# LD_LIBRARY_PATH<br />
OTCL_LIB=/home/jimey/ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.33/otcl-1.13<br />
NS2_LIB=/home/jimey/ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.33/lib<br />
X11_LIB=/usr/X11R6/lib<br />
USR_LOCAL_LIB=/usr/local/lib<br />
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB<br />
# TCL_LIBRARY<br />
TCL_LIB=/home/jimey/ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.33/tcl8.4.18/library<br />
USR_LIB=/usr/lib<br />
export TCL_LIBRARY=$TCL_LIB:$USR_LIB<br />
# PATH<br />
XGRAPH=/home/jimey/ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.33/bin:/home/jimey/ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.33/tcl8.4.18/unix:/home/jimey/ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.33/tk8.4.18/unix<br />
NS=/home/jimey/ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.33/ns-2.33/<br />
NAM=/home/jimey/ns-<a href="http://jimey.com/tag/allinone" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllinOne">allinone</a>-2.33/nam-1.13/<br />
PATH=$PATH:$XGRAPH:$NS:$NAM</p></blockquote>
<p>Let it take effect immediately:</p>
<blockquote>
<pre>$ source ~/.bashrc</pre>
</blockquote>
<p>[<a href="http://suchaxplore.blogspot.com/2008/07/install-ns2-allinone-233-on-ubuntu-804.html">via</a>]</p>
<h3  class="related_post_title">相关博文</h3><ul class="related_post"><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/the-use-of-eclipse-cdt-development-of-ns2.html" title="使用Eclipse CDT 开发NS2">使用Eclipse CDT 开发NS2</a> (0)</li><li>2010-05-04 -- <a href="http://jimey.com/2010/05/04/ubuntu-10-04-installed-sunu002639s-jdk.html" title="ubuntu 10.04安装sun的jdk">ubuntu 10.04安装sun的jdk</a> (0)</li><li>2009-10-28 -- <a href="http://jimey.com/2009/10/28/ubuntu-8-04-version-to-compile-rtorrent-0-85-pian.html" title="ubuntu 8.04版本编译rtorrent 0.85篇">ubuntu 8.04版本编译rtorrent 0.85篇</a> (0)</li><li>2009-10-09 -- <a href="http://jimey.com/2009/10/09/eclipse-hadoop-full-linux-environment-for-development.html" title="Eclipse+Hadoop 全linux环境开发">Eclipse+Hadoop 全linux环境开发</a> (6)</li><li>2009-10-08 -- <a href="http://jimey.com/2009/10/08/formatting-windows-partition-under-ubuntu-systems.html" title="Ubuntu系统下格式化windows 分区">Ubuntu系统下格式化windows 分区</a> (0)</li><li>2009-09-13 -- <a href="http://jimey.com/2009/09/13/seoul-next-week-to-week-two-education-seminars-ns2.html" title="下周一周二汉城NS2教育讲座">下周一周二汉城NS2教育讲座</a> (2)</li><li>2009-03-27 -- <a href="http://jimey.com/2009/03/27/installing-freenx-in-ubuntu-8-04-hardy-u0026amp-8-10-intrepid-u0026amp-9-04-jaunty-ibex.html" title="Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex">Installing FreeNX in Ubuntu 8.04 Hardy &#038; 8.10 Intrepid &#038; 9.04 jaunty Ibex</a> (0)</li><li>2009-03-25 -- <a href="http://jimey.com/2009/03/25/linux-server-clustered-hdfs-access-from-windows-eclipse-java-application.html" title="Linux server clustered HDFS: access from Windows eclipse Java application">Linux server clustered HDFS: access from Windows eclipse Java application</a> (0)</li><li>2009-03-18 -- <a href="http://jimey.com/2009/03/18/glftpd-and-zipscript-install-guide.html" title="glftpd and zipscript install guide">glftpd and zipscript install guide</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/perlu002639s-cpan-permission-issues.html" title="perl的CPAN权限问题">perl的CPAN权限问题</a> (0)</li><li>2009-03-11 -- <a href="http://jimey.com/2009/03/11/ubuntu-ubuntu-8-04-lts-configuration-notes.html" title="Ubuntu Ubuntu 8.04 LTS 配置笔记">Ubuntu Ubuntu 8.04 LTS 配置笔记</a> (0)</li><li>2009-03-07 -- <a href="http://jimey.com/2009/03/07/disabling-your-pc-speaker-in-ubuntu.html" title="Disabling Your PC Speaker in Ubuntu">Disabling Your PC Speaker in Ubuntu</a> (0)</li><li>2009-03-06 -- <a href="http://jimey.com/2009/03/06/icu-finishing-a-professor-of-information.html" title="ICU一教授整理的资料">ICU一教授整理的资料</a> (0)</li><li>2009-03-05 -- <a href="http://jimey.com/2009/03/05/install-and-configuration-vsftpd-ftp-service-on-ubuntu-linux.html" title="install and configuration vsftpd ftp service on Ubuntu Linux">install and configuration vsftpd ftp service on Ubuntu Linux</a> (0)</li><li>2009-03-05 -- <a href="http://jimey.com/2009/03/05/nsbench-introduction.html" title="nsBench介紹">nsBench介紹</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jimey.com/2008/11/18/how-to-install-ns-2-allinone-2-33-on-ubuntu-8-04.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
