簡單記錄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