• Ubuntu18.04安装配置Zabbix


      参考:https://www.zabbix.com/download

      环境查看

     

       配置源

    # wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+bionic_all.deb
    # dpkg -i zabbix-release_5.0-1+bionic_all.deb
    # apt update
    

       安装zabbix server frontend agent

    # apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-agent
    

       创建数据库

    # mysql -uroot -p
    password
    mysql> create database zabbix character set utf8 collate utf8_bin;
    mysql> create user zabbix@localhost identified by 'password';
    mysql> grant all privileges on zabbix.* to zabbix@localhost;
    mysql> quit;
    

       导入数据

    # zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix
    

       设置数据库密码

      /etc/zabbix/zabbix_server.conf

    DBPassword=password
    

       设置PHP时区

       /etc/zabbix/apache.conf

    # php_value date.timezone Asia/Shanghai
    

       启动应用

    # systemctl restart zabbix-server zabbix-agent apache2
    # systemctl enable zabbix-server zabbix-agent apache2
    

       打开页面配置

    http://IP/zabbix
    

       默认用户名和密码为Admin zabbix

  • 相关阅读:
    python 全栈基础作业题
    计算机基础之二:操作系统的发展史
    计算机基础系列之一:计算机硬件概述
    饼图
    折线图
    win_diy_monkey demo
    csv,Excel
    uiautomator2
    win ui自动化测试
    html
  • 原文地址:https://www.cnblogs.com/minseo/p/13677940.html
Copyright © 2020-2023  润新知