Basically, you'll need a laptop/desktop with a recent Linux distro (Ubuntu, Fedora). We recommend Ubuntu. For this guide, the Ubuntu 14.04 LTS was used. Also, note that you'll need administrative privileges in order to download and install extra packages and also to execute Mini-NDN.
If you have all the dependencies (see sections below) installed simply clone this repository and run:
sudo ./install.sh -i
else if you don't have the dependencies, the following command will install them along with Mini-NDN:
sudo ./install.sh -mrfti
Each node in Mini-NDN will run the official implementation of NDN. The following dependencies are needed:
Mini-NDN uses NFD, NLSR, and ndn-tools.
To install NFD: http://named-data.net/doc/NFD/current/INSTALL.html
To install NLSR: http://named-data.net/doc/NLSR/current/INSTALL.html
To install ndn-tools: https://github.com/named-data/ndn-tools
Mini-NDN is based on Mininet. To install Mininet: https://github.com/mininet/mininet/blob/master/INSTALL
You can use these steps to verify your installation:
sudo minindn --experiment=pingall --nPings=50
mini-ndn>
CLI prompt appears, the experiment has finished. On the Mini-NDN CLI, issue the command exit
to exit the experiment.grep -c content /tmp/*/ping-data/*.txt
. Each file should report a count of 50.grep -c timeout /tmp/*/ping-data/*.txt
. Each file should report a count of 0.