美文网首页
zabbix 4安装部署

zabbix 4安装部署

作者: droxy | 来源:发表于2020-06-24 10:46 被阅读0次

Zabbix 是一个基于 WEB 界面的提供分布式系统监视以及网络监视功能的企业级的开源解决方案。

访问https://www.zabbix.com/download有官方文档php

搭建lamp步骤,选择系统版本及zabbix版本mysql

Install and configure Zabbix server for your platform

a. Install Zabbix repository

# rpm -Uvh https://repo.zabbix.com/zabbix/4.4/rhel/8/x86_64/zabbix-release-4.4-1.el8.noarch.rpm

# dnf clean allweb

b. Install Zabbix server, frontend, agent

# dnf -y install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-agentsql

注apache

因为mysql收费,故frontend

yum -y install mariadbide

   yum -y install mariadb-server

   启动

   systemctl start mariadb

   查看状态

   systemctl status mariadb

c. Create initial database

# mysql -uroot

password

mysql> create database zabbix character set utf8 collate utf8_bin;

mysql> grant all privileges on zabbix.* to zabbix@localhost identified by 'password';

mysql> quit;

php-fpm

Import initial schema and data. You will be prompted to enter your newly created password.flex

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

d. Configure the database for Zabbix server

Edit file /etc/zabbix/zabbix_server.conf

DBPassword=password

e. Configure PHP for Zabbix frontend

Edit file /etc/php-fpm.d/zabbix.conf, uncomment and set the right timezone for you.

; php_value[date.timezone] = Asia/Shanghai 

f. Start Zabbix server and agent processes

g. Configure Zabbix frontend

# systemctl restart zabbix-server zabbix-agent httpd php-fpm

# systemctl enable zabbix-server zabbix-agent httpd php-fpm

       systemctl stop firewalld

       setenforce 0

g. Configure Zabbix frontend

  访问 http://192.168.1.111/zabbix

来源:https://www.shangmayuan.com/a/d5c7a909d9134306a14c18ce.html

相关文章

  • 部署Zabbix Agent

    部署Zabbix Agent 安装 1、安装客户端 2、编辑配置文件 3、启动zabbix-agent 4、zab...

  • 腾讯云线上环境yum安装部署zabbix5.0

    腾讯云线上环境yum安装部署zabbix5.0 zabbix服务器配置 下载和部署zabbix监控 安装zabbi...

  • 2.2.运维 - zabbix - 源码安装(Centos)

    参考: Zabbix系统部署及使用 zabbix的配置 [Zabbix专区] 关于zabbix 3.4.1 安装手...

  • zabbix 4安装部署

    Zabbix 是一个基于 WEB 界面的提供分布式系统监视以及网络监视功能的企业级的开源解决方案。 访问https...

  • zabbix server&proxy部署操作过程

    zabbix server&proxy部署操作过程 安装zabbix server 安装方式: 包管理安装,doc...

  • 从部署包安装zabbix

    从部署包安装 大多数主流的操作系统分发版本都提供了Zabbix部署包。你可以使用这些部署包安装Zabbix。 操作...

  • zabbx部署

    1.环境准备 2.部署nginx 3.部署php 4.部署mariadb 5.部署zabbix 5.1zabbix...

  • Zabbix安装与部署(一)

    Zabbix安装与部署 1 Zabbix的安装 1.1 关闭SeLinux 1.2 关闭防火墙 1.2.1 临时关...

  • zabbix部署

    基础信息: 开始部署zabbix 1.添加镜像源 2.清理yum、生成缓存 3.下载安装zabbix 4.配置za...

  • 记一次部署LNPM

    公司电脑打算安装zabbix,因为zabbix需要lnpm环境所以部署一个基础环境。 安装nginx 安装ngin...

网友评论

      本文标题:zabbix 4安装部署

      本文链接:https://www.haomeiwen.com/subject/azxrfktx.html