Linux搭建本地yum源配置

cd /etc/yum.repos.d

vi local.repo

加入如下配置

[BaseOS]
name= BC-Linux-8.2 - BaseOS
baseurl=http://10.104.89.8/BClinux-iso/BaseOS/
gpgcheck=0
enabled=1

[AppStream]
name= BC-Linux-8.2 - AppStream
baseurl=http://10.104.89.8/BClinux-iso/AppStream/
gpgcheck=0
enabled=1



[BaseOS]
name= BC-Linux-8.2 - BaseOS
baseurl=file:///home/oracle/iso/BaseOS/
gpgcheck=0
enabled=1

[AppStream]
name= BC-Linux-8.2 - AppStream
baseurl=file:///home/oracle/iso/AppStream/
gpgcheck=0
enabled=1

测试:

yum repolist

posted @   幸福在靠近  阅读(186)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 一起来玩mcp_server_sqlite,让AI帮你做增删改查!!
历史上的今天:
2020-08-14 使用docker-compose部署springboot项目
点击右上角即可分享
微信分享提示