当前位置: 首页 > Linux

CentOS8:设置locale失败,默认为C

时间:2023-04-06 11:16:52 Linux

在/etc/profile.d/lang.sh中添加:$vim/etc/profile.d/lang.shexportLANG=en\_US.UTF-8exportLANGUAGE=en\_US.UTF-8exportLC\_COLLATE=CexportLC\_CTYPE=en\_US.UTF-8重读:$source/etc/profile.d/lang.shchecksum:locale