简单记录ubuntu18.04安装zabbix5


 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
刷新页面

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM