zoukankan      html  css  js  c++  java
  • CentOS 6 升级 curl

    zabbix 发邮件报 Support for SMTP authentication was not compiled in

    其实出现这种问题的原因是我们机器上的 libcurl 版本太低所致。在zabbix的官方说明文档上我们可以知道:zabbix3.x要想使用SMTP,那么需要7.20.0及以上版本的curl并且zabbix服务端在编译安装时需要添加–with-libcurl模块,官方原文如下:

    To make SMTP authentication options available, Zabbix server should be compiled with the –with-libcurl 
    compilation option with cURL 7.20.0 or higher.

     

    升级 curl 操作如下:

    rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/city-fan.org-release-1-13.rhel6.noarch.rpm
    
    vim /etc/yum.repos.d/city-fan.org.repo

     修改所有 enabled=1 to enabled=0

    yum --enablerepo=city-fan.org update curl
    

    升级完成后,需要重新编译安装 zabbix

      

  • 相关阅读:
    linux-文件
    字符串函数
    函数
    内存管理
    静态库、动态库文件制作
    Makefile 待完善
    指针
    开发板GEC6816环境搭建,使用VS code
    C语言数组
    连接开发板下载程序
  • 原文地址:https://www.cnblogs.com/nasdaqhe/p/9253260.html
Copyright © 2011-2022 走看看