- 积分
- 8
- 威望
-
- 金钱
-
- 注册时间
- 2022-4-8
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
CentOS 8内网安装,把用的是lnmp1.8-full.tar.gz和镜像CentOS-8-x86_64-1905-dvd1.iso,
修改 vim etc/yum.repos.d/CentOS-Media.repo 保存后[local-media]
name=CentOS-$releasever - Media
baseurl=file:///mnt/dvd/
gpgcheck=1
enabled=1
gpgkey=file:///mnt/dvd/RPM-GPG-KEY-CentOS-8
[localRepo-BaseOS]
name=LocalRepository-BaseOS
baseurl=file:///mnt/dvd/BaseOS
gpgcheck=1
enabled=1
[LocalRepo-AppStream]
name=LocalRepository-AppSteam
baseurl=file:///mnt/dvd/AppStream
enbled=1
gpgecheck=0
安装到测试yum处,
[root@sudiankj home]# yum clean all
Failed to set locale, defaulting to C
12 files removed
[root@sudiankj home]# yum makecache
Failed to set locale, defaulting to C
[root@sudiankj home]# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
报错,这个咋弄,求助
|
|