当前位置: 首页 >数据库 > 「Zabbix」- Debain 8.2 and Zabbix 4.0 @20210207

「Zabbix」- Debain 8.2 and Zabbix 4.0 @20210207

系统环境

   
操作系统: 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.debdpkg -i zabbix-release_4.0-2+jessie_all.debapt 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 apache2systemctl 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


作者:研究林纳斯写的
来源链接:https://www.cnblogs.com/k4nz/p/14386038.html

版权声明:
1、JavaClub(https://www.javaclub.cn)以学习交流为目的,由作者投稿、网友推荐和小编整理收藏优秀的IT技术及相关内容,包括但不限于文字、图片、音频、视频、软件、程序等,其均来自互联网,本站不享有版权,版权归原作者所有。

2、本站提供的内容仅用于个人学习、研究或欣赏,以及其他非商业性或非盈利性用途,但同时应遵守著作权法及其他相关法律的规定,不得侵犯相关权利人及本网站的合法权利。
3、本网站内容原作者如不愿意在本网站刊登内容,请及时通知本站(javaclubcn@163.com),我们将第一时间核实后及时予以删除。





本文链接:https://www.javaclub.cn/database/117443.html

标签:MySQL升级
分享给朋友:

“「Zabbix」- Debain 8.2 and Zabbix 4.0 @20210207” 的相关文章

MySQL 查询指定时间范围内的数据 2022年06月06日 16:59:25
MySQL学习(4)︱数据库的查询 2022年06月07日 01:52:58
mysql的查询句 2022年06月09日 23:40:52
mysql 查询列拼接字段 2022年06月12日 09:17:20
mysql版本查询 2022年06月14日 09:43:45
mysql 近几天内 2022年06月15日 15:07:52