微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

centos,ubuntu下安装zabbix遇到的问题

在Ubuntu系统中,安装zabbix进行configure时会遇到以下4个主要问题

./configure --enable-server --enable-agent --with-MysqL --with-net-snmp --with-jabber --with-libcurl

1 configure: error: MysqL library not found
the problem is not installed MysqL-devel
#apt-get install libghc6-hsql-MysqL-dev (ubuntu )

2 configure: error: Jabber library not found
the problem is not installed jabber lib
#apt-get install libPHP-jabber
#apt-get install libnet-jabber-loudmouth-perl
#apt-get install jabber-dev
#apt-get install libiksemel-dev (* this packet important)

3 configure: error: Not found curl Library
the problem is not installed libcurl4-openssl-dev
#apt-get install libcurl4-openssl-dev

4 configure: error : Not found NET-SNMP library
#apt-get install libsnmp-dev

#apt-get install snmp

在CentOS系统中,安装zabbix进行configure时会遇到以下4个主要问题

./configure --enable-server --enable-agent --with-MysqL --with-net-snmp --with-jabber --with-libcurl

1 configure: error: MysqL library not found
the problem is not installed MysqL-devel
#yum install MysqL-devel

#yum install MysqL-server2 configure: error: Jabber library not foundthe problem is not installed jabber lib#wget http://iksemel.googlecode.com/files/iksemel-1.4.tar.gz下载完成后解压、配置、安装:tar zxvf iksemel-1.4.tar.gzcd iksemel-1.4configuremakemake install之后对zabbix进行configure还是会遇到这个问题,那么将jabber目录指定即可:#./configure --enable-server --enable-agent --with-MysqL --with-net-snmp --with-jabber=/usr/local/ --with-libcurl3 configure: error: Not found curl Library#yum install curl-devel (此项未经测试)4 configure: error : Not found NET-SNMP libraryyum install net-snmp-devel

原文地址:https://www.jb51.cc/centos/380015.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。