Use Docker pull CentOS, the mirror will not display the Chinese issue after the finished
From Centosmaintainer fengwan.blog.51cto.comrun rm-rf/etc/localtime && ln-s/usr/share/zoneinfo/asia/ Shanghai/etc/localtime #修改时区RUN yum-y Install Kde-l10n-chinese && yum-y Reinstall Glibc-common #安装中文支持RUN Local Edef-c-F UTF-8-i zh_cn zh_cn.utf8 #配置显示中文ENV lc_all zh_cn.utf8 #设置环境变量RUN yum-y install Python-setuptools && E Asy_install pip && pip install Supervisor #安装supervisor多进程管理工具 for initiating multi-process
The above file can be used as the initial part of the Dockerfile
If it is a physical machine, execute the following command
Yum-y Install Kde-l10n-chinese && yum-y Reinstall Glibc-commonlocaledef-c-F UTF-8-I zh_cn zh_cn.utf8export LC _all=zh_cn.utf8
The above can be solved Zabbix
Able to choose some of the languages, because locales for them is not installed on the Web server.
This article is from "Maple Night" blog, please be sure to keep this source http://fengwan.blog.51cto.com/508652/1891063
Processing of CentOS Chinese garbled problem under Docker