Articles 文章 Tech 宅技术

如何安装Zabbix – 第1课 – 通过脚本在CentOS 7中安装

Written by joyfultech



介绍如何以简单易用的方式在CentOS 7中安装Zabbix three.2。

Zabbix既可以从软件包安装,也可以从源代码安装。

视频地图:

00:20 – videoaula的描述
 Facebook上的社区 –
 我的博客 –
 Zabbix官方网站 –
 Youtube频道 –
01:30 – 视频议程
 1. Zabbix生态系统(组件)
 2.实验室的定义
 three.操作系统安装
 four.安装先决条件
 5.安装Zabbix
 6.启用对Zabbix服务器本身的监控
01:55 Zabbix生态系统
08:00所用实验室的描述
 下载CentOS 7的URL最小x64 –
10:00 Zabbix软件要求
11:25服务器安装(虚拟机创建,操作系统安装)
17:38在CentOS中配置网络接口

##更新网络配置

cd / and so on / sysconfig / network-scripts /
vi ifcfg-enp0s3
#更改ONBOOT =否ONBOOT =是
vi ifcfg-enp0s8
#更改ONBOOT =否ONBOOT =是

##重新启动网络接口
服务网络重启

##咨询ips
ip addr

##更新软件包
yum更新-y

22:40

Wget安装

yum set up -y wget

23:00安装Zabbix的先决条件

mkdir / set up
光盘/安装

wget -O installReq.sh
sh installReq.sh

24:20从源代码安装Zabbix:

wget -O installZabbix3.sh
sh installZabbix3.sh

28:00首先进入网页界面

默认用户:admin
密码:ZABBIX

29:10禁用用户来宾

如果你喜欢视频,订阅频道,通过跟随频道和给予的帮助。
问题,建议?留在评论中。 Zabbix

About the author

joyfultech

6 Comments

  • Olá, bom dia, segui seu tutorial para instalar o zabbix no Cent OS no AWS, e está funcionando creio eu, em 34.196.18.225, mas não consigo conectar o agente de meu desktop. Você tem ideia como poso fazer funcionar? VLW pela ajuda com o vídeo! PS. senha padrão.

  • Olá, estou seguindo o video, e após executar o script de instalação do Zabbix, ele finalizou desta forma:

    http://pastebin.com/XiMYHc3U

    misc/init.d/fedora/core5/zabbix_agentd -> /etc/init.d/zabbix_agentd
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether build environment is sane… yes
    checking for a thread-safe mkdir -p… /usr/bin/mkdir -p
    checking for gawk… gawk
    checking whether make sets $(MAKE)… yes
    checking whether make supports nested variables… yes
    configure: Configuring Zabbix 3.2.1
    checking whether make sets $(MAKE)… (cached) yes
    checking build system type… x86_64-unknown-linux-gnu
    checking host system type… x86_64-unknown-linux-gnu
    checking for gcc… no
    checking for cc… no
    checking for cl.exe… no
    configure: error: in `/install/zabbix-3.2.1':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details
    misc/init.d/fedora/core5/zabbix_server -> /etc/init.d/zabbix_server
    mv: cannot stat /usr/local/etc/zabbix_server.conf: No such file or directory
    which: no fping in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
    O arquivo de configuracao do Zabbix Server esta em /usr/local/etc/zabbix_server.conf
    Restarting zabbix_server (via systemctl): Job for zabbix_server.service failed because the control process exited with error code. See "systemctl status zabbix_server.service" and "journalctl -xe" for details.
    [FAILED]
    mv: cannot stat /usr/local/etc/zabbix_agentd.conf: No such file or directory
    O arquivo de configuracao do Zabbix Agentd esta em /usr/local/etc/zabbix_agentd.conf
    Restarting zabbix_agentd (via systemctl): Job for zabbix_agentd.service failed because the control process exited with error code. See "systemctl status zabbix_agentd.service" and "journalctl -xe" for details.
    [FAILED]

Leave a Comment