Zabbix Documentation 4.4

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


Sidebar

manual:appendix:install:nginx

6 Distribution-specific notes on setting up Nginx for Zabbix

RHEL

Nginx is available only in EPEL:

# yum -y install epel-release

SLES 12

In SUSE Linux Enterprise Server 12 you need to add the Nginx repository, before installing Nginx:

zypper addrepo -G -t yum -c 'http://nginx.org/packages/sles/12' nginx

You also need to configure php-fpm:

cp /etc/php5/fpm/php-fpm.conf{.default,}
sed -i 's/user = nobody/user = wwwrun/; s/group = nobody/group = www/' /etc/php5/fpm/php-fpm.conf

SLES 15

In SUSE Linux Enterprise Server 15 you need to configure php-fpm:

cp /etc/php7/fpm/php-fpm.conf{.default,}
cp /etc/php7/fpm/php-fpm.d/www.conf{.default,}
sed -i 's/user = nobody/user = wwwrun/; s/group = nobody/group = www/' /etc/php7/fpm/php-fpm.d/www.conf