Zabbix 3.0 Install
Install Zabbix 3.0 LTS for Ubuntu 14.04 LTS
# Add Zabbix Repository
$ wget http://repo.zabbix.com/zabbix/3.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.0-2+trusty_all.deb
$ sudo dpkg -i zabbix-release_3.0-2+trusty_all.deb
$ sudo apt update
# Install Zabbix server, frontend, agent
$ sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-agent
# Create Database Schema $ mysql -u root -p
mysql> create database zabbix character set utf8 collate utf8_bin;
mysql> GRANT ALL on zabbix.* to zabbix@localhost IDENTIFIED BY 'zabbix';
mysql> quit;
# Import Schema and Data
$ zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -u zabbix -p zabbix
# Edit Zabbix Configuration File
$ sudo vi /etc/zabbix/zabbix_server.conf
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=password
# Config PHP
$ sudo vi /etc/zabbix/apache.conf
php_value date.timezone America/Sao_Paulo
# Config Apache
$ sudo apache2ctl configtest
$ sudo vi /etc/apache2/apache2.conf -> Insert Line: ServerName server_domain_or_IP
$ sudo apache2ctl configtest
# Restart Apache and Zabbix
$ sudo service apache2 restart
$ sudo service zabbix-server restart
# Add Zabbix Repository
$ wget http://repo.zabbix.com/zabbix/3.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.0-2+trusty_all.deb
$ sudo dpkg -i zabbix-release_3.0-2+trusty_all.deb
$ sudo apt update
# Install Zabbix server, frontend, agent
$ sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-agent
# Create Database Schema $ mysql -u root -p
mysql> create database zabbix character set utf8 collate utf8_bin;
mysql> GRANT ALL on zabbix.* to zabbix@localhost IDENTIFIED BY 'zabbix';
mysql> quit;
# Import Schema and Data
$ zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -u zabbix -p zabbix
# Edit Zabbix Configuration File
$ sudo vi /etc/zabbix/zabbix_server.conf
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=password
# Config PHP
$ sudo vi /etc/zabbix/apache.conf
php_value date.timezone America/Sao_Paulo
# Config Apache
$ sudo apache2ctl configtest
$ sudo vi /etc/apache2/apache2.conf -> Insert Line: ServerName server_domain_or_IP
$ sudo apache2ctl configtest
# Restart Apache and Zabbix
$ sudo service apache2 restart
$ sudo service zabbix-server restart
Comentários
Postar um comentário