码迷,mamicode.com
首页 > 其他好文 > 详细

Ubuntu 下安装 CCNx0.8.2

时间:2014-09-13 12:01:55      阅读:445      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   io   java   ar   for   div   

官网简介:

The CCNx architecture is based on three basic tenets:

  • Content is accessed by name, not machine address.
  • Security is applied directly to the content, not the connection.
  • Content may be cached opportunistically in the network for more efficient and scalable retrieval.

A CCNx network is populated with content producers, content publishers, and content consumers. Forwarders and in-network caches called Content Stores handle CCNx traffic. There are two types of messages in a CCNx network: a message to request data from the network is called an “Interest”.  A message to return data is called a “Content Object”.  A Content Object is said to satisfy an Interest if the names (and other optional restriction criteria) exactly match. In this network the Forwarding Information Base (FIB) tables route on names, not IP addresses. The forwarder contains a strategy layer to forward Interest messages along optimal paths. A forwarder also stores information about each Interest message in a Pending Interest Table (PIT) to identify the correct return path for Content Objects to follow and to aggregate similar Interest messages in order to avoid forwarding multiple similar messages.

最新版本下载:

http://www.ccnx.org/download/

 

安装过程:

1. 首先在安装ccnx时需要openjdk-6-jre-lib支持,因此需要将原来的JDK注释掉。

  下载openjdk:

sudo apt-get install openjdk-6-jre-lib

  因为注释掉/etc/profile中关于sunJDK部分后还是没办法自动替换,因此将/etc/profile中JAVA_HOME的路径进行了修改

  JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64/
  重新载入变量后,输入java -version OpenJDK安装成功。

2.ccnx 0.7.0 的依赖包有:
ant1.8, autoconf, libssl-dev, libexpat-dev, libpcap-dev, libecryptfs0, libxml2-utils, automake, gawk, gcc, g++,
git-core, pkg-config, libpcre3-dev, openjdk-6-jre-lib
其中蓝色的是我本机上 Ubuntu 没有的安装包。可通过以下命令查询:
>apt-cache pkgnames | grep ~

继续通过apt-get命令将需要的依赖包装好。

 

Ubuntu 下安装 CCNx0.8.2

标签:style   blog   http   color   io   java   ar   for   div   

原文地址:http://www.cnblogs.com/xiaoxiaff/p/3969633.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!