码迷,mamicode.com
首页 > 其他好文 > 详细

在CentOS 7.5 搭建最新版zabbix 4.4 监控系统-date201911-13

时间:2019-11-14 09:49:26      阅读:82      评论:0      收藏:0      [点我收藏+]

标签:uid   share   follow   enable   RoCE   base   using   用户   describe   

安装zabbix前的准备

先了解zabbix架构
技术图片

先安装mariaDB , http 即搭建LAMP架构和其它的依赖包 执行以下安装命令

技术图片

成功后

下面开始安装zabbix

技术图片

这是官网安装教程,可以作为参考
https://www.zabbix.com/download?zabbix=4.0&os_distribution=centos&os_version=8&db=mysql

技术图片

Choose your platform

Install and configure Zabbix server for your platform
a. Install Zabbix repository
documentation
#rpm -Uvh https://repo.zabbix.com/zabbix/4.0/rhel/8/x86_64/zabbix-release-4.0-2.el8.noarch.rpm
#dnf clean all
b. Install Zabbix server, frontend, agent
#dnf -y install zabbix-server-mysql zabbix-web-mysql zabbix-agent
c. Create initial database
documentation
#mysql -uroot -p
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;
Import initial schema and data. You will be prompted to enter your newly created password.

#zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix
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] = Europe/Riga
f. Start Zabbix server and agent processes
Start Zabbix server and agent processes and make it start at system boot:

#systemctl restart zabbix-server zabbix-agent httpd php-fpm
#systemctl enable zabbix-server zabbix-agent httpd php-fpm
Now your Zabbix server is up and running!

Configure Zabbix frontend
Connect to your newly installed Zabbix frontend: http://server_ip_or_name/zabbix
Follow steps described in Zabbix documentation: Installing frontend

Start using Zabbix
Read in documentation: Quickstart guide

默认用户名Admin

默认密码zabbix

Watch video guide:
Zabbix Server Installation
Zabbix server installation explained

在CentOS 7.5 搭建最新版zabbix 4.4 监控系统-date201911-13

标签:uid   share   follow   enable   RoCE   base   using   用户   describe   

原文地址:https://blog.51cto.com/guanhaizhan/2450057

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!