User Tools

Site Tools


локализация_окружения

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
локализация_окружения [2016/11/17 09:34]
val [Systemd]
локализация_окружения [2023/03/22 07:50]
val [Debian/Ubuntu]
Line 1: Line 1:
 ====== Локализация окружения ====== ====== Локализация окружения ======
  
-===== Systemd ​=====+===== Debian/​Ubuntu ​=====
  
-  * [[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]] 
 +  * [[https://​www.linux16.ru/notes/​ustanovka-cp1251-locale-v-linux.html|Установка CP1251 locale в Linux]]
  
 <​code>​ <​code>​
-debiandpkg-reconfigure ​locales+apt install ​locales ​dialog 
 +</​code>​ 
 +<​code>​ 
 +# echo '​ru_RU.UTF-8 UTF-8' > /​etc/​locale.gen
  
-ubuntuapt install language-pack-ru+locale-gen
  
 +# LANG=ru_RU.UTF-8 date
 +
 +# export LANG=ru_RU.UTF-8
 +
 +# echo LANG=ru_RU.UTF-8 > /​etc/​default/​locale
 +</​code>​
 +или
 +<​code>​
 +# dpkg-reconfigure locales
 +</​code>​
 +
 +==== Debian 11 ====
 +<​code>​
 +client3:~# dpkg-reconfigure keyboard-configuration
 +</​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 43:
 </​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"​
  
локализация_окружения.txt · Last modified: 2023/06/02 13:57 by val