CentOS 7 fix for “perl: warning: Please check that your locale settings are supported and installed on your system.”

Categories: bash, CentOS / RHEL

Issue: Logging in via SSH you are greeted with: perl: warning: Setting locale failed.perl: warning: Please check that your locale settings:LANGUAGE = (unset),LC_ALL = (unset),LC_CTYPE = “en_US.UTF-8”,LANG = “C.UTF-8”are supported and installed on your system.perl: warning: Falling back to the standard locale (“C”). Solution: Edit /etc/environment and add the following. Replace en_US with your actual […]