1、下载镜像BCLinux-R8-U6-Server-x86_64-230414.iso
移动云开源镜像站-Linux系统订阅服务https://mirrors.cmecloud.cn/bclinux/el8.6/isos/x86_64/release/
2、挂载镜像
mkdir /iso
mount -o loop /opt/mysql/BCLinux-R8-U6-Server-x86_64-230414.iso /iso
3、配置本地源
vi /etc/yum.repos.d/AppStream.repo
[AppStream]
name=AppStream
baseurl=file:///iso/AppStream
enabled=1
gpgcheck=0
vi /etc/yum.repos.d/BaseOS.repo
[BaseOS]
name=BaseOS
baseurl=file:///iso/BaseOS
enabled=1
gpgcheck=0