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源包(进入zabbix官网,点击对应版本的软件仓库,选择release的包,如zabbix-release-2.4-1.el6.noarch.rpm

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.导入数据

[root@server01 ~]# rpm -ql zabbix-server-mysql
/usr/sbin/zabbix_server_mysql
/usr/share/doc/zabbix-server-mysql-2.4.
/usr/share/doc/zabbix-server-mysql-2.4./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./upgrades
/usr/share/doc/zabbix-server-mysql-2.4./upgrades/dbpatches
/usr/share/doc/zabbix-server-mysql-2.4./upgrades/dbpatches/1.6
/usr/share/doc/zabbix-server-mysql-2.4./upgrades/dbpatches/1.6/mysql
/usr/share/doc/zabbix-server-mysql-2.4./upgrades/dbpatches/1.6/mysql/patch.sql
/usr/share/doc/zabbix-server-mysql-2.4./upgrades/dbpatches/1.8
/usr/share/doc/zabbix-server-mysql-2.4./upgrades/dbpatches/1.8/mysql
/usr/share/doc/zabbix-server-mysql-2.4./upgrades/dbpatches/1.8/mysql/patch.sql
/usr/share/doc/zabbix-server-mysql-2.4./upgrades/dbpatches/1.8/mysql/upgrade
/usr/share/doc/zabbix-server-mysql-2.4./upgrades/dbpatches/2.0
/usr/share/doc/zabbix-server-mysql-2.4./upgrades/dbpatches/2.0/mysql
/usr/share/doc/zabbix-server-mysql-2.4./upgrades/dbpatches/2.0/mysql/patch.sql
/usr/share/doc/zabbix-server-mysql-2.4./upgrades/dbpatches/2.0/mysql/rc4_rc5.sql
/usr/share/doc/zabbix-server-mysql-2.4./upgrades/dbpatches/2.0/mysql/upgrade
mysql -uzb_user -p123456 zabbix </usr/share/doc/zabbix-server-mysql-2.4./create/schema.sql
mysql -uzb_user -p123456 zabbix </usr/share/doc/zabbix-server-mysql-2.4./create/images.sql
mysql -uzb_user -p123456 zabbix </usr/share/doc/zabbix-server-mysql-2.4./create/data.sql

7.配置zabbix_server.conf和php.ini

8.安装zabbix的web

yum install zabbix-web zabbix-web-mysql -y

9.开启httpd

上一篇:网络数据包收发流程(三):e1000网卡和DMA


下一篇:JAVA_StandardServer await create[8005]怎么办