CentOS 7 Zabbix 3.2 Installation version 1.0

Source: Internet
Author: User
Tags yum repolist

1. Turn off SELinux and restart the server

Vim/etc/selinux/config

Selinux=disabled

Reboot


2. Turn off the firewall

Systemctl Stop Firewalld.service


3. Import the source, install the Zabbix package

RPM-IVH http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm

Yum install-y zabbix-server-mysql Zabbix-web-mysql

Yum Install-y zabbix-agent


4. Install MySQL, start the MySQL service, set up boot

RPM-IVH http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm

Yum Repolist enabled | grep "Mysql.*-community.*"

Yum Install-y mysql-community-server

Systemctl Enable Mysqld

Systemctl Start mysqld


5. Create a Zabbix database

Mysql-uroot-p

Create database Zabbix character set UTF8 collate utf8_bin;

Grant all privileges the zabbix.* to [e-mail protected] identified by ' Zabbix ';

Exit


6. Data import

Cd/usr/share/doc/zabbix-server-mysql-3.2.2/

Zcat create.sql.gz | Mysql-uroot-p Zabbix


7. Modify the configuration file

Yum install-y vim

Vim/etc/zabbix/zabbix_server.conf

Dbhost=localhost

Dbname=zabbix

Dbuser=zabbix

Dbpassword=zabbix


8. Start the Zabbix-server service, set the boot-up from

Systemctl Start Zabbix-server

Systemctl Enable Zabbix-server


9. Modify the time zone

Vim/etc/httpd/conf.d/zabbix.conf

Php_value Date.timezone Asia/shanghai


10. Start the Apache service, set up boot from boot

Systemctl Start httpd

Systemctl Enable httpd


11. Access the configuration address

http://192.168.8.228/zabbix/


This article is from a "little progress every Day" blog, make sure to keep this source http://zuoshou.blog.51cto.com/2579903/1884063

CentOS 7 Zabbix 3.2 Installation version 1.0

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.