如果不行的话更改阿里的epel源:wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-6.repo 在zabbix服务器端安装开源的字符集 [root@lb01 ~]# yum -y install wqy-microhei-fonts [root@lb01 ~]# rpm -ql wqy-microhei-fonts /etc/fonts/conf.d/65-0-wqy-microhei.conf /usr/share/doc/wqy-microhei-fonts-0.2.0 /usr/share/doc/wqy-microhei-fonts-0.2.0/LICENSE_Apache2.txt /usr/share/doc/wqy-microhei-fonts-0.2.0/LICENSE_GPLv3.txt /usr/share/doc/wqy-microhei-fonts-0.2.0/README.txt /usr/share/fontconfig/conf.avail/65-0-wqy-microhei.conf /usr/share/fonts/wqy-microhei /usr/share/fonts/wqy-microhei/wqy-microhei.ttc [root@lb01 ~]# [root@lb01 ~]# ll /etc/alternatives/zabbix-web-font ##zabbix默认的字符集 lrwxrwxrwx 1 root root 38 May 30 17:13 /etc/alternatives/zabbix-web-font -> /usr/share/fonts/dejavu/DejaVuSans.ttf [root@lb01 ~]# #删除默认软连接指向的字符集,指向安装的字符集 [root@lb01 ~]# rm -f /etc/alternatives/zabbix-web-font [root@lb01 ~]# ln -s /usr/share/fonts/wqy-microhei/wqy-microhei.ttc /etc/alternatives/zabbix-web-font [root@lb01 ~]# ll /etc/alternatives/zabbix-web-font lrwxrwxrwx 1 root root 46 May 30 22:12 /etc/alternatives/zabbix-web-font -> /usr/share/fonts/wqy-microhei/wqy-microhei.ttc [root@lb01 ~]# 不要忘记重启zabbix-server
本文出自 “砖家博客” 博客,请务必保留此出处http://wsxxsl.blog.51cto.com/9085838/1903213
原文:http://wsxxsl.blog.51cto.com/9085838/1903213