「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),我们将第一时间核实后及时予以删除。