This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
manual:installation:install_from_packages:rhel_centos [2020/07/10 08:25] marinagen removing mention of frontend on RHEL 6 (no longer supported) |
manual:installation:install_from_packages:rhel_centos [2021/01/27 20:27] (current) |
||
---|---|---|---|
Line 5: | Line 5: | ||
Official Zabbix packages are available for: | Official Zabbix packages are available for: | ||
- | |RHEL 8, CentOS 8 and Oracle Linux 8 |[[https://www.zabbix.com/download?zabbix=5.0&os_distribution=red_hat_enterprise_linux&os_version=8&db=mysql|Download]] | | + | |RHEL 8, CentOS 8 and Oracle Linux 8 |[[https://www.zabbix.com/download?zabbix=5.2&os_distribution=red_hat_enterprise_linux&os_version=8&db=mysql|Download]] | |
- | |RHEL 7, CentOS 7 and Oracle Linux 7 |[[https://www.zabbix.com/download?zabbix=5.0&os_distribution=red_hat_enterprise_linux&os_version=7&db=mysql|Download]] | | + | |
Packages are available with either MySQL/PostgreSQL database and Apache/Nginx webserver support. | Packages are available with either MySQL/PostgreSQL database and Apache/Nginx webserver support. | ||
- | <note important>Zabbix 5.2 is not released yet. The download links lead to pre-5.2 packages.</note> | + | //Zabbix agent// packages and utilities //Zabbix get// and //Zabbix sender// are available for [[https://repo.zabbix.com/zabbix/5.2/rhel/7/x86_64/|RHEL 7]], [[https://repo.zabbix.com/zabbix/5.2/rhel/6/x86_64/|RHEL 6]] and [[https://repo.zabbix.com/zabbix/5.2/rhel/5/x86_64|RHEL 5]] as well. |
- | Some agent and proxy packages are available for [[https://repo.zabbix.com/zabbix/5.0/rhel/6/x86_64/|RHEL 6]] and [[https://repo.zabbix.com/zabbix/5.0/rhel/5/x86_64|RHEL 5]] as well. | + | Zabbix official repository provides fping and libssh2 packages as well. These packages are located in the [[https://repo.zabbix.com/non-supported/|non-supported]] directory. |
- | + | ||
- | Zabbix official repository provides fping, iksemel, libssh2 packages as well. These packages are located in the [[https://repo.zabbix.com/non-supported/|non-supported]] directory. | + | |
==== Notes on installation ==== | ==== Notes on installation ==== | ||
Line 36: | Line 33: | ||
<note warning>TimescaleDB is supported with Zabbix server only.</note> | <note warning>TimescaleDB is supported with Zabbix server only.</note> | ||
- | |||
- | === Frontend installation prerequisites === | ||
- | |||
- | Zabbix frontend requires additional packages not available in basic installation. You need to enable repository of optional rpms in the system you will run Zabbix frontend on: | ||
- | |||
- | RHEL 7: | ||
- | |||
- | # yum-config-manager --enable rhel-7-server-optional-rpms | ||
- | |||
- | <note> Note that Nginx for RHEL is available in Red Hat Software Collections and in [[https://fedoraproject.org/wiki/EPEL|EPEL]]. If Red Hat Software Collections are used, simply install zabbix-nginx-conf-scl package. </note> | ||
=== PHP 7.2 === | === PHP 7.2 === | ||
Zabbix frontend requires PHP version **7.2 or newer** starting with Zabbix 5.0. | Zabbix frontend requires PHP version **7.2 or newer** starting with Zabbix 5.0. | ||
- | |||
- | Note that RHEL/CentOS 7 only provide PHP 5.4. See [[:manual/installation/install_from_packages/frontend_on_rhel7|instructions]] for installing Zabbix frontend on Red Hat Enterprise Linux/CentOS 7. | ||
- | |||
- | |||
=== SELinux configuration === | === SELinux configuration === | ||
Line 76: | Line 59: | ||
Once the required repository is added, you can install Zabbix proxy by running: | Once the required repository is added, you can install Zabbix proxy by running: | ||
- | # yum install zabbix-proxy-mysql | + | # dnf install zabbix-proxy-mysql |
Substitute 'mysql' in the commands with 'pgsql' to use PostgreSQL, or with 'sqlite3' to use SQLite3 (proxy only). | Substitute 'mysql' in the commands with 'pgsql' to use PostgreSQL, or with 'sqlite3' to use SQLite3 (proxy only). | ||
Line 130: | Line 113: | ||
Once the required repository is added, you can install Zabbix Java gateway by running: | Once the required repository is added, you can install Zabbix Java gateway by running: | ||
- | # yum install zabbix-java-gateway | + | # dnf install zabbix-java-gateway |
Proceed to [[:manual/concepts/java/from_rhel_centos|setup]] for more details on configuring and running Java gateway. | Proceed to [[:manual/concepts/java/from_rhel_centos|setup]] for more details on configuring and running Java gateway. | ||
Line 141: | Line 124: | ||
[zabbix-debuginfo] | [zabbix-debuginfo] | ||
name=Zabbix Official Repository debuginfo - $basearch | name=Zabbix Official Repository debuginfo - $basearch | ||
- | baseurl=http://repo.zabbix.com/zabbix/4.5/rhel/7/$basearch/debuginfo/ | + | baseurl=http://repo.zabbix.com/zabbix/5.2/rhel/7/$basearch/debuginfo/ |
enabled=0 | enabled=0 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591 |