CentOS -bash: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8)

前端之家收集整理的这篇文章主要介绍了CentOS -bash: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

centos5.x 登陆显示

-bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8): No such file or directory


亲测

vi /etc/environment

写入

LANG=en_US.UTF-8

即可

原文链接:https://www.f2er.com/centos/377631.html

猜你在找的CentOS相关文章