zabbix3.0.x Web Interface garbled

Source: Internet
Author: User
After setting up the Zabbix, login to the Web interface, modify the font to Chinese, graphics issued data garbled, because the Web front-end No Chinese fonts, words do not say, began to solve the problem ....

1. Copy Fonts

In the window System C:\Windows\Fonts casually find a font, copy it out, I find here is Simhei.ttf

2. Upload to Zabbix server
[[email protected] ~]# cpsimhei.ttf  /var/www/html/fonts
3. Modify Permissions
[[email protected] fonts]# chmod 777 simhei.ttf[[email protected] fonts]# chown zabbix:zabbix  simhei.ttf
4. Edit the configuration file

Change the original graphfont to Simhei.

[[email protected] ~]# vim /var/www/html/include/defines.inc.php45 define(‘ZBX_GRAPH_FONT_NAME‘,     ‘simhei‘); // font file name93 define(‘ZBX_FONT_NAME‘,‘simhei‘);
5. Restart Apache Service
[[email protected] ~]#/etc/init.d/httpd restart

Re-login Web interface garbled has disappeared!!!!

zabbix3.0.x Web Interface garbled

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.