Locale Error in centos

后端 未结 3 1764
逝去的感伤
逝去的感伤 2021-01-30 14:42

Every time I login to my CentOS 6 server through SSH I get this error

Can anyone please explain what does that error mean & how to fix?

-bash: warnin         


        
3条回答
  •  旧巷少年郎
    2021-01-30 15:20

    The Fix: Thanks for Millie Smith (https://stackoverflow.com/users/2850543/millie-smith) & http://linuxforums.org.uk/index.php?topic=10318.0

    Using root user through ssh

    Run these commands

    vi /etc/environment
    

    & add these lines:

    LANG=en_US.utf-8
    LC_ALL=en_US.utf-8
    

提交回复
热议问题