Commit 8e570bf9 authored by Marek Vavrusa's avatar Marek Vavrusa

Updated README

refs #1877
parent 347e421a
......@@ -40,7 +40,7 @@ $ sudo dpkg -i liburcu0_0.5.4-1_amd64.deb
$ sudo dpkg -i liburcu-dev_0.5.4-1_amd64.deb
# Go for the real thing
$ git clone git://git.nic.cz/knot
$ git clone git://git.nic.cz/knot-dns.git
$ cd knot
$ autoreconf -if
$ ./configure
......@@ -75,6 +75,10 @@ $ autoreconf -if
$ ./configure
$ make && sudo make install
It is also present in port tree, so you can install it from there.
$ cd /usr/ports/dns/knot
$ sudo make install
Installation on OpenBSD/NetBSD
==============================
Also works for OS X, if you don't want to install gcc from ports.
......@@ -82,6 +86,7 @@ Prerequisites:
- liburcu needs patch for absent compiler TLS capability
- patch is located in "scripts/urcu-tls-compat.patch"
- patch compatible with liburcu-0.6.7
- liburcu >= 0.7.0 works out of the box
$ mkdir liburcu && cd liburcu
$ wget "http://lttng.org/files/urcu/userspace-rcu-0.6.7.tar.bz2"
......@@ -124,6 +129,10 @@ is '-c' that specifies config file for our server. Compiled zones are saved to
storage defined in 'storage' variable in configuration.
$ knotc -h # see what it can do
Copy zone to the specified directory and compile.
$ mkdir -p /tmp/knot-minimal/samples; cp samples/example.com.zone /tmp/knot-minimal/samples/
$ knotc -c myserver.conf compile # compile zone files to binary format
Third, lets load server. You can do this by running 'knotd' directly, or with
......
......@@ -20,6 +20,8 @@ Knot DNS build system relies on standard tools:
@item
make
@item
libtool
@item
autoconf >= 2.65
@item
flex >= 2.5.31
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment