Created
September 24, 2016 14:22
-
-
Save ei-grad/ff513e09b87c0ab038a67f2b8d1c8840 to your computer and use it in GitHub Desktop.
Debian locale setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -e | |
set -x | |
apt-get update | |
apt-get install locales | |
echo "locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8, ru_RU.UTF-8 UTF-8" | debconf-set-selections | |
echo "locales locales/default_environment_locale select ru_RU.UTF-8" | debconf-set-selections | |
sed -i 's/^# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen | |
dpkg-reconfigure --frontend=noninteractive locales |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you very much!