zoukankan      html  css  js  c++  java
  • Zabbix4.0国内下载源

    国内zabbix源总结
    
    目前发现的有以下几个站点:
    1.阿里巴巴开源镜像站(推荐使用)
    地址:https://mirrors.aliyun.com/zabbix/
    2.华为开源镜像站(推荐使用)
    地址:https://mirrors.huaweicloud.com/zabbix/
    3.清华大学开源软件镜像站
    地址:https://mirror.tuna.tsinghua.edu.cn/zabbix/
    4.上海大学开源镜像站
    地址:https://mirrors.shu.edu.cn/zabbix/
    

     RHEL7/CentOS7

    cat <<EOF > /etc/yum.repos.d/zabbix.repo 
    [zabbix]
    name=Zabbix Official Repository - $basearch
    baseurl=https://mirrors.aliyun.com/zabbix/zabbix/4.0/rhel/7/$basearch/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
    
    [zabbix-non-supported]
    name=Zabbix Official Repository non-supported - $basearch 
    baseurl=https://mirrors.aliyun.com/zabbix/non-supported/rhel/7/$basearch/
    enabled=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
    gpgcheck=1
    EOF
    

     添加gpgkey

    curl https://mirrors.aliyun.com/zabbix/RPM-GPG-KEY-ZABBIX-A14FE591 
    -o /etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
    
    curl https://mirrors.aliyun.com/zabbix/RPM-GPG-KEY-ZABBIX 
    -o /etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
    

     添加之后即可使用

    yum makecache -y
    yum install zabbix-<...>
    

     Ubuntu 16.04

    cat > /etc/apt/sources.list.d/zabbix.list << EOF
    deb https://mirrors.aliyun.com/zabbix/zabbix/4.0/ubuntu xenial main
    deb-src https://mirrors.aliyun.com/zabbix/zabbix/4.0/ubuntu xenial main
    EOF
    

     添加key

    curl -o - "https://mirrors.aliyun.com/zabbix/zabbix-official-repo.key" | apt-key add -
    

     更新源,安装相关包

    apt-get update
    apt-get install -y zabbix-<...>
    

     转自:https://blog.cactifans.com/2019/01/21/Zabbix%E5%9B%BD%E5%86%85%E6%BA%90%E4%BD%BF%E7%94%A8/

  • 相关阅读:
    演示使用Metasploit入侵Windows
    Metasploit的基本使用
    安装使用lynis扫描Linux的安全漏洞
    使用Metasploit收集邮箱信息
    Kali Linux:使用nmap扫描主机
    Kali Linux安装SSH Server
    【转】PHP 无限级分类(递归)
    【转】Mysql only_full_group_by以及其他关于sql_mode原因报错详细解决方案
    ERROR 1366 (HY000): Incorrect string value: 'xADxE5x9BxBDxE9x82...' fo的解决方法
    深入理解HTTP协议
  • 原文地址:https://www.cnblogs.com/caidingyu/p/11423089.html
Copyright © 2011-2022 走看看