357 wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+bionic_all.deb
358 dpkg -i zabbix-release_5.0-1+bionic_all.deb
359 apt update
360 apt install zabbix-server-mysql zabbix-frontend-php zabbix-nginx-conf zabbix-agent
vi /etc/zabbix/nginx.conf
vi /etc/zabbix/php-fpm.conf
375 systemctl enable zabbix-server zabbix-agent nginx php7.4-fpm
376 /lib/systemd/systemd-sysv-install enable zabbix-server
377 /lib/systemd/systemd-sysv-install enable zabbix-agent
378 /lib/systemd/systemd-sysv-install enable nginx
379 /lib/systemd/systemd-sysv-install enable php7.4-fpm
替换字体
c:\windows\fonts\simkai.ttf
cp simkai.ttf /etc/alternatives/
cd /usr/share/zabbix/assets/fonts
ln -s /etc/alternatives/simkai.ttf simkai.ttf
查看zabbix默认使用的字体(重要)
/usr/share/zabbix/assets/fonts/graphfont.ttf
cd /usr/share/zabbix/include
vim defines.inc.php
替换文中 graphfont为simkai
刷新页面
![]()