zabbix-proxy3.0.4编译安装
Posted 毛台
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix-proxy3.0.4编译安装相关的知识,希望对你有一定的参考价值。
数据库配置:
innodb_file_per_table=1
?
安装mysql
rpm -ivh http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm
?
修改mysql配置:
[mysqld]
default-storage-engine = innodb
innodb_file_per_table
collation-server = utf8_general_ci
init-connect = ‘SET NAMES utf8‘
character-set-server = utf8
?
mysql_secure_installation
CREATE DATABASE zabbix CHARACTER SET utf8 COLLATE utf8_bin;
GRANT ALL PRIVILEGES ON zabbix.* TO [email protected] IDENTIFIED BY ‘zabbix‘;
?
yum install mysql-devel net-snmp-devel curl-devel -y
./configure --prefix=/usr/local/zabbix-proxy --enable-proxy --enable-agent --with-mysql --with-net-snmp --with-libcurl
./configure --prefix=/usr/local/zabbix-proxy --enable-proxy --with-mysql --with-net-snmp --with-libcurl
?
[[email protected] mysql]# pwd
/home/lanny/tools/zabbix-3.0.4/database/mysql
mysql -u zabbix -p zabbix < schema.sql
以上是关于zabbix-proxy3.0.4编译安装的主要内容,如果未能解决你的问题,请参考以下文章