错误提示如下:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:",
LC_ALL = (unset),
LC_CTYPE = "zh_CN.UTF-8",
LANG = "en_US.UTF-8"
    are Settingupported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

解决方案:

.bashrc的最后加上export LC_ALL=C 执行source /root/.bashrc