blob: 216677f01ebf495611ed8a18ad1d73167d5115cd [file] [log] [blame]
Vince Lehmanb722b102014-08-24 16:33:49 -05001Getting Started with NLSR
2=========================
3
4.. toctree::
5..
6
7Getting Source
8--------------
9
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070010- `GitHub NLSR repository <https://github.com/named-data/NLSR>`_
Vince Lehmanb722b102014-08-24 16:33:49 -050011
12Installation
13------------
14
15:doc:`INSTALL`
16
17Configuration
18-------------
19
20After installing NLSR from source, you need to create a configuration file for
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070021NLSR. Please take a look at :doc:`manpages/nlsr.conf` for a sample configuration. For
22details on configuring a router, please refer to :doc:`ROUTER-CONFIG`. For details on
23security configuration, please refer to :doc:`SECURITY-CONFIG`.
Vince Lehmanb722b102014-08-24 16:33:49 -050024
25Running
26-------
27
28Run nlsr with the following command:
29
30::
31
32 nlsr
33
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070034NLSR will look for the default configuration file, ``nlsr.conf``, in the current directory.
Vince Lehmanb722b102014-08-24 16:33:49 -050035
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070036You can also run ``nlsr -f`` with the absolute path of the configuration file:
Vince Lehmanb722b102014-08-24 16:33:49 -050037
38::
39
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070040 nlsr -f /usr/local/etc/ndn/nlsr.conf
Vince Lehmanb722b102014-08-24 16:33:49 -050041
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070042To run NLSR as daemon, use the ``-d`` flag:
Vince Lehmanb722b102014-08-24 16:33:49 -050043
44::
45
46 nlsr -d