Difference between revisions of "Setting Locale Fail Debian9"
From MS Computech
Line 10: | Line 10: | ||
locale-gen en_US.UTF-8 | locale-gen en_US.UTF-8 | ||
dpkg-reconfigure locales | dpkg-reconfigure locales | ||
+ | </pre> | ||
+ | |||
+ | Cent OS 7 | ||
+ | Edit /etc/environment and add the following. Replace en_US with your actual locale if you are not using en_US: | ||
+ | <pre> | ||
+ | LC_ALL="en_US.UTF-8" | ||
+ | LC_CTYPE="en_US.UTF-8" | ||
+ | LANGUAGE="en_US.UTF-8" | ||
</pre> | </pre> |
Latest revision as of 12:26, 14 July 2019
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:
apt-get install multipath-tools locale-gen en_US.UTF-8 localedef -i en_US -f UTF-8 en_US.UTF-8 export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 locale-gen en_US.UTF-8 dpkg-reconfigure locales
Cent OS 7 Edit /etc/environment and add the following. Replace en_US with your actual locale if you are not using en_US:
LC_ALL="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" LANGUAGE="en_US.UTF-8"