zabbix3.0 installation deployment using Yum mode

Source: Internet
Author: User


System: CentOS7.0

All using Yum installation method


1, installation of Zabbix Yum source

#  yum install 650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/E /u261/lang/zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "spacer.gif"/>/http repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm


2. Install the Zabbix components

# Yum install-y zabbix-agent zabbix-get zabbix-java-gateway zabbix-server-mysql zabbix-web zabbix-web-mysql Zabbix -sender


3. Install MySQL Service

# yum Install Mariadb-server mariadb


4. Start the MySQL service

# Systemctl Start Mariadb.service


5. New Zabbix users and permissions in MySQL

mysql> CREATE database MySQL;

Mysql> Grant all privileges the zabbix.* to [e-mail protected] ' 192.168.% ' identified by ' 123.com ' with GRANT option;

mysql> flush Privileges;


6. Import MySQL Data

# cd/usr/share/doc/zabbix-server-mysql-3.0.0

# Zcat Create.sql.gz | mysql-uzabbix-p123.com-h192.168.1.119 Zabbix


7. Configure the MySQL environment

# vim/etc/zabbix/zabbix_server.conf

# dbhost=192.168.1.119

# Dbname=zabbix

# Dbuser=zabbix

# Dbpassword=zabbix


8. Start Zabbix-server

# Systemctl Start Zabbix-server


9. Configuring Zabbix PHP Environment

# vim/etc/httpd/conf.d/zabbix.conf

Php_value Max_execution_time 300

Php_value Memory_limit 128M

Php_value post_max_size 16M

Php_value upload_max_filesize 2M

Php_value Max_input_time 300

Php_value Always_populate_raw_post_data-1


10. Start httpd

# Systemctl Start httpd


The time zone problem was prompted prior to deployment,

# Vim/etc/php.ini

Date.timezone = Asia/shanghai



The system is not supported by default in Chinese language, you need to modify a parameter:

Vim include/locales.inc.php zh_cn ' = = Array (' name ' = = (' Chinese (zh_cn) '), ' display ' = True),

False, please change to True


Solve the problem of Chinese garbled:

Copy windows under fonts such as Microsoft Ya Black msyh to ZABBIX server/zabbix_web/zabbix/fonts

Modify the Zabbix web-side/include/defines.inc.php

Define (' Zbx_font_name ', ' msyh ')

Define (' Zbc_graph_font_name ', ' msyh ')


The entire installation deployment is complete.

Access:

Http://192.168.1.119/zabbix



For details, please refer to Official document:Https://www.zabbix.com/documentation/3.0/manual/installation/install_from_packages



This article is from the "it Side dish" blog, make sure to keep this source http://3777119.blog.51cto.com/3767119/1835774

zabbix3.0 installation deployment using Yum mode

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.