Skip to content

Commit

Permalink
Fixed README
Browse files Browse the repository at this point in the history
  • Loading branch information
CHERTS committed Jan 29, 2025
1 parent 8b0029e commit d12a991
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 6 deletions.
29 changes: 24 additions & 5 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~
Expand Down Expand Up @@ -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
~~~~
Expand All @@ -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
~~~~
Expand Down Expand Up @@ -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
~~~~
Expand Down Expand Up @@ -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
~~~~
Expand Down Expand Up @@ -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
~~~~
Expand Down
10 changes: 9 additions & 1 deletion BUILD.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~
Expand All @@ -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
~~~~
Expand Down

0 comments on commit d12a991

Please sign in to comment.