加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Perl语言环境警告Debian

发布时间:2020-12-15 21:14:30 所属栏目:大数据 来源:网络整理
导读:perl: warning: Setting locale failed.perl: warning: Please check that your locale settings: LANGUAGE = (unset),LC_ALL = (unset),LANG = "en_CA.UTF-8" are supported and installed on your system.perl: warning: Falling back to the standard loc
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),LC_ALL = (unset),LANG = "en_CA.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

我不断得到这个消息.我在VPS上运行Debian.我已经尝试过许多通过Google发现的解决方案,没有一个帮助.我该怎么办?

解决方法

尝试以这种方式直接设置语言环境,它在Ubuntu 10.04上为我工作,只需根据您的需要定制语言环境:
root@hostname:~# export LANGUAGE=en_US.UTF-8
root@hostname:~# export LANG=en_US.UTF-8
root@hostname:~# export LC_ALL=en_US.UTF-8
root@hostname:~# locale-gen en_US.UTF-8

接着:

root@hostname:~# dpkg-reconfigure locales

希望这可以帮助!

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读