carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 1 | In order to install **Mini-CCNx**, follow the steps below. All of them are required! |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 2 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 3 | ### What equipment will I need ? |
| 4 | |
| 5 | Basically, 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**. |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 6 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 7 | ### Installing CCNx |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 8 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 9 | Each node in **Mini-CCNx** will run the official implementation of CCNx. Let's get it. |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 10 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 11 | In 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. |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 12 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 13 | Now, to **Mini-CCNx** itself. |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 14 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 15 | ### Downloading and installing **Mini-CCNx** |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 16 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 17 | If you don't have it yet, you'll need to have _git_ installed first. In Ubuntu, that would be: |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 18 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 19 | `sudo apt-get install git` |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 20 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 21 | Now, let's get the source code of **Mini-CCNx**. |
| 22 | Go to your home directory and use the following command: |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 23 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 24 | `git clone git://github.com/carlosmscabral/mn-ccnx` |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 25 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 26 | As result, there will be a directory named _mn-ccnx_ in your home directory, containing all the source code. |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 27 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 28 | Still in your home directory, use the utility install script with the _-fnv_ options: |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 29 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 30 | `sudo ./mn-ccnx/util/install.sh -fnv` |
carlosmscabral | f40ecd1 | 2013-02-01 18:15:58 -0200 | [diff] [blame] | 31 | |
carlosmscabral | f8ccd38 | 2013-02-25 18:14:27 -0300 | [diff] [blame] | 32 | Pre-requisite packages will be downloaded and installed during the process. |