麒麟本地yum源部署
作者:
Joening | 来源:发表于
2023-10-06 11:44 被阅读0次
麒麟本地yum源部署
下载麒麟iso镜像
https://fdoc.epoint.com.cn:3366/ISO/麒麟V10/
wget https://fdoc.epoint.com.cn:3366/ISO/麒麟V10/Kylin-Server-10-SP1-Release-Build19-20210319-x86.iso
mount Kylin-Server-10-SP1-Release-Build19-20210319-x86.iso /mnt/
在/etc/yum.repos.d中新建local.repo
cat << EOF > /etc/yum.repos.d/local.repo
[rhel-yum]
name=rhel7
baseurl=file:///mnt/
enabled=1
gpgcheck=0
EOF
tee /etc/yum.repos.d/local.repo <<-EOF
[rhel-yum]
name=rhel7
baseurl=file:///mnt/
enabled=1
gpgcheck=0
EOF
yum -y clean all
yum makecache
本文标题:麒麟本地yum源部署
本文链接:https://www.haomeiwen.com/subject/nnipbdtx.html
网友评论