码迷,mamicode.com
首页 > 其他好文 > 详细

安装zabbix报错

时间:2018-04-14 02:17:34      阅读:3809      评论:0      收藏:0      [点我收藏+]

标签:zabbixlinux监控

安装之前先通过yum的方式解决依赖:

shell> yum install unixODBC-devel mysql-devel net-snmp-devel libxml2-devel libcurl-devel libevent-devel

shell> ./configure --prefix=/usr/local/zabbix/ --enable-server  --with-mysql --with-net-snmp --with-libcurl --with-libxml2 --with-unixodbc

configure: error: Unable to use libevent (libevent check failed)

解决方法:


shell> wget http://monkey.org/~provos/libevent-1.4.14b-stable.tar.gz
shell> tar xf libevent-1.4.14b-stable.tar.gz 
shell>cd libevent-1.4.14b-stable
shell> ./configure --prefix=/opt/libevent
shell> make && make install
shell> ./configure --prefix=/usr/local/zabbix/ --enable-server  --enable-agent --enable-java --with-mysql --with-net-snmp --with-libcurl --with-libxml2 --with-unixodbc --with-libevent=/opt/libevent/
configure: error: Unable to use libpcre (libpcre check failed
```)

解决:libpcre
`shell>yum -y install pcre*`
缺少依赖解决完毕

安装zabbix报错

标签:zabbixlinux监控

原文地址:http://blog.51cto.com/maoxiaoxiong/2103320

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!