Difference between revisions of "PowerDNS OpenDBX Backend/Installation"
From Linuxnetworks
(removed backlink) |
|||
| (30 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | == Compilation == | |
| − | + | If you don't want to use a pre-compiled package from your favorite distribution, you have to build the [http://www.powerdns.com/ PowerDNS] binaries for your platform yourself. | |
| − | + | Before performing the steps to compile the PowerDNS server and the OpenDBX backend you have to install the [[OpenDBX]] library, the OpenDBX backend you would like to use and its development package, which includes the necessary header. | |
| − | + | Apply these steps to the source [http://downloads.powerdns.com/releases/ pdns-x.xx.tar.gz] file: | |
| − | + | ||
| − | + | ||
* Extract the pdns tar file | * Extract the pdns tar file | ||
* Change into the newly created pdns directory | * Change into the newly created pdns directory | ||
* Extract the opendbxbackend tar file | * Extract the opendbxbackend tar file | ||
| − | * Run "cat | + | * Run "cat <patch> | patch -p1" (if available) |
* Type ./configure --help for the available options | * Type ./configure --help for the available options | ||
* For dynamic modules: | * For dynamic modules: | ||
./configure | ./configure | ||
| + | --prefix=/usr | ||
--with-modules="" | --with-modules="" | ||
--with-dynmodules="opendbx" | --with-dynmodules="opendbx" | ||
| − | |||
* For a static module: | * For a static module: | ||
./configure | ./configure | ||
| + | --prefix=/usr | ||
--with-modules="opendbx" | --with-modules="opendbx" | ||
--with-dynmodules="" | --with-dynmodules="" | ||
| − | |||
* make && make install | * make && make install | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 14:36, 22 June 2008
Compilation
If you don't want to use a pre-compiled package from your favorite distribution, you have to build the PowerDNS binaries for your platform yourself.
Before performing the steps to compile the PowerDNS server and the OpenDBX backend you have to install the OpenDBX library, the OpenDBX backend you would like to use and its development package, which includes the necessary header.
Apply these steps to the source pdns-x.xx.tar.gz file:
* Extract the pdns tar file
* Change into the newly created pdns directory
* Extract the opendbxbackend tar file
* Run "cat <patch> | patch -p1" (if available)
* Type ./configure --help for the available options
* For dynamic modules:
./configure
--prefix=/usr
--with-modules=""
--with-dynmodules="opendbx"
* For a static module:
./configure
--prefix=/usr
--with-modules="opendbx"
--with-dynmodules=""
* make && make install