
运维服务
RocketMQ 5.x 在 Kubernetes 中的集群部署与跨公网 Proxy 接入指南
1. 架构概述 RocketMQ 5.x 采用了存算分离的设计,引入了 Proxy 组件作为计算层,负责协议转换与客户端接入。对于跨公网访问的场景,这带来了一个关键优势:客户端只需
最小化安装的centos8,安装的时候选择的语言是中文,但是安装好后,登录的时候提示"-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)",虽然不影响使用,但是总是感觉别扭。
[wolf@wulaoer.org 🔥🔥🔥🔥 ~ ]$ ssh root@10.211.55.25 The authenticity of host '10.211.55.25 (10.211.55.25)' can't be established. ED25519 key fingerprint is SHA256:R8dcuRPaSozaIb/JnpoEBYOMq5uVeG2VDmK9tQZlJPQ. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '10.211.55.25' (ED25519) to the list of known hosts. root@10.211.55.25's password: -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
每次登录的时候都会这个提示,主要原因是因为没有中文包,需要重新安装一下,然后把中文配置到环境变量中。
dnf install -y langpacks-zh_CN langpacks-en langpacks-en_GB cat >/etc/profile.d/locale.sh<<-EOF export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 export LC_COLLATE=C export LC_CTYPE=en_US.UTF-8 EOF source /etc/profile.d/locale.sh
评论 0