I often compile Zabbix from sources for work and for testing purposes.
In my opinion this is the best way of installation, because you can configure and install Zabbix Server or Proxy only with features that you exactly need and without relying on package options.
For each configuration, additional libraries will be needed, otherwise you’ll receive a dependency error.
So I’ve decided to find out which packages should be installed before compilation.
The installation has been performed in local lab on following environments:
Solution: According to Zabbix official documentation, CLI location should be set. If DB2 is already installed locally, you shouldn’t receive such error. Otherwise download IBM Data Server Driver for ODBC and CLI (CLI Driver)
Solution: Download and install Oracle Instant Client
Solution: sudo apt-get install libmysqld-dev / sudo yum install mysql-devel
Note: in CentOS 7 mysql replaced with MariaDB so mariadb-devel will be installed
Solution: sudo apt-get install libpq-dev / sudo yum install postgresql-devel
Solution: sudo apt-get install libsqlite3-dev / sudo yum install sqlite-devel
Solution: sudo apt-get install libiksemel-dev then try –with-jabber=/usr / for CentOS install RPM’s from zabbix repos
Solution: sudo apt-get install libxml2-dev / sudo yum install libxml2-devel
Solution: sudo apt-get install unixodbc-dev / sudo yum install unixODBC-devel
Solution: sudo apt-get install libsnmp-dev snmp / sudo yum install net-snmp-devel net-snmp
Note: I’d recommend install snmp/net-snmp also with devel packages just to avoid error of loading MIBs during Zabbix Server/Proxy first start.
Solution: sudo apt-get install libssh2-1-dev / sudo yum install libssh2-devel
Solution: sudo apt-get install libopenipmi-dev / sudo yum install OpenIPMI-devel
Solution: sudo apt-get install libldap2-dev / sudo yum install openldap-devel
Solution: sudo apt-get install libcurl4-openssl-dev / sudo yum install libcurl-devel
Solution: Best options is to install mbed TLS from sources
Note: Currently Zabbix supports 1.3.X version only. See more here.
Solution: sudo apt-get install libgnutls-dev / sudo yum install gnutls-devel
In my opinion this is the best way of installation, because you can configure and install Zabbix Server or Proxy only with features that you exactly need and without relying on package options.
For each configuration, additional libraries will be needed, otherwise you’ll receive a dependency error.
So I’ve decided to find out which packages should be installed before compilation.
The installation has been performed in local lab on following environments:
- Operation systems: Ubuntu 16.04.1 LTS / CentOS 7.2.1511 (Core)
- Software: Zabbix 3.0.4 LTS
Solution: According to Zabbix official documentation, CLI location should be set. If DB2 is already installed locally, you shouldn’t receive such error. Otherwise download IBM Data Server Driver for ODBC and CLI (CLI Driver)
Solution: Download and install Oracle Instant Client
Solution: sudo apt-get install libmysqld-dev / sudo yum install mysql-devel
Note: in CentOS 7 mysql replaced with MariaDB so mariadb-devel will be installed
Solution: sudo apt-get install libpq-dev / sudo yum install postgresql-devel
Solution: sudo apt-get install libsqlite3-dev / sudo yum install sqlite-devel
Solution: sudo apt-get install libiksemel-dev then try –with-jabber=/usr / for CentOS install RPM’s from zabbix repos
Solution: sudo apt-get install libxml2-dev / sudo yum install libxml2-devel
Solution: sudo apt-get install unixodbc-dev / sudo yum install unixODBC-devel
Solution: sudo apt-get install libsnmp-dev snmp / sudo yum install net-snmp-devel net-snmp
Note: I’d recommend install snmp/net-snmp also with devel packages just to avoid error of loading MIBs during Zabbix Server/Proxy first start.
Solution: sudo apt-get install libssh2-1-dev / sudo yum install libssh2-devel
Solution: sudo apt-get install libopenipmi-dev / sudo yum install OpenIPMI-devel
Solution: sudo apt-get install libldap2-dev / sudo yum install openldap-devel
Solution: sudo apt-get install libcurl4-openssl-dev / sudo yum install libcurl-devel
Solution: Best options is to install mbed TLS from sources
Note: Currently Zabbix supports 1.3.X version only. See more here.
Solution: sudo apt-get install libgnutls-dev / sudo yum install gnutls-devel
No comments:
Post a Comment