
zabbix切换操作
1. 安装mysql-server并复制这三个表结构.

将Zabbix服务器中的schema.sql images.sql data.sql复制到/根路径
然后导入表结构

[root@mysql-server ~]# /usr/bin/mysql -uzabbix -pzabbix zabbix < /root/schema.sql Warning: Using a password on the command line interface can be insecure. [root@mysql-server ~]# /usr/bin/mysql -uzabbix -pzabbix zabbix < /root/images.sql Warning: Using a password on the command line interface can be insecure. [root@mysql-server ~]# /usr/bin/mysql -uzabbix -pzabbix zabbix < /root/data.sql Warning: Using a password on the command line interface can be insecure.
2. 修改zabbix_server.conf注意,这是一个下划线

[root@zabbix01 ~]# find / -name 'zabbix_server.conf' /etc/zabbix/zabbix_server.conf LogFile=/var/log/zabbix/zabbix_server.log DBName=zabbix DBUser=zabbix DBPassword=zabbix
3. 修改zabbix-server.php

[root @ Zabbix02〜]#vi /var/www/html/zabbix/conf/zabbix.conf.php
请注意清单中红色的地方
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/ruanjian/article-154811-1.html
对于没有加入公约的美国
在军舰
短头发的不错
多好