Zabbix Documentation 4.2

3.04.04.24.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.4Guidelines

User Tools

Site Tools


manual:installation:install

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 [2019/01/21 09:28]
martins-v formatting change
manual:installation:install [2019/08/13 05:24] (current)
martins-v punctuation fix
Line 31: Line 31:
   adduser --quiet --system --disabled-login --ingroup zabbix --home /​var/​lib/​zabbix --no-create-home zabbix   adduser --quiet --system --disabled-login --ingroup zabbix --home /​var/​lib/​zabbix --no-create-home zabbix
  
-<note important>​Zabbix processes do not need a home directory, which is why we do not recommend creating it. However, if you are using some functionality that requires it (e. g. store mysql credentials in ''​$HOME/​.my.cnf''​) you are free to create it using the following commands.\\ \\ +<note important>​Zabbix processes do not need a home directory, which is why we do not recommend creating it. However, if you are using some functionality that requires it (e. g. store MySQL credentials in ''​$HOME/​.my.cnf''​) you are free to create it using the following commands.\\ \\ 
  
 On RedHat-based systems, run: On RedHat-based systems, run:
Line 70: Line 70:
   ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2   ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2
  
-<​note><​nowiki>​--with-libcurl</​nowiki> ​configuration option with cURL 7.20.0 or higher is required for SMTP authentication,​ supported since Zabbix 3.0.0.\\ ​<​nowiki>​--with-libcurl</​nowiki> ​and <​nowiki>​--with-libxml2</​nowiki> ​configuration options are required for virtual machine monitoring, supported since Zabbix ​2.2.0.</​note>​+<​note>​For virtual machine monitoring ''​<​nowiki>​--with-libcurl</​nowiki>​''​ and ''​<​nowiki>​--with-libxml2</​nowiki>​''​ configuration options are required; ''​<​nowiki>​--with-libcurl</​nowiki>​''​ is also required for SMTP authentication and ''​web.page.*'' ​Zabbix ​agent [[:​manual/​config/​items/​itemtypes/​zabbix_agent|items]]Note that cURL 7.20.0 or higher is [[:​manual/​installation/​requirements|required]] with the ''<​nowiki>​--with-libcurl</​nowiki>''​ configuration option.</​note>​
  
-<note important>​Since version 3.4 Zabbix will always compile with the PCRE library; installing it is not optional. %%--with-libpcre=[DIR]%% only allows pointing to a specific base install directory, instead of searching through a number of common places for the libpcre files.</​note>​+<note important>​Since version 3.4.0, Zabbix will always compile with the PCRE library; installing it is not optional. ​''​%%--with-libpcre=[DIR]%%'' ​only allows pointing to a specific base install directory, instead of searching through a number of common places for the libpcre files.</​note>​
  
 To configure the sources for a Zabbix server (with PostgreSQL etc.), you may run: To configure the sources for a Zabbix server (with PostgreSQL etc.), you may run:
Line 183: Line 183:
 <​note>​Additionally,​ to use any other language than English, its locale should be installed on the web server. See the [[manual:​web_interface:​user_profile#​see_also|"​See also"​]] section in the "User profile"​ page to find out how to install it if required.</​note>​ <​note>​Additionally,​ to use any other language than English, its locale should be installed on the web server. See the [[manual:​web_interface:​user_profile#​see_also|"​See also"​]] section in the "User profile"​ page to find out how to install it if required.</​note>​
  
 +<​note>​In Zabbix 4.2.2 (only) the web server user requires //write// permissions to the ''​assets''​ directory.</​note>​
 == Installing frontend == == Installing frontend ==
  
Line 213: Line 214:
 |//PHP always_populate_raw_post_data option// ​ |must be disabled ​ |Required only for PHP versions 5.6.0 or newer.\\ In php.ini:\\ always_populate_raw_post_data = -1 | |//PHP always_populate_raw_post_data option// ​ |must be disabled ​ |Required only for PHP versions 5.6.0 or newer.\\ In php.ini:\\ always_populate_raw_post_data = -1 |
 |//​sockets// ​ |  |php-net-socket. Required for user script support. ​  | |//​sockets// ​ |  |php-net-socket. Required for user script support. ​  |
-|//​gd// ​ |2.0 or higher  ​|php-gd. PHP GD extension must support PNG images (//<​nowiki>​--with-png-dir</​nowiki>//​),​ JPEG (//<​nowiki>​--with-jpeg-dir</​nowiki>//​) images and FreeType 2 (//<​nowiki>​--with-freetype-dir</​nowiki>//​). |+|//​gd// ​ |2.0.28 |php-gd. PHP GD extension must support PNG images (//<​nowiki>​--with-png-dir</​nowiki>//​),​ JPEG (//<​nowiki>​--with-jpeg-dir</​nowiki>//​) images and FreeType 2 (//<​nowiki>​--with-freetype-dir</​nowiki>//​). |
 |//​libxml// ​ |2.6.15 ​ |php-xml or php5-dom ​ | |//​libxml// ​ |2.6.15 ​ |php-xml or php5-dom ​ |
 |//​xmlwriter// ​ |  |php-xmlwriter ​ | |//​xmlwriter// ​ |  |php-xmlwriter ​ |