Compiling and Installing

How to compile and install the Redwax Server from source, or through the building of RPM or Debian packages.

Build an RPM Package

Compile from source and generate RPM packages for Redhat/Fedora systems.

Build an RPM Package

The mod_ca module must be built first, as each subsequent module depends on headers provided by this core module.

To compile an RPM, each module is built as follows:

rpmbuild -tb mod_ca-x.y.z.tar.bz2

The rpmbuild tool will complain if the required development packages have not been installed. Install any missing packages with yum or dnf.

Build a Debian Package

Compile from source and generate Debian packages for Debian/Ubuntu systems.

Build a Debian Package

The mod_ca module must be built first, as each subsequent module depends on headers provided by this core module.

To compile each Debian package, each module is built from the root of the source as follows:

cd mod-ca-x.y.z
dpkg-buildpackage -us -uc

The dpkg-buildpackage tool will complain if the required development packages have not been installed. Install any missing packages with apt-get.

Compile and Install

Compile from source and install to the local machine from scratch.

Prerequisites

The Redwax server build requires a development environment with the following headers present:

ANSI-C Compiler An ANSI-C Compiler and Build System is required.
Apache HTTP server Version 2.4.0 and above is supported.
OpenSSL Version 1.0.0 and above is supported.

Compile from Source

The mod_ca module must be built first, as each subsequent module depends on headers provided by this core module.

To compile from source, each module is built as follows:

./configure --with-apxs=/usr/bin/apxs
make
make install

The --with-apxs parameter needs to point to the apxs build script from the Apache httpd development environment.

The destination paths are picked up from the apxs script.