From a178c4fe871716c7d98cefd117131110a680d9b3 Mon Sep 17 00:00:00 2001 From: Sergey Mazein <37579301+semalis@users.noreply.github.com> Date: Wed, 30 Oct 2024 18:38:14 +0300 Subject: [PATCH] Pre-install UTF-8 --- Installers/pre_install_LCX.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Installers/pre_install_LCX.sh b/Installers/pre_install_LCX.sh index dfe5aee..9cb7a7c 100644 --- a/Installers/pre_install_LCX.sh +++ b/Installers/pre_install_LCX.sh @@ -84,10 +84,13 @@ sudo systemctl restart exporterd zabbix_agentd -V echo "Изменяем текущую локаль на UTF-8" + +sudo locale-gen en_US.UTF-8 +sudo update-locale LANG=en_US.UTF-8 + echo 'export LANG=en_US.UTF-8' >> ~/.bashrc echo 'export LC_ALL=en_US.UTF-8' >> ~/.bashrc - echo "Меняем часовой пояс на Europe/Moscow" sudo timedatectl set-timezone Europe/Moscow date