Install Zabbix on Debian

zabbix_logo$ apt-get install mysql-server apache2 php5 php5-mysql php5-gd libmysqld-dev libcurl4-gnutls-dev libsnmp-dev fping snmpd

$ mysql -u root -p
mysql> create database zabbix character set utf8;
mysql> grant all privileges on zabbix.* to zabbix@localhost identified by ‘zabbix’;
mysql> exit 

$ aptitude install zabbix-server-mysql
puts password 2 times to zabbix

$ aptitude install zabbix-frontend-php
puts password 2 times to zabbix

$ vim /etc/php5/apache2/php.ini

 

post_max_size = 32M
max_execution_time = 600
max_input_time = 600
memory_limit = 256M
upload_max_filesize = 16M
#time zone list (date.timezone) you can find on http://php.net/date.timezone
date.timezone = "Europe/Kiev"

$ /etc/init.d/zabbix-server restart

in brouther http://server.name/zabbix
change password for admin

Leave a comment