How to solve the garbled interface of docker installation zabbix5.0

WJ
Release: 2020-06-05 15:42:08
Original
3266 people have browsed it

How to solve the garbled interface of docker installation zabbix5.0

How to solve the garbled interface of docker installation zabbix5.0?

zabbix graphical interface garbled characters are as follows:

How to solve the garbled interface of docker installation zabbix5.0

Solution:

Docker deployment of zabbix-web is the same as source code installation of zabbix-web , the fonts are all stored in /usr/share/zabbix/assets/fonts/

1. Copy the simkai.ttf (italic) file from windown to docker’s zabbix-web Inside

1、字体存在于Windows的路径C:\Windows\Fonts
2、拷贝到服务器
3、拷贝字体到docker 容器内部# docker cp /home/hduser/simkai.ttf zabbix-web:/usr/share/zabbix/assets/fonts/
4、进入容器#docker exec -it zabbix-web bash
5、备份以前的字体文件# mv DejaVuSans.ttf DejaVuSans.ttf_bak
6、链接# ln -s simkai.ttf DejaVuSans.ttf
Copy after login

and then refresh the interface, it will display normally.

If the mirror zabbix-web-apache-mysql is used, the operation is the same as the mirror zabbix-web-nginx-mysql .

How to solve the garbled interface of docker installation zabbix5.0

Related references: docker tutorial



##

The above is the detailed content of How to solve the garbled interface of docker installation zabbix5.0. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!