执行命令:
adduser testuesr
错误提示如下:
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = (unset), LC_PAPER = "zh_CN.UTF-8", LC_ADDRESS = "zh_CN.UTF-8", LC_MONETARY = "zh_CN.UTF-8", LC_NUMERIC = "zh_CN.UTF-8", LC_TELEPHONE = "zh_CN.UTF-8", LC_IDENTIFICATION = "zh_CN.UTF-8", LC_MEASUREMENT = "zh_CN.UTF-8", LC_TIME = "zh_CN.UTF-8", LC_NAME = "zh_CN.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").
解决方法:
step 1)
vim .bashrc
step 2)
文件末尾追加:
export LC_ALL=C
或者执行命令:
echo "export LC_ALL=C" >> /root/.bashrc
step 3)
最后执行:
source /root/.bashrc
OK, 问题解决~
更多精彩内容:http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/
以上是小编为您精心准备的的内容,在的博客、问答、公众号、人物、课程等栏目也有的相关内容,欢迎继续使用右上角搜索按钮进行搜索命令
, perl
, warning
, utf
, step
, LC8300
locale
ubuntu 14.04创建用户、ubuntu16.04创建用户、ubuntu 16.04创建热点、ubuntu 16.04 创建、ubuntu 16.04创建文件,以便于您获取更多的相关知识。
时间: 2024-12-31 22:53:54