Monday, February 12, 2018

How to Install Zabbix Server 3.0 LTS on Ubuntu 15.10

Prerequisites

 sudo apt-get update
 sudo apt-get install apache2
 sudo apt-get install mysql-server
 sudo apt-get install php5 php5-cli php5-common php5-mysql

Update Timezone in PHP Configuration
sudo nano /etc/php5/apache2/php.ini
;[Date]
date.timezone = 'Asia/Kolkata'


Adding Apt Repository
sudo wget http://repo.zabbix.com/zabbix/3.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.0-1+trusty_all.deb
sudo dpkg -i zabbix-release_3.0-1+trusty_all.deb
sudo apt-get update

Install Zabbix Server
sudo apt-get install zabbix-server-mysql zabbix-frontend-php

Create Database Schema
mysql -u root -p


 CREATE DATABASE zabbixdb;
 GRANT ALL on zabbixdb.* to zabbix@localhost IDENTIFIED BY 'password';
 FLUSH PRIVILEGES;
 quit

Import zabbix database schema in newly created database
 cd /usr/share/doc/zabbix-server-mysql
 sudo gunzip create.sql.gz
 sudo mysql -u root -p zabbixdb < create.sql


Edit zabbix server configuration file and update following entries.
sudo nano /etc/zabbix/zabbix_server.conf

  DBHost=localhost
  DBName=zabbixdb
  DBUser=zabbix
  DBPassword=password

Restart Apache and Zabbix

sudo service apache2 restart
sudo service zabbix-server restart

Zabbix Web Installer
http://localhost/zabbix/

Login to Zabbix
Username:  admin
Password:  zabbix



  • How to enable SNMP on Windows 8 
https://www.youtube.com/watch?v=RQRCWjVX8do 

No comments:

Post a Comment