zabbix安装配置2
Posted vijayfly
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix安装配置2相关的知识,希望对你有一定的参考价值。
1.平台:centos6.5
2.安装epel:
yum install http://mirrors.aliyun.com/epel/6/x86_64/epel-release-6-8.noarch.rpm -y
3.安装zabbix的yum源包
yum install http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm -y
4.安装mysql,步骤略..
5.安装zabbix服务
yum install zabbinx-server zabbix-server-mysql
6.导入数据
[[email protected] ~]# rpm -ql zabbix-server-mysql /usr/sbin/zabbix_server_mysql /usr/share/doc/zabbix-server-mysql-2.4.7 /usr/share/doc/zabbix-server-mysql-2.4.7/create /usr/share/doc/zabbix-server-mysql-2.4.7/create/data.sql /usr/share/doc/zabbix-server-mysql-2.4.7/create/images.sql /usr/share/doc/zabbix-server-mysql-2.4.7/create/schema.sql /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades/dbpatches /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades/dbpatches/1.6 /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades/dbpatches/1.6/mysql /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades/dbpatches/1.6/mysql/patch.sql /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades/dbpatches/1.8 /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades/dbpatches/1.8/mysql /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades/dbpatches/1.8/mysql/patch.sql /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades/dbpatches/1.8/mysql/upgrade /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades/dbpatches/2.0 /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades/dbpatches/2.0/mysql /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades/dbpatches/2.0/mysql/patch.sql /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades/dbpatches/2.0/mysql/rc4_rc5.sql /usr/share/doc/zabbix-server-mysql-2.4.7/upgrades/dbpatches/2.0/mysql/upgrade
mysql -uzb_user -p123456 zabbix </usr/share/doc/zabbix-server-mysql-2.4.7/create/schema.sql mysql -uzb_user -p123456 zabbix </usr/share/doc/zabbix-server-mysql-2.4.7/create/images.sql mysql -uzb_user -p123456 zabbix </usr/share/doc/zabbix-server-mysql-2.4.7/create/data.sql
7.配置zabbix_server.conf和php.ini
8.安装zabbix的web
yum install zabbix-web zabbix-web-mysql -y
以上是关于zabbix安装配置2的主要内容,如果未能解决你的问题,请参考以下文章