Zabbix Documentation 5.0

3.04.05.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.24.4Guidelines

User Tools

Site Tools


manual:installation:install_from_packages:frontend_on_rhel7

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:frontend_on_rhel7 [2020/02/17 15:09]
marinagen formatting to make table of contents better
manual:installation:install_from_packages:frontend_on_rhel7 [2020/05/12 12:41] (current)
yuriii [Upgrading to Zabbix 5.0 from older versions] added link back to the main upgrade page
Line 21: Line 21:
   zabbix-server-mysql.x86_64 : Zabbix server for MySQL or MariaDB database   zabbix-server-mysql.x86_64 : Zabbix server for MySQL or MariaDB database
   zabbix-server-pgsql.x86_64 : Zabbix server for PostgresSQL database   zabbix-server-pgsql.x86_64 : Zabbix server for PostgresSQL database
-This is due to the fact that frontend packages were moved to a deprecated ​repository.\\+This is due to the fact that frontend packages were moved to a dedicated ''​frontend''​ sub-repository.\\
 However, they can still be installed, if PHP 7.2 dependencies are provided.\\ However, they can still be installed, if PHP 7.2 dependencies are provided.\\
 <​note>​ For your convenience,​ any direct dependency on PHP has been removed from the main ''​zabbix-web''​ package. This gives more flexibility in choosing the way to resolve PHP 7.2 dependency. </​note>​ <​note>​ For your convenience,​ any direct dependency on PHP has been removed from the main ''​zabbix-web''​ package. This gives more flexibility in choosing the way to resolve PHP 7.2 dependency. </​note>​
  
-It is recommended to use PHP packages from [[https://​access.redhat.com/​documentation/​en-us/​red_hat_software_collections/​3/​|Red Hat Software Collections]]. +It is recommended to use PHP packages from [[https://​access.redhat.com/​documentation/​en-us/​red_hat_software_collections/​3/​|Red Hat Software Collections]].\\ 
-To enable them:+To enable them run:
  
 On RHEL On RHEL
Line 43: Line 43:
  
 Next, edit ''/​etc/​yum.repos.d/​zabbix.repo''​ file (if there is no such file, install [[https://​www.zabbix.com/​download|zabbix-release]] first). Next, edit ''/​etc/​yum.repos.d/​zabbix.repo''​ file (if there is no such file, install [[https://​www.zabbix.com/​download|zabbix-release]] first).
-Enable ''​zabbix-deprecated''​ repository. +Enable ''​zabbix-frontend''​ repository. 
-  [zabbix-deprecated]+  [zabbix-frontend]
   ...   ...
   enabled=1   enabled=1
Line 110: Line 110:
 ==== Upgrading to Zabbix 5.0 from older versions ==== ==== Upgrading to Zabbix 5.0 from older versions ====
 Special care must be taken during upgrade to Zabbix 5.0 from previous versions. Special care must be taken during upgrade to Zabbix 5.0 from previous versions.
 +
 +<note important>​[[:​manual/​installation/​upgrade/​packages/​rhel_centos|See general upgrade instructions.]]</​note>​
  
 Packages from Red Hat Software Collections are designed to avoid conflicts with files from the main repositories.\\ Packages from Red Hat Software Collections are designed to avoid conflicts with files from the main repositories.\\
Line 123: Line 125:
 Instructions below are for installing Zabbix with MySQL support. Substitute '​mysql'​ in the commands with '​pgsql'​ to use PostgreSQL\\ Instructions below are for installing Zabbix with MySQL support. Substitute '​mysql'​ in the commands with '​pgsql'​ to use PostgreSQL\\
  
-It is assumed that both frontend and server run on the same box. If you have different ​setuo, make adjustments accordingly.\\+It is assumed that both frontend and server run on the same box. If you have different ​setup, make adjustments accordingly.\\
  
 **Remove old frontend** **Remove old frontend**
Line 146: Line 148:
   yum-config-manager --enable ol7_latest ol7_optional_latest   yum-config-manager --enable ol7_latest ol7_optional_latest
  
-**Install Zabbix 5.0 release package and enable ​Zabbix-deprecated ​repository**+**Install Zabbix 5.0 release package and enable ​zabbix-frontend ​repository**
  
 Install ''​zabbix-release-5.0''​ package. Install ''​zabbix-release-5.0''​ package.
-  rpm -Uvh https://​repo.zabbix.com/​zabbix/​4.5/rhel/7/​x86_64/​zabbix-release-4.5-2.el7.noarch.rpm+  rpm -Uvh https://​repo.zabbix.com/​zabbix/​5.0/rhel/8/​x86_64/​zabbix-release-5.0-1.el8.noarch.rpm
   yum clean all   yum clean all
  
 Edit ''/​etc/​yum.repos.d/​zabbix.repo''​ file. Edit ''/​etc/​yum.repos.d/​zabbix.repo''​ file.
 Replace ''​enabled=0''​ with ''​enabled=1''​. Replace ''​enabled=0''​ with ''​enabled=1''​.
-  [zabbix-deprecated]+  [zabbix-frontend]
   ...   ...
   enabled=1   enabled=1
Line 187: Line 189:
   systemctl disable nginx php-fpm   systemctl disable nginx php-fpm
  
-When editing ''​zabbix.conf''​ file for php-fpm, add user ''​apache''​ to ''​listen.acl_users''​ directive+When editing ''​zabbix.conf''​ file for php-fpm, add user ''​nginx''​ to ''​listen.acl_users''​ directive
   listen.acl_users = apache,​nginx   listen.acl_users = apache,​nginx