]> granicus.if.org Git - icinga2/blobdiff - INSTALL.md
Clean up the 'api setup' command a bit more
[icinga2] / INSTALL.md
index 3edc1e2213dc5621b9c838e2ac9a166ec45f3ffe..43f558ba6335aedea7c8e7e8989618c038f81593 100644 (file)
@@ -22,7 +22,7 @@ parentheses):
 * GNU make (make)
 * C++ compiler (gcc-c++ >= 4.7 on RHEL/SUSE, build-essential on Debian, alternatively clang++)
 * OpenSSL library and header files >= 0.9.8 (openssl-devel on RHEL, libopenssl1-devel on SLES11,
-libopenssl-devel on SLES11, libssl-dev on Debian)
+libopenssl-devel on SLES12, libssl-dev on Debian)
 * Boost library and header files (boost-devel on RHEL, libboost-all-dev on Debian)
 * GNU bison (bison)
 * GNU flex (flex) >= 2.5.35
@@ -33,6 +33,10 @@ libopenssl-devel on SLES11, libssl-dev on Debian)
 * optional: PostgreSQL (postgresql-devel on RHEL, libpq-dev on Debian); set CMake
             variable `ICINGA2_WITH_PGSQL` to `OFF` to disable this module
 * optional: YAJL (yajl-devel on RHEL, libyajl-dev on Debian)
+* optional: libedit (libedit-devel on CentOS (RHEL requires rhel-7-server-optional-rpms
+            repository for el7 e.g.), libedit-dev on Debian)
+* optional: Termcap (libtermcap-devel on RHEL, not necessary on Debian) - only
+            required if libedit doesn't already link against termcap/ncurses
 
 Note: RHEL5 ships an ancient flex version. Updated packages are available for
 example from the repoforge buildtools repository.
@@ -127,6 +131,15 @@ into your source tree and run the following command:
 
     $ dpkg-buildpackage -uc -us
 
+### Building Post Install Tasks
+
+After building Icinga 2 yourself, your package build system should at least run the following post
+install requirements:
+
+* enable the `checker`, `notification` and `mainlog` feature by default
+* run 'icinga2 api setup' in order to enable the `api` feature and generate SSL certificates for the node
+
+
 ## Running Icinga 2
 
 Icinga 2 comes with a single binary that takes care of loading all the relevant