Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
9c0311ca
Commit
9c0311ca
authored
Jun 22, 2016
by
Tomek Mrugalski
🛰
Browse files
[github21] Documentation updated, install notes added.
parent
18094701
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/guide/admin.xml
View file @
9c0311ca
...
@@ -494,7 +494,7 @@ $ <userinput>kea-admin lease-init pgsql -u <replaceable>database-user</replaceab
...
@@ -494,7 +494,7 @@ $ <userinput>kea-admin lease-init pgsql -u <replaceable>database-user</replaceab
</section>
<!-- end of PostgreSQL sections -->
</section>
<!-- end of PostgreSQL sections -->
<section>
<section>
<title>
CQL
</title>
<title>
CQL
(Cassandra)
</title>
<para>
<para>
The CQL database must be properly set up if you want Kea to store
The CQL database must be properly set up if you want Kea to store
...
...
doc/guide/install.xml
View file @
9c0311ca
...
@@ -501,6 +501,46 @@ Debian and Ubuntu:
...
@@ -501,6 +501,46 @@ Debian and Ubuntu:
PostgreSQL database configuration.
PostgreSQL database configuration.
</para>
</para>
</section>
</section>
<section>
<title>
Building with CQL (Cassandra) support
</title>
<para>
Install Cassandra according to the instructions for your system. The
Cassandra project webpage contains useful pointers:
<ulink
url=
"http://cassandra.apache.org/download/"
/>
.
</para>
<para>
Download and compile cpp-driver from DataStax. For details regarding
dependencies for building cpp-driver, see the project homepage
<ulink
url=
"https://github.com/datastax/cpp-driver"
/>
. As of June
2016, the following commands were used:
<screen>
$
<userinput>
git clone https://github.com/datastax/cpp-driver
</userinput>
$
<userinput>
cd cpp-driver
</userinput>
$
<userinput>
mkdir build
</userinput>
$
<userinput>
cmake ..
</userinput>
$
<userinput>
make
</userinput>
</screen>
</para>
<para>
As of June 2016, cpp-driver does not include cql_config script
yet. There is a work in progress to contribute such a script to
cpp-driver project. Until such contribution is accepted, there are
intermediate steps that need to be conducted. The cql_config
script and cql_config_defines.sh are temporarily stored in
tools/ directory of the Kea sources. Before using it, please
edit cql_config_defines.sh: change CPP_DRIVER_PATH to the directory,
where cpp-driver sources are located. If cpp-driver sources already
provide cql_config script please use that rather than the version
from Kea sources.
</para>
<para>
Build and install Kea as described in
<xref
linkend=
"installation"
/>
, with
the following modification. To enable the Cassandra (CQL) database code, at the
"configure" step (see
<xref
linkend=
"configure"
/>
), do:
<screen><userinput>
./configure [other-options] --with-cql=
<replaceable>
path-to-cql_config
</replaceable></userinput></screen>
</para>
</section>
</section>
</section>
</chapter>
</chapter>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment