This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
локализация_окружения [2020/05/23 09:12] val [Debian] |
локализация_окружения [2023/06/02 13:57] (current) val [Debian/Ubuntu] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Локализация окружения ====== | ====== Локализация окружения ====== | ||
| - | ===== Debian ===== | + | ===== Debian/Ubuntu ===== |
| * [[https://wiki.debian.org/Locale|Debian Locale]] | * [[https://wiki.debian.org/Locale|Debian Locale]] | ||
| Line 10: | Line 10: | ||
| </code> | </code> | ||
| <code> | <code> | ||
| - | # echo 'ru_RU.UTF-8 UTF-8' > /etc/locale.gen | + | # echo 'ru_RU.UTF-8 UTF-8' >> /etc/locale.gen |
| # locale-gen | # locale-gen | ||
| - | # echo LANG=ru_RU.UTF-8 > /etc/default/locale | + | # LANG=ru_RU.UTF-8 date |
| # export LANG=ru_RU.UTF-8 | # export LANG=ru_RU.UTF-8 | ||
| + | |||
| + | # echo LANG=ru_RU.UTF-8 > /etc/default/locale | ||
| </code> | </code> | ||
| или | или | ||
| Line 22: | Line 24: | ||
| # dpkg-reconfigure locales | # dpkg-reconfigure locales | ||
| </code> | </code> | ||
| - | ===== Ubuntu ===== | ||
| + | ==== Debian 11 ==== | ||
| <code> | <code> | ||
| - | # apt install language-pack-ru | + | client3:~# dpkg-reconfigure keyboard-configuration |
| </code> | </code> | ||
| - | |||
| ===== Ubuntu/CentOS Systemd ===== | ===== Ubuntu/CentOS Systemd ===== | ||