首页 > 代码库 > Ubuntu 下安装 CCNx0.8.2

Ubuntu 下安装 CCNx0.8.2

官网简介:

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