manual:installation:install_from_packages:rhel_centos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:installation:install_from_packages:rhel_centos [2020/08/13 08:13]
martins-v fixing typo
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 yetThe 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.
  
-//Zabbix agent// packages and utilities //Zabbix get// and //Zabbix sender// 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 28: Line 25:
   * configuring Zabbix frontend   * configuring Zabbix frontend
 If you want to run Zabbix agent as root, see [[https://​www.zabbix.com/​documentation/​5.0/​manual/​appendix/​install/​run_agent_as_root|Running agent as root]]. If you want to run Zabbix agent as root, see [[https://​www.zabbix.com/​documentation/​5.0/​manual/​appendix/​install/​run_agent_as_root|Running agent as root]].
- 
-=== Server/​Proxy installation prerequisites === 
- 
-RHEL/CentOS 7 ships with MySQL 5.5 which is a very old version. Starting with Zabbix 5.2, server and proxy packages for said distros are built against MySQL 8 libraries taken from the official upstream repository. 
-In order to Install server or proxy one must install this repository on target machine. It can be found on [[https://​dev.mysql.com/​downloads/​repo/​yum/​|the official MySQL website]]. Otherwise installation will fail due to missing ''​libmysqlclient.so''​ dependency. 
- 
-  # rpm -Uvh https://​dev.mysql.com/​get/​mysql80-community-release-el7-3.noarch.rpm 
-  # yum clean all  
  
 === Importing data with Timescale DB === === Importing data with Timescale DB ===
Line 44: 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 84: 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 138: 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 149: 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