-
Notifications
You must be signed in to change notification settings - Fork 38
Installation on RedHat CentOS Linux
original instructions by Shane, modified for Bundy by Carsten
This page describes a setup of Bundy on CentOS 6.1.
The hardware is a Linux KVM virtual machine, in i386 mode. The CentOS "minimal" install ISO was used:
http://mirror.nl.leaseweb.net/centos/6.1/isos/i386/CentOS-6.1-i386-minimal.iso
I logged in as root, and started the network by running dhclient manually:
dhclient eth0
I then updated the system, pulling in security and other bug fixes:
# sudo yum update
I added a user:
# adduser -m shane
# passwd shane
The system is now ready to begin installing prerequisites.
I installed Git, gcc, bc, make, autoconf/automake, libtool, Boost, and the SQLite libraries via yum:
# yum install git gcc-c++ bc make automake libtool boost boost-devel sqlite-devel
CentOS 6.1 comes with Python 2.6.6 and does not seem to have any Python 3 available. Python 3 was downloaded and built:
# yum install wget
# yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel
# wget http://www.python.org/ftp/python/3.2/Python-3.2.tar.bz2
# tar xf Python-3.2.tar.bz2
# cd Python-3.2
# ./configure --prefix=/opt/python3
# make
# make install
Botan is also missing as a packaged library:
# wget http://botan.randombit.net/files/Botan-1.10.1.tgz
# tar xf Botan-1.10.1.tgz
# cd Botan-1.10.1
# ./configure.py --prefix=/opt/botan
# make
# make check
# make install
We have to create botan-config ourselves:
# ln -s /opt/botan/bin/botan-config-1.10 /opt/botan/bin/botan-config
Finally, we have to install log4cplus ourselves:
# wget http://downloads.sourceforge.net/project/log4cplus/log4cplus-stable/1.0.4/log4cplus-1.0.4.tar.bz2
# tar xf log4cplus-1.0.4.tar.bz2
# cd log4cplus-1.0.4
# ./configure --prefix=/opt/log4cplus
# make
# make install
Bundy was checked out and built:
# git clone https://github.com/bundy-dns/bundy.git
# cd bundy
# autoreconf --install
# ./configure --prefix=/opt/bundy --with-pythonpath=/opt/python3/bin/python3 --with-botan-config=/opt/botan/bin/botan-config-1.10 --with-log4cplus=/opt/log4cplus
# make