Several popular OS distributions have Áú»¢¶Ä²© packages provided. You can use these packages to install Áú»¢¶Ä²©.
OS distributions may lack the latest version of Áú»¢¶Ä²© in their repositiories.
Áú»¢¶Ä²© SIA provides official RPM and DEB packages for Red Hat Enterprise Linux, Debian and Ubuntu LTS.
Package files are available at repo.zabbix.com. yum and apt repositories are also available on the server. A step-by-step tutorial for installing Áú»¢¶Ä²© from packages is provided here.
Supported for versions: RHEL 5, RHEL 6, RHEL 7, Oracle Linux 5, Oracle Linux 6, Oracle Linux 7, CentOS 5, CentOS 6, CentOS 7
Install the repository configuration package. This package contains yum configuration files.
Áú»¢¶Ä²© 2.4 for RHEL5, Oracle Linux 5, CentOS 5:
Áú»¢¶Ä²© 2.4 for RHEL6, Oracle Linux 6, CentOS 6:
Áú»¢¶Ä²© 2.4 for RHEL7, Oracle Linux 7, CentOS 7:
Install Áú»¢¶Ä²© packages. Example for Áú»¢¶Ä²© server and web frontend with mysql database.
Áú»¢¶Ä²© official repository provides fping, iksemel, libssh2 packages as well. These packages are located in the non-supported directory.
Example for installing Áú»¢¶Ä²© agent only.
Create zabbix database and user on MySQL. See database creation scripts for MySQL.
Import initial schema and data.
# cd /usr/share/doc/zabbix-server-mysql-2.4.0/create
# mysql -uroot zabbix < schema.sql
# mysql -uroot zabbix < images.sql
# mysql -uroot zabbix < data.sql
Edit database configuration in zabbix_server.conf
Start Áú»¢¶Ä²© server process.
Apache configuration file for Áú»¢¶Ä²© frontend is located in /etc/httpd/conf.d/zabbix.conf. Some PHP settings are already configured.
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
# php_value date.timezone Europe/Riga
It's necessary to uncomment the "date.timezone" setting and set the right timezone for you. After changing the configuration file restart the apache web server.
Áú»¢¶Ä²© frontend is available at in the browser. Default username/password is Admin/zabbix.
Supported for version: Debian 7 (Wheezy), Ubuntu 14.04 LTS (Trusty Tahr)
Install the repository configuration package. This package contains apt configuration files.
Áú»¢¶Ä²© 2.4 for Debian 7:
# wget http://repo.zabbix.com/zabbix/2.4/debian/pool/main/z/zabbix-release/zabbix-release_2.4-1+wheezy_all.deb
# dpkg -i zabbix-release_2.4-1+wheezy_all.deb
# apt-get update
Áú»¢¶Ä²© 2.4 for Ubuntu 14.04 LTS:
# wget http://repo.zabbix.com/zabbix/2.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.4-1+trusty_all.deb
# dpkg -i zabbix-release_2.4-1+trusty_all.deb
# apt-get update
Install Áú»¢¶Ä²© packages. dbconfig-common will create the database and populate the initial schema and data automatically. If backend db is located on a different server, please set dbc_remote_questions_default='true' in /etc/dbconfig-common/config.
Example for Áú»¢¶Ä²© server and web frontend with mysql database.
The zabbix-frontend-php package, during installation, will configure a font, which is used on generated images. If you updated the package from any other repository and text is empty on graphs or maps, please check if a "ttf-dejavu-core" package is installed and try to execute "dpkg-reconfigure zabbix-frontend-php" command.
Example for installing Áú»¢¶Ä²© agent only.
Apache configuration file for Áú»¢¶Ä²© frontend is located in /etc/apache2/conf.d/zabbix (For ubuntu 14.04, the file is located in /etc/apache2/conf-available/zabbix.conf). Some PHP settings are already configured.
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
# php_value date.timezone Europe/Riga
It's necessary to uncomment the "date.timezone" setting and set the correct timezone for you. After changing the configuration file restart the apache web server.
Áú»¢¶Ä²© frontend is available at in the browser. Default username/password is Admin/zabbix.
See the section on installation-specific issue troubleshooting.