{"id":63,"date":"2018-12-04T16:16:51","date_gmt":"2018-12-04T16:16:51","guid":{"rendered":"https:\/\/7dc.org\/?p=63"},"modified":"2019-02-10T00:48:26","modified_gmt":"2019-02-10T00:48:26","slug":"centos-7-fix-for-perl-warning-please-check-that-your-locale-settings-are-supported-and-installed-on-your-system","status":"publish","type":"post","link":"https:\/\/7dc.org\/index.php\/2018\/12\/04\/centos-7-fix-for-perl-warning-please-check-that-your-locale-settings-are-supported-and-installed-on-your-system\/","title":{"rendered":"CentOS 7 fix for &#8220;perl: warning: Please check that your locale settings are supported and installed on your system.&#8221;"},"content":{"rendered":"\r\n<h3><strong>Issue: <\/strong><\/h3>\r\n<h4>Logging in via SSH you are greeted with:<\/h4>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><em>perl: warning: Setting locale failed.<\/em><br \/><em>perl: warning: Please check that your locale settings:<\/em><br \/><em>LANGUAGE = (unset),<\/em><br \/><em>LC_ALL = (unset),<\/em><br \/><em>LC_CTYPE = &#8220;en_US.UTF-8&#8221;,<\/em><br \/><em>LANG = &#8220;C.UTF-8&#8221;<\/em><br \/><em>are supported and installed on your system.<\/em><br \/><em>perl: warning: Falling back to the standard locale (&#8220;C&#8221;).<\/em><\/p>\r\n\r\n\r\n\r\n<h3><strong>Solution:<\/strong><\/h3>\r\n\r\n\r\n\r\n<h4>Edit <strong>\/etc\/environment <\/strong>and add the following. Replace en_US with your actual locale if you are not using en_US:<\/h4>\r\n<p class=\"wp-block-paragraph\"><code><strong>LC_ALL=\"en_US.UTF-8\"<\/strong><\/code><br \/><code><strong>LC_CTYPE=\"en_US.UTF-8\"<\/strong><\/code><br \/><code><strong>LANGUAGE=\"en_US.UTF-8\"<\/strong><\/code><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>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 = &#8220;en_US.UTF-8&#8221;,LANG = &#8220;C.UTF-8&#8221;are supported and installed on your system.perl: warning: Falling back to the standard locale (&#8220;C&#8221;). Solution: Edit \/etc\/environment and add the following. Replace en_US with your actual &#8230; <a class=\"read-more\" href=\"https:\/\/7dc.org\/index.php\/2018\/12\/04\/centos-7-fix-for-perl-warning-please-check-that-your-locale-settings-are-supported-and-installed-on-your-system\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-63","post","type-post","status-publish","format-standard","hentry","category-bash","category-centos-rhel"],"_links":{"self":[{"href":"https:\/\/7dc.org\/index.php\/wp-json\/wp\/v2\/posts\/63","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/7dc.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/7dc.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/7dc.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/7dc.org\/index.php\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":5,"href":"https:\/\/7dc.org\/index.php\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"predecessor-version":[{"id":180,"href":"https:\/\/7dc.org\/index.php\/wp-json\/wp\/v2\/posts\/63\/revisions\/180"}],"wp:attachment":[{"href":"https:\/\/7dc.org\/index.php\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/7dc.org\/index.php\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/7dc.org\/index.php\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}