From d12a9917e3c195824d29946afce6cff2c0f193bb Mon Sep 17 00:00:00 2001 From: Mikhail Grigorev Date: Wed, 29 Jan 2025 20:58:50 +0500 Subject: [PATCH] Fixed README --- BUILD.md | 29 ++++++++++++++++++++++++----- BUILD.ru.md | 10 +++++++++- 2 files changed, 33 insertions(+), 6 deletions(-) diff --git a/BUILD.md b/BUILD.md index dbef5fe5..d9e4409c 100644 --- a/BUILD.md +++ b/BUILD.md @@ -36,7 +36,9 @@ cd zabbix-4.4.27 ### 3. Build all Zabbix components with MySQL (MariaDB) support: ~~~~ -./configure --with-libpthread --with-libpcre --with-libcurl --with-libxml2 --with-net-snmp --with-openssl --enable-ipv6 --with-ssh2 --with-openipmi --with-unixodbc --with-ldap --enable-server --enable-proxy --enable-agent --enable-java --sysconfdir=/etc/zabbix --with-mysql +./configure --with-libpthread --with-libpcre --with-libcurl --with-libxml2 --with-net-snmp --with-openssl \ +--enable-ipv6 --with-ssh2 --with-openipmi --with-unixodbc --with-ldap --enable-server \ +--enable-proxy --enable-agent --enable-java --sysconfdir=/etc/zabbix --with-mysql make make gettext ~~~~ @@ -76,6 +78,14 @@ yum group install "Development Tools" yum-config-manager --enable ol7_optional_latest yum-config-manager --enable ol7_developer yum install -y wget unzip gettext java-1.8.0-openjdk libxml2-devel openssl-devel libcurl-devel net-snmp-devel libevent-devel sqlite-devel pcre-devel libssh2-devel OpenIPMI-devel unixODBC-devel openldap-devel +~~~~ + +Install the required version of oracle-instantclient +The commands below will install the latest current version, it may change from year to year. +In 2025 year, version 21 of oracle-instantclient will be installed. +[Look at this page](https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html) for the version you need and adjust the URL addresses. + +~~~~ yum localinstall -y https://download.oracle.com/otn_software/linux/instantclient/oracle-instantclient-basic-linuxx64.rpm yum localinstall -y https://download.oracle.com/otn_software/linux/instantclient/oracle-instantclient-devel-linuxx64.rpm ~~~~ @@ -91,7 +101,10 @@ cd zabbix-4.4.27 ### 3. Build all Zabbix components with Oracle 19c support: ~~~~ -./configure --with-libpthread --with-libpcre --with-libcurl --with-libxml2 --with-net-snmp --with-openssl --enable-ipv6 --with-ssh2 --with-openipmi --with-unixodbc --with-ldap --enable-server --enable-proxy --enable-agent --enable-java --sysconfdir=/etc/zabbix --with-oracle --with-oracle-lib=/usr/lib/oracle/19.8/client64/lib --with-oracle-include=/usr/include/oracle/19.8/client64 +./configure --with-libpthread --with-libpcre --with-libcurl --with-libxml2 --with-net-snmp --with-openssl \ +--enable-ipv6 --with-ssh2 --with-openipmi --with-unixodbc --with-ldap --enable-server --enable-proxy \ +--enable-agent --enable-java --sysconfdir=/etc/zabbix \ +--with-oracle --with-oracle-lib=/usr/lib/oracle/21/client64/lib --with-oracle-include=/usr/include/oracle/21/client64 make make gettext ~~~~ @@ -144,7 +157,9 @@ cd zabbix-4.4.27 ### 3. Build all Zabbix components with MySQL (MariaDB) support: ~~~~ -./configure --with-libpthread --with-libpcre --with-libcurl --with-libxml2 --with-net-snmp --with-openssl --enable-ipv6 --with-ssh2 --with-openipmi --with-unixodbc --with-ldap --enable-server --enable-proxy --enable-agent --enable-java --sysconfdir=/etc/zabbix --with-mysql +./configure --with-libpthread --with-libpcre --with-libcurl --with-libxml2 --with-net-snmp --with-openssl \ +--enable-ipv6 --with-ssh2 --with-openipmi --with-unixodbc --with-ldap --enable-server \ +--enable-proxy --enable-agent --enable-java --sysconfdir=/etc/zabbix --with-mysql make make gettext ~~~~ @@ -193,7 +208,9 @@ cd zabbix-4.4.27 ### 3. Build all Zabbix components with MySQL (MariaDB) support: ~~~~ -./configure --with-libpthread --with-libpcre --with-libcurl --with-libxml2 --with-net-snmp --with-openssl --enable-ipv6 --with-ssh2 --with-openipmi --with-unixodbc --with-ldap --enable-server --enable-proxy --enable-agent --enable-java --sysconfdir=/etc/zabbix --with-mysql +./configure --with-libpthread --with-libpcre --with-libcurl --with-libxml2 --with-net-snmp --with-openssl \ +--enable-ipv6 --with-ssh2 --with-openipmi --with-unixodbc --with-ldap --enable-server \ +--enable-proxy --enable-agent --enable-java --sysconfdir=/etc/zabbix --with-mysql make make gettext ~~~~ @@ -242,7 +259,9 @@ cd zabbix-4.4.27 ### 3. Build all Zabbix components with MySQL (MariaDB) support: ~~~~ -./configure --with-libpthread --with-libpcre --with-libcurl --with-libxml2 --with-net-snmp --with-openssl --enable-ipv6 --with-ssh2 --with-openipmi --with-unixodbc --with-ldap --enable-server --enable-proxy --enable-agent --enable-java --sysconfdir=/etc/zabbix --with-mysql +./configure --with-libpthread --with-libpcre --with-libcurl --with-libxml2 --with-net-snmp --with-openssl \ +--enable-ipv6 --with-ssh2 --with-openipmi --with-unixodbc --with-ldap --enable-server \ +--enable-proxy --enable-agent --enable-java --sysconfdir=/etc/zabbix --with-mysql make make gettext ~~~~ diff --git a/BUILD.ru.md b/BUILD.ru.md index 3ae4db1f..9a6b7275 100644 --- a/BUILD.ru.md +++ b/BUILD.ru.md @@ -77,6 +77,14 @@ yum group install "Development Tools" yum-config-manager --enable ol7_optional_latest yum-config-manager --enable ol7_developer yum install -y wget unzip gettext java-1.8.0-openjdk libxml2-devel openssl-devel libcurl-devel net-snmp-devel libevent-devel sqlite-devel pcre-devel libssh2-devel OpenIPMI-devel unixODBC-devel openldap-devel +~~~~ + +Установите нужную версию oracle-instantclient +По командам ниже будет установлена последняя актуальная версия, она может меняться от года к году. +В 2025 году будет установлена 21 версия oracle-instantclient. +Поэтому [посмотрите на этой странице](https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html) нужную Вам версию и скорректируйте URL адреса. + +~~~~ yum localinstall -y https://download.oracle.com/otn_software/linux/instantclient/oracle-instantclient-basic-linuxx64.rpm yum localinstall -y https://download.oracle.com/otn_software/linux/instantclient/oracle-instantclient-devel-linuxx64.rpm ~~~~ @@ -97,7 +105,7 @@ cd zabbix-4.4.27 ./configure --with-libpthread --with-libpcre --with-libcurl --with-libxml2 --with-net-snmp \ --with-openssl --enable-ipv6 --with-ssh2 --with-openipmi --with-unixodbc --with-ldap \ --enable-server --enable-proxy --enable-agent --enable-java --sysconfdir=/etc/zabbix \ ---with-oracle --with-oracle-lib=/usr/lib/oracle/19.8/client64/lib --with-oracle-include=/usr/include/oracle/19.8/client64 +--with-oracle --with-oracle-lib=/usr/lib/oracle/21/client64/lib --with-oracle-include=/usr/include/oracle/21/client64 make make gettext ~~~~