CentOS提示"Failed to set locale, defaulting to C.UTF-8"


CentOS提示"Failed to set locale, defaulting to C.UTF-8"

CentOS 系统提示“Failed to set locale, defaulting to C.UTF-8”,这是由于没有配置正确的语言环境导致的,使用root账户登录你的CentOS操作系统,然后执行两条命令:

echo "export LC_ALL=en_US.UTF8" >> /etc/profile
source /etc/profile

声明:初心|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - CentOS提示"Failed to set locale, defaulting to C.UTF-8"


愿你勿忘初心,并从一而终