Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory
报错如下:
Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory
解决方式:
1、Ubuntu操作系统
apt-get install -y locales
locale-gen en_US.UTF-8
2、CentOS 8 操作系统
dnf -y install glibc-locale-source glibc-langpack-en
localedef -f UTF-8 -i en_US en_US.UTF-8