Setting locale failed in Debian and Ubuntu
apt-get install iperf
# Perintah fix. en_US.UTF-8.
cat /etc/locale.gen
Atau
more /etc/locale.gen
## For example, search for English India ##
grep en_IN /etc/locale.gen
## Search for English US ##
grep en_US /etc/locale.gen
## Search for Japanese ##
grep ja_JP /etc/locale.gen
# cek tail
tail -f /etc/locale.gen
#lihat informasi
locale
# Generate locale
$ locale-gen
atau
$ locale-gen en_US.UTF-8
lalu
localedef -i en_US -f UTF-8 en_US.UTF-8
#Memperbaiki locale setting warning from Perl
$ export LANGUAGE=en_US.UTF-8
$ export LANG=en_US.UTF-8
$ export LC_ALL=en_US.UTF-8
$ locale-gen en_US.UTF-8
#Reinstall UTF-8 en_US.UTF-8
$ dpkg-reconfigure locales
pilih --> en_US.UTF-8 UTF-8 --> ok
pilih --> en_US.UTF-8 UTF-8 --> ok
gambar dari : https://supportu.nz/wp-content/uploads/2017/06/zimbra-logo.jpg
0 Komentar