Zabbix的官方网站的下载页是:
http://www.zabbix.com/download

最新版本3.2的YUM源页面为:
http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/

ZABBIX官方的维基百科:
http://zabbix.org/wiki/

ZABBIX官方的安装手册:
http://zabbix.org/wiki/InstallOnCentOS_RHEL

ZABBIX官方的仓库:
http://repo.zabbix.com/zabbix/

下面,本文会完全按照官方文档,在CENTOS上面,部署一遍ZABBIX 3.2。

一、操作系统

发行版与内核版本

二、EPEL

URL:

Zabbix 2.0 packages for RHEL, CentOS, SL


http://fedoraproject.org/wiki/EPEL
http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F

If you are running an EL7 version, please visit here to get the newest ‘epel-release’ package for EL7: The newest version of ‘epel-release’ for EL7
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

If you are running an EL6 version, please visit here to get the newest ‘epel-release’ package for EL6: The newest version of ‘epel-release’ for EL6
https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

If you are running an EL5 version, please visit here to get the newest ‘epel-release’ package for EL5: The newest version of ‘epel-release’ for EL5
https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm

详情:

三、ZABBIX-RELEASE

最新版本的RELEASE安装包:
http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm

详细:

四、安装

详细:

五、Percona MySQL:安装并配置

安装过程,不在重复,本站就有很多文章在说这件事。

配置:
文件:/etc/percona-server.conf.d/mysqld.cnf

创建目录:
mkdir -p /data/database/percona_data/{binlog_data,db_data}

启动服务:

修改初始口令:

创建ZABBIX底层库:

初始化:

六、ZABBIX:配置

配置文件:/etc/zabbix/zabbix_server.conf

升级:trousers

七、ZABBIX:启动服务

具体如下:

配置HTTPD的虚拟主机:

启动HTTPD服务:

然后,就可以访问WEB了:
URL:http://10.158.1.129/zabbix/setup.php

——————————————————————————
Done。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

隐藏
变装