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
Next revision Both sides next revision
локализация_окружения [2017/06/19 18:41]
val [Ubuntu]
локализация_окружения [2019/09/20 14:41]
val [Debian]
Line 6: Line 6:
  
 <​code>​ <​code>​
-dpkg-reconfigure ​locales+apt install ​locales ​dialog
 </​code>​ </​code>​
 +<​code>​
 +# echo '​ru_RU.UTF-8 UTF-8' > /​etc/​locale.gen
  
-===== CentOS =====+# locale-gen
  
-  * [[http://​theurbanpenguin.com/wp/​index.php/​configuring-the-locale-in-centos-7/|Configuring the Locale in CentOS 7]]+# export LANG=ru_RU.UTF-8 
 +</code> 
 +или 
 +<​code>​ 
 +# dpkg-reconfigure locales 
 +</code>
  
 ===== Ubuntu ===== ===== Ubuntu =====
Line 18: Line 25:
 # apt install language-pack-ru # apt install language-pack-ru
 </​code>​ </​code>​
-==== Systemd ==== 
-<​code>​ 
-# apt install language-pack-ru 
  
 +===== 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 31: Line 40:
 </​code>​ </​code>​
  
-==== Upstart ====+===== 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