Zabbix Installation Tutorials

Source: Internet
Author: User
Tags snmp

First, the document

Official Document: Https://www.zabbix.com/documentation/2.4/manual/installation/install

: http://www.zabbix.com/download.php

Database Documentation: Https://www.zabbix.com/documentation/2.4/manual/appendix/install/db_scripts

Second, Zabbix installation

1. Unzip the Zabbix

TAR-ZXVF zabbix.2.x.x


2. Create Zabbix users and groups, and add Zabbix to the Zabbix group

Groupadd zabbixuseradd-g Zabbix Zabbix

3. Install lamp environment

Yum install–y httpd httpd-devel mysql mysql-server mysql-devel php php-devel php-mysql php-gd gcc gcc-c++ lrzsz wget net- SNMP Net-snmp-devell php-bcmath php-mbstring php-xmlwriter php-xmlreader

4. Create a Zabbix database

Shell> mysql-uroot-p
Mysql> CREATE database Zabbix character Set UTF8 collate utf8_bin;mysql> grant all privileges on zabbix.* to [email Protected] identified by ';mysql> flush privileges;mysql> quit;
Shell> mysql-uzabbix-p Zabbix < database/mysql/schema.sqlshell> mysql-uzabbix-p Zabbix < database/mysql/im Ages.sqlshell> Mysql-uzabbix-p Zabbix < Database/mysql/data.sql
5.zabbix Installation
./configure--enable-server--enable-agent--with-mysql--enable-ipv6--with-net-snmp--with-libcurl-- With-libxml2make Install

6. Configure Zabbix

Modify Zabbix_server

Vim/usr/local/etc/zabbix_server.conflogfile=/var/log/zabbix/zabbix_server.logdbname=zabbixdbuser= zabbixdbpassword=baywznb2015

Modify Zabbix_agentd

Vim/usr/local/etc/zabbix_agentd.confserver=127.0.0.1serveractive=127.0.0.1hostname=zabbixserver

Copy the Zabbix front-end file to HTTP

Mkdir/var/www/html/zabbixcd/usr/local/src/zabbix-2.4.7/frontends/phpcp–a. /var/www/html/zabbixchwon-r Apache.apache/var/www/html/zabbix

7. Configure PHP

Post_max_size = 16mmax_execution_time = 300max_input_time = 300memory_limit = 128mdate.timezone =Asia/Shanghai

8. Web Interface Installation

Skip here ...

This article is from the "Dolphin Fly" blog, please be sure to keep this source http://7885315.blog.51cto.com/7875315/1729452

Zabbix Installation Tutorials

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.