CentOS 7 on Zabbix 3.0 server-side installation

Source: Internet
Author: User

Zabbix Service-side installation

Installation Complete mysql-5.6, php5.6

mysql-5.6 Installation: https://www.cnblogs.com/xzlive/p/9771642.html

Create Zabbix User

# groupadd zabbix# useradd-g Zabbix Zabbix

1.1 Download and install Zabbix
All versions: http://www.zabbix.com/download.php

# yum Install net-snmp-devel libxml2-devel libcurl-devel//must first install dependent # cd/usr/local/src# Rpm-i Https://repo.zabbix.com/zab bix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm# wget http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/ zabbix-server-mysql-3.0.9-1.el7.x86_64.rpm# wget http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/ zabbix-agent-3.0.9-1.el7.x86_64.rpm# wget  http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/ zabbix-web-mysql-3.0.9-1.el7.noarch.rpm# wget  http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/ zabbix-web-3.0.9-1.el7.noarch.rpm

1.2 Installing Zabbix server, frontend, agent

1.3 Creating a Database

# mysql-uroot-ppasswordmysql> CREATE database Zabbix character Set UTF8 collate utf8_bin;mysql> grant all Privileg Es on zabbix.* to [e-mail protected] identified by ' password ';mysql> quit;

1.4 Importing Database Data

# Zcat/usr/share/doc/zabbix-server-mysql*/create.sql.gz | Mysql-uzabbix-p Zabbix

1.5 Configuring the Zabbix server configuration file

#vi/etc/zabbix/zabbix_server.confdbpassword=Password

1.6 Configuring PHP and Zabbix frontend

#vi/etc/httpd/conf.d/zabbix.conf#php_value TimeZone Asia/shanghai#vi/etc/php.ini#date.timezone = Asia/Shanghai

1.7 Start the service and set the boot to start automatically

# systemctl Restart Zabbix-server zabbix-agent httpd# systemctl enable Zabbix-server zabbix-agent httpd

 

  

CentOS 7 on Zabbix 3.0 server-side installation

Related Article

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.