首页 > 其他 > 详细

「Zabbix」- Debain 8.2 and Zabbix 4.0 @20210207

时间:2021-02-07 18:35:57      阅读:26      评论:0      收藏:0      [点我收藏+]

系统环境

  
操作系统: Debian 8.2
软件版本: Zabbix 4.0

a.Install Repository with MySQL database

wget https://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-2+jessie_all.deb
dpkg -i zabbix-release_4.0-2+jessie_all.deb
apt update

b.Install Zabbix server, frontend, agent

apt install zabbix-server-mysql zabbix-frontend-php zabbix-agent

c.Create initial database

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/zabbix/apache.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 apache2
systemctl enable zabbix-server zabbix-agent apache2

Now your Zabbix server is up and running!

g.Configure Zabbix frontend

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

相关文章

「Zabbix 3.2」- 使用源码安装
「Zabbix」- 关于版本升级
「Zabbix」- 安装(CentOS)

参考文献

Home/Product/Download and install Zabbix


「Zabbix」- Debain 8.2 and Zabbix 4.0 @20210207

原文:https://www.cnblogs.com/k4nz/p/14386038.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!