参考
在arm环境需要部署zabbix6,尝试过centos7编译、centos8编译、docker部署,都不是想要的结果。在zabbix网站看到支持ubuntu和debian的arm在线安装,用了半个小时搞定。
系统:ubuntu 22.0.4 arm64
步骤:
1、
# wget https://repo.zabbix.com/zabbix/6.4/ubuntu-arm64/pool/main/z/zabbix-release/zabbix-release_6.4-1+ubuntu22.04_all.deb
# dpkg -i zabbix-release_6.4-1+ubuntu22.04_all.deb
# apt update3、安装mysql
# apt-get install mysql
# mysql -uroot -p
password
mysql> create database zabbix character set utf8mb4 collate utf8mb4_bin;
mysql> create user zabbix@localhost identified by 'password';
mysql> grant all privileges on zabbix.* to zabbix@localhost;
mysql> set global log_bin_trust_function_creators = 1;
mysql> quit;
zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix
恢复刚才的一个设置
# mysql -uroot -p
password
mysql> set global log_bin_trust_function_creators = 0;
mysql> quit;
4、Edit file /etc/zabbix/zabbix_server.conf
DBPassword=password
5、# systemctl restart zabbix-server zabbix-agent apache2
systemctl enable zabbix-server zabbix-agent apache2完成