|
# System-Specific Install Notes
|
|
# System-Specific Install Notes
|
|
|
|
|
|
2018-03-30: This page documents Kea installation on Ubuntu 17.10 Server.
|
|
For the basic installation notes, please see [ISC's Knowledgebase](https://kb.isc.org/v1/docs/kea-build-on-ubuntu). This wiki page documents installation for the integration of Kea with sysrepo and RADIUS.
|
|
|
|
|
|
## Install required tools and dependencies
|
|
|
|
Install necessary tools first:
|
|
|
|
```
|
|
|
|
sudo apt-get install autoconf g++ git libboost-system-dev liblog4cplus-dev \
|
|
|
|
libssl-dev libtool
|
|
|
|
```
|
|
|
|
|
|
|
|
## Building from git
|
|
|
|
If building from the Kea git repository:
|
|
|
|
```
|
|
|
|
git clone https://gitlab.isc.org/isc-projects/kea
|
|
|
|
cd kea
|
|
|
|
autoreconf -if
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
sudo make install
|
|
|
|
```
|
|
|
|
That's it. You're done.
|
|
|
|
|
|
|
|
## Building from tarball
|
|
|
|
If using a tarball:
|
|
|
|
```
|
|
|
|
tar zxvf kea-1.3.0.tar.gz
|
|
|
|
cd kea-1.3.0
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
sudo make install
|
|
|
|
```
|
|
|
|
Again, that's it. You're done.
|
|
|
|
|
|
|
|
## Installing with optional features
|
|
|
|
The following sections explain how to compile Kea with additional features.
|
|
|
|
|
|
|
|
### Building with MySQL (optional)
|
|
|
|
This is an optional dependency. You need it only if you want Kea to be able to store its information in MySQL:
|
|
|
|
```
|
|
|
|
sudo apt-get install libmysqlclient-dev
|
|
|
|
./configure --with-mysql
|
|
|
|
...
|
|
|
|
```
|
|
|
|
|
|
|
|
### Building with PostgreSQL (optional)
|
|
|
|
This is an optional dependency. You need it only if you want Kea to be able to store its information in PostgreSQL:
|
|
|
|
```
|
|
|
|
sudo apt-get install libpq-dev postgresql-server-dev-all
|
|
|
|
./configure --with-pgsql
|
|
|
|
...
|
|
|
|
```
|
|
|
|
|
|
|
|
### Building with Cassandra (optional)
|
|
|
|
...
|
|
|
|
|
|
|
|
### Building with Google Test (optional)
|
|
|
|
This is an optional dependency. You need it only if you want to run the unit tests after building Kea.
|
|
|
|
```
|
|
|
|
sudo apt-get install googletest
|
|
|
|
./configure --with-gtest-source=/usr/src/googletest
|
|
|
|
...
|
|
|
|
```
|
|
|
|
|
|
|
|
### Generating the documentation (optional)
|
|
|
|
If you want to generate the user guide:
|
|
|
|
```
|
|
|
|
sudo apt-get install elinks docbook-xsl doxygen xsltproc
|
|
|
|
./configure --enable-generate-docs
|
|
|
|
cd doc
|
|
|
|
make guide
|
|
|
|
```
|
|
|
|
To create the developers' documentation, issue the command `make devel` after/instead of `make guide` in the steps above.
|
|
|
|
|
|
|
|
### Building with FreeRADIUS (optional)
|
|
### Building with FreeRADIUS (optional)
|
|
You need to have the subscription or premium package to make this work.
|
|
You need to have the subscription or premium package to make this work.
|
... | | ... | |