
运维服务
docker离线安装
一、准备工作:确认架构并下载安装包 1.1 确认目标服务器架构 在目标服务器上执行以下命令,确认系统架构: 输出 x8664:对应 amd64 架构(Intel/AMD 64位服务
-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)这里的提示是因为中午版的英语没有,所以需要单独安装一下。解决方法如下:
[root@www.wulaoer.org ~]# dnf install -y langpacks-zh_CN langpacks-en langpacks-en_GB [root@www.wulaoer.org ~]# 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 [root@www.wulaoer.org ~]# source /etc/profile.d/locale.sh [root@www.wulaoer.org ~]# exit logout Connection to 10.211.55.12 closed. [wolf@wulaoer.org 🔥🔥🔥🔥 ~ ]$ ssh root@10.211.55.12 root@10.211.55.12's password: [root@www.wulaoer.org ~]#重新登录后问题解决,在网上也看了其他的方式,不是修改文件就是安装什么的,过于麻烦,这个相对简单点,我也没有试试其他的,这个方式是解决了。
评论 0