This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
локализация_окружения [2016/11/17 09:34] val [Systemd] |
локализация_окружения [2019/09/20 14:41] val [Debian] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Локализация окружения ====== | ====== Локализация окружения ====== | ||
- | ===== Systemd ===== | + | ===== Debian ===== |
- | * [[http://theurbanpenguin.com/wp/index.php/configuring-the-locale-in-centos-7/|Configuring the Locale in CentOS 7]] | + | * [[https://wiki.debian.org/Locale|Debian Locale]] |
<code> | <code> | ||
- | debian# dpkg-reconfigure locales | + | # apt install locales dialog |
+ | </code> | ||
+ | <code> | ||
+ | # echo 'ru_RU.UTF-8 UTF-8' > /etc/locale.gen | ||
- | ubuntu# apt install language-pack-ru | + | # locale-gen |
+ | # export LANG=ru_RU.UTF-8 | ||
+ | </code> | ||
+ | или | ||
+ | <code> | ||
+ | # dpkg-reconfigure locales | ||
+ | </code> | ||
+ | |||
+ | ===== Ubuntu ===== | ||
+ | |||
+ | <code> | ||
+ | # apt install language-pack-ru | ||
+ | </code> | ||
+ | |||
+ | ===== Ubuntu/CentOS Systemd ===== | ||
+ | |||
+ | * [[http://theurbanpenguin.com/wp/index.php/configuring-the-locale-in-centos-7/|Configuring the Locale in CentOS 7]] | ||
+ | |||
+ | <code> | ||
$ localectl status | $ localectl status | ||
Line 19: | Line 40: | ||
</code> | </code> | ||
- | ===== Ubuntu ===== | + | ===== Ubuntu Upstart ===== |
<code> | <code> | ||
- | # apt-get install language-pack-ru | ||
- | |||
# update-locale LANG="ru_RU.UTF-8" | # update-locale LANG="ru_RU.UTF-8" | ||