当前位置:网站首页>Centos8 PostgreSQL initialization error: initdb: error: invalid locale settings; check LANG and LC_* environment
Centos8 PostgreSQL initialization error: initdb: error: invalid locale settings; check LANG and LC_* environment
2022-06-27 15:33:00 【Forgotten late wind】

terms of settlement ( Set the English font encoding ):
# vim /etc/profile.d/locale.sh
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LC_COLLATE=C
export LC_CTYPE=en_US.UTF-8
# vim /etc/locale.conf
LANG=en_US.UTF-8
# vim /etc/sysconfig/i18n( This step may not be performed first , In case other steps cannot be completed, consider adding )
LANG=en_US.UTF-8
# vim /etc/environment
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
source /etc/profile.d/locale.sh
Reference article :
Centos: Solve system coding locale Of LC_CTYPE / LC_ALL problem – Source bus
边栏推荐
- 避孕套巨头过去两年销量下降40% ,下降原因是什么?
- Today, Teng Xu came out with 37k during the interview. It's really a miracle. He showed me his skill
- #27ES6的数值扩展
- Teach you how to realize pynq-z2 bar code recognition
- 我想买固收+产品,但是不了解它主要投资哪些方面,有人知道吗?
- 数学建模经验分享:国赛美赛对比/选题参考/常用技巧
- Different perspectives
- Pisa-Proxy 之 SQL 解析实践
- [interview questions] common interview questions (I)
- Design of spread spectrum communication system based on FPGA (with main code)
猜你喜欢
![[digital signal processing] discrete time signal (discrete time signal knowledge points | signal definition | signal classification | classification according to certainty | classification according t](/img/69/daff175c3c6a8971d631f9e681b114.jpg)
[digital signal processing] discrete time signal (discrete time signal knowledge points | signal definition | signal classification | classification according to certainty | classification according t
![Luogu_ P1008 [noip1998 popularization group] triple strike_ enumeration](/img/9f/64b0b83211bd1c615f2db9273bb905.png)
Luogu_ P1008 [noip1998 popularization group] triple strike_ enumeration

What is the London Silver code

Pisa-Proxy 之 SQL 解析实践

Derivation of Halcon camera calibration principle

PSS: you are only two convolution layers away from the NMS free+ point | 2021 paper

CentOS8-postgresql初始化时报错:initdb: error: invalid locale settings; check LANG and LC_* environment

Today, Teng Xu came out with 37k during the interview. It's really a miracle. He showed me his skill

Problems encountered in vs compilation

Knowledge map model
随机推荐
Programming skills: script scheduling
Luogu_ P1002 [noip2002 popularization group] crossing the river_ dp
Longest substring without repeated characters (Sword finger offer 48)
手机号码的格式
sql注入原理
About sitemap XML problems
关于 Spartacus 的 sitemap.xml 问题
Je veux acheter des produits à revenu fixe + mais je ne sais pas quels sont ses principaux investissements.
2022-2-16 learning the imitated Niuke project - Section 6 adding comments
Design of direct spread spectrum communication system based on FPGA (with main code)
Cesium uses mediastreamrecorder or mediarecorder to record screen and download video, as well as turn on camera recording. [transfer]
[MySQL] query valid data based on time
Different perspectives
PR second training notes
élégant pool de threadpoolexecutor personnalisé
PSS: you are only two convolution layers away from the NMS free+ point | 2021 paper
ReentrantLock、ReentrantReadWriteLock、StampedLock
Fundamentals of software engineering (I)
【kotlin】第二天
Web chat room system based on SSM