Zabbix web界面不能选择中文,提示: You are not able to choose some of the languages, because locales for them are not installed on the web server. 解决: 安装zh_CN语言包 dnf install langpacks-zh_CN.noarch 安装 dnf install glibc-common 如果已安装过,需要重新安装 dnf reinstall glibc-common 测试安装是否成功,如果看到 locale -a | grep zh_CN 安装完成后,回到web页面刷新,可以看到中文语言已可以选中 但是切换到中文后,图表界面出现乱码: 需要手动上传本地Windows的字体(如微软雅黑)到Zabbix服务器的 cd /usr/share/zabbix/assets/fonts mv graphfont.ttf graphfont.ttf.backup ln -s msyh.ttf graphfont.ttf 刷新一下图表,已显示中文 |
|