blob: 96f0358c2b242e75b98693cb15a20a3b6437f60d [file] [log] [blame]
carlosmscabralf8ccd382013-02-25 18:14:27 -03001In order to install **Mini-CCNx**, follow the steps below. All of them are required!
carlosmscabralf40ecd12013-02-01 18:15:58 -02002
carlosmscabralf8ccd382013-02-25 18:14:27 -03003### What equipment will I need ?
4
5Basically, you'll need a laptop/desktop with a recent Linux distro (Ubuntu, Fedora). We recommend Ubuntu. For this guide, the _Ubuntu 12.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-CCNx**.
carlosmscabralf40ecd12013-02-01 18:15:58 -02006
carlosmscabralf8ccd382013-02-25 18:14:27 -03007### Installing CCNx
carlosmscabralf40ecd12013-02-01 18:15:58 -02008
carlosmscabralf8ccd382013-02-25 18:14:27 -03009Each node in **Mini-CCNx** will run the official implementation of CCNx. Let's get it.
carlosmscabralf40ecd12013-02-01 18:15:58 -020010
carlosmscabralf8ccd382013-02-25 18:14:27 -030011In the [Project CCNx](www.ccnx.org) webpage, you'll find all the details for installing the CCNx. See [Installing CCNx](https://www.ccnx.org/wiki/CCNx/InstallingCCNx). To use **Mini-CCNx** you won't need to create the init script as outlined in the prior link. But please, pay attention to the necessary pre-requisite packages, as they are, indeed, necessary.
carlosmscabralf40ecd12013-02-01 18:15:58 -020012
carlosmscabralf8ccd382013-02-25 18:14:27 -030013Now, to **Mini-CCNx** itself.
carlosmscabralf40ecd12013-02-01 18:15:58 -020014
carlosmscabralf8ccd382013-02-25 18:14:27 -030015### Downloading and installing **Mini-CCNx**
carlosmscabralf40ecd12013-02-01 18:15:58 -020016
carlosmscabralf8ccd382013-02-25 18:14:27 -030017 If you don't have it yet, you'll need to have _git_ installed first. In Ubuntu, that would be:
carlosmscabralf40ecd12013-02-01 18:15:58 -020018
carlosmscabralf8ccd382013-02-25 18:14:27 -030019`sudo apt-get install git`
carlosmscabralf40ecd12013-02-01 18:15:58 -020020
carlosmscabralf8ccd382013-02-25 18:14:27 -030021Now, let's get the source code of **Mini-CCNx**.
22Go to your home directory and use the following command:
carlosmscabralf40ecd12013-02-01 18:15:58 -020023
carlosmscabralf8ccd382013-02-25 18:14:27 -030024`git clone git://github.com/carlosmscabral/mn-ccnx`
carlosmscabralf40ecd12013-02-01 18:15:58 -020025
carlosmscabralf8ccd382013-02-25 18:14:27 -030026As result, there will be a directory named _mn-ccnx_ in your home directory, containing all the source code.
carlosmscabralf40ecd12013-02-01 18:15:58 -020027
carlosmscabralf8ccd382013-02-25 18:14:27 -030028Still in your home directory, use the utility install script with the _-fnv_ options:
carlosmscabralf40ecd12013-02-01 18:15:58 -020029
carlosmscabralf8ccd382013-02-25 18:14:27 -030030`sudo ./mn-ccnx/util/install.sh -fnv`
carlosmscabralf40ecd12013-02-01 18:15:58 -020031
carlosmscabralf8ccd382013-02-25 18:14:27 -030032Pre-requisite packages will be downloaded and installed during the process.