blob: 9f76b26e9fb67a3550fc3faaa13c8f3627866f77 [file] [log] [blame] [view]
ashu8bf379e2015-05-04 09:54:06 -05001Mini-NDN Installing Instructions
2================================
3
4### What equipment will I need ?
5
6Basically, you'll need a laptop/desktop with a recent Linux distro (Ubuntu, Fedora).
7We recommend Ubuntu. For this guide, the _Ubuntu 14.04 LTS_ was used.
8Also, note that you'll need administrative privileges in order to download and install
9extra packages and also to execute **Mini-NDN**.
10
11### Installing NDN
12
13Each node in **Mini-NDN** will run the official implementation of NDN. Let's get it.
14
15Mini-NDN uses NFD, NLSR, and ndn-tlv-ping.
16
17To install NFD:
18http://named-data.net/doc/NFD/current/INSTALL.html
19
20To install NLSR:
21http://named-data.net/doc/NLSR/current/INSTALL.html
22
23To install ndn-tlv-ping:
24https://github.com/named-data/ndn-tlv-ping
25
26### Downloading and installing **Mini-NDN**
27
28If you don't have it yet, you'll need to have _git_ installed first. In Ubuntu, that would be:
29
30 sudo apt-get install git
31
32Now, let's get the source code of **Mini-NDN**.
33Go to your home directory and use the following command:
34
35 git clone https://github.com/named-data/mini-ndn
36
37As a result, there will be a directory named _mini-ndn_ in your home directory, containing all the source code.
38
39Still in your home directory, use the utility install script with _-fnv_ options:
40
41 sudo ./mini-ndn/util/install.sh -fnv
42
43where
44-f: install open(F)low
45-n: install mini(N)et dependencies + core files
46-v: install open (V)switch
47
48Prerequisite packages will be downloaded and installed during the process.
49
50### Verification
51
52Once everything is installed, the following command can be issued for verification from the home folder:
53
54 sudo minindn --pingall 50 --ctime 180 mini-ndn/ndn_utils/hyperbolic_conf_file/minindn.caida.conf
55
56where:
57--pingall: Will schedule and collect the specified number of pings from each node to every other node
58--ctime: Convergence time for NLSR, provide according to the size of the topology
59
60Note: The configuration file contains hyperbolic coordinates but hyperbolic routing will only be
61activated if --hr is provided
62
63All the ping logs will be stored under /tmp/node-name/ping-data and the command will provide a
64command line interface at the end.