2007-02-12

$sudo passwd root

 

主要来自ubuntu中文社区http://www.ubuntu.org.cn/support/documentation/doc/VMware 首选,确认你已经安装了build-essential程序包: apt-get install build-essential 确认你已经安装了内核头文件包: uname -rapt-get install linux-headers-’kernel version’ 如果你遇到gcc版本错误,你需要安装编译你内核的gcc版本: cat /proc/version 这会告诉你,你的内核是用什么版本的gcc编译的. $ cat /proc/version Linux version 2.6.12-8-386 (buildd@rothera) (gcc version 3.4.5 20050809 (prerelease) (Debian 3.4.4-6ubuntu6)) #1 Tue Aug 30 22:41:30 BST 2005ls /usr/bin apt-get install build-essential


Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1310

Warning: shuffle() expects parameter 1 to be array, null given in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1311

Warning: Invalid argument supplied for foreach() in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1312

网站/E-mail : http://www.mct.go.kr/koreanthroughenglish/index.htm
 
 介绍从基础到高级阶段韩语教学资料。通过网络完成听力和会话教程后,还可进行在线测试和练习。
网站/E-mail : http://www.interedu.go.kr/
 
 该网站非常有用,为用户了解韩语提供综合性的介绍和相关指南。课程分为章节,点击进入有视听辅助材料。
课程包括在日常交流中有用的语言。
网站/E-mail : http://rki.kbs.co.kr/learn_korean/lessons/e_index.htm
 
 该网站提供很多学习韩国语所需的信息和资源。该网站的韩语课程包括基础、中级和高级。还提供CD及其它可下载的资料。更多详细内容请浏览网站。
网站/E-mail : http://www.korean-edu.com/
 
 提供韩语的起源和历史、元音和辅音、读音和会话的基本原则等信息。为游客介绍基础韩国语。


Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1310

Warning: shuffle() expects parameter 1 to be array, null given in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1311

Warning: Invalid argument supplied for foreach() in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1312

到kingate的主页
http://sourceforge.net/projects/kingate/
最新版
kingate-1.6.tar.gz

  • wget http://voxel.dl.sourceforge.net/sourceforge/kingate/kingate-1.6.tar.gz

  • tar zxfv kingate-1.6.tar.gz

  • cd kingate-1.6

  • (如果你想去掉socks4的功能,只支持socks5请做这一步,否则跳过)
    • vi ./src/socks.cpp


    • return create_socks4_connect(m_server);
      替换为
      goto cleanup;
      应该是在第78行
      保存退出VI

  • 需要安装make paket,apt-get install build-essential

  • ./configure –prefix=/usr/local/kingate

  • make

  • make install

  • /usr/local/kingate/bin/kingate(启动)
    /usr/local/kingate/bin/kingate -q(关闭)

rule

first deny
model deny
model allow
{ * all * * }
{ manage * * * }


Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1310

Warning: shuffle() expects parameter 1 to be array, null given in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1311

Warning: Invalid argument supplied for foreach() in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1312

$sudo passwd root

主要来自ubuntu中文社区http://www.ubuntu.org.cn/support/documentation/doc/VMware 首选,确认你已经安装了build-essential程序包: apt-get install build-essential 确认你已经安装了内核头文件包: uname -rapt-get install linux-headers-’kernel version’ 如果你遇到gcc版本错误,你需要安装编译你内核的gcc版本: cat /proc/version 这会告诉你,你的内核是用什么版本的gcc编译的. $ cat /proc/version Linux version 2.6.12-8-386 (buildd@rothera) (gcc version 3.4.5 20050809 (prerelease) (Debian 3.4.4-6ubuntu6)) #1 Tue Aug 30 22:41:30 BST 2005ls /usr/binapt-get install build-essential

2007-02-02

Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1310

Warning: shuffle() expects parameter 1 to be array, null given in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1311

Warning: Invalid argument supplied for foreach() in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1312

基于NS2的P2P网络模拟平台研究

2007-02-01

Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1310

Warning: shuffle() expects parameter 1 to be array, null given in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1311

Warning: Invalid argument supplied for foreach() in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1312

BLK 默认没装。。tcl/TK 无法安装。。。

 

5.  ns2的安装

  • 解决ns2-2.29和ubuntu-6.06 bash的不兼容问题:
    分别进入以下3个文件夹:
    */ns-allinone-2.29/tcl8.4.11/unix/
    */ns-allinone-2.29/tcl8.4.11/tk8.4.11/unix/
    */ns-allinone-2.29/otcl-1.11/

    执行命令: cp configure{,.orig} && sed “s/relid’/relid/” configure.orig > configure
     

  • sudo apt-get install libxmu-dev
    安装libxmu-dev包,不然无法编译通过nam-1.11,会报“没有X11/Xmu/WinUtil.h”的错误。
     
  • sudo apt-get install -f libxt-dev
    这个包也是必须的。
     
  • 修改/home/ns2/ ns-allinone-2.9/nam-1.11/agent.h中的第73行,将NULL改为0。
     
  •  sudo ./install
     
  • 设置环境变量,在/etc/bash.bashrc的文件末尾增加以下语句:
    export  PATH=$PATH:/home/ns2/ns-allinone-2.29/bin:/home/ns2/ns-allinone-2.29/tcl8.4.11/unix:/home/ns2/ns-allinone-2.29/tk8.4.11/unix
    export  LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/ns2/ns-allinone-2.29/otcl-1.11:/home/ns2/ns-allinone-2.29/lib
    export  TCL_LIBRARY=/home/ns2/ns-allinone-2.29/tcl8.4.11/library
     
  • 终端运行ns,应该出现%
     
  • ./validate检查安装是否成功。