时间:2020-06-12来源:www.pcxitongcheng.com作者:电脑系统城
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
安装glibc-common
实现对语言包的识别
dnf install glibc-common
如果已安装过,需要重新安装
dnf reinstall glibc-common
测试安装是否成功,如果看到zh_CN
语言已安装,则表示成功
locale -a | grep zh_CN
安装完成后,回到web页面刷新,可以看到中文语言已可以选中
但是切换到中文后,图表界面出现乱码:
需要手动上传本地Windows的字体(如微软雅黑)到Zabbix服务器的/usr/share/zabbix/assets/fonts/
cd /usr/share/zabbix/assets/fonts mv graphfont.ttf graphfont.ttf.backup ln -s msyh.ttf graphfont.ttf
刷新一下图表,已显示中文
2023-02-28
解决linux不识别nfst格式u盘问题技巧 linux无法识别ntfs格式U盘怎么办?2023-02-28
linux扩容swap分区的技巧 linux怎么调整swap大小?2023-02-26
微软Linux资源库首次加入Edge浏览器稳定版当linux在运作时不能直接关闭电源容易将档案系统损毁,因此需要用shutdown以安全的方式关闭,那么这个操作该怎么实现呢?下面就为大家带来了详细教程。...
2022-11-07
由于linux系统和我们常用的windows系统是不一样的,所以如果是初学者,可能会不知道linux怎么强制删除文件,其实我们只要打开终端,使用命令就可以删除了。...
2022-11-03