centos搭建本地yum源,
2017-02-14 16:56
393 查看
比如将文件夹:/opt/mir/这个文件夹做成本地源:
1、在/etc/yum.repos.d/目录下新建一个.repo文件,比如mir-base.repo,在里面加入如下:
[local]
name=Instructor Server Repository
baseurl=file:///root/mir.bak/
enabled=1
gpgcheck=0
1、在/etc/yum.repos.d/目录下新建一个.repo文件,比如mir-base.repo,在里面加入如下:
[local]
name=Instructor Server Repository
baseurl=file:///root/mir.bak/
enabled=1
gpgcheck=0
相关文章推荐
- CentOS搭建本地yum源
- centos 本地yum源的搭建
- 搭建本地yum源(CentOS_5.5)
- CentOS搭建本地yum源(http方式)
- [zz]搭建centos6.0本地yum源(32位)
- centos6.5本地yum源搭建及使用方法
- CentOS 5/RHEL 5下搭建本地YUM源
- centos6.5本地yum源搭建及使用方法
- CentOS6.5环境下使用镜像文件搭建本地yum源
- CentOS本地YUM源搭建
- centos用ISO光盘镜像搭建本地yum源
- centos7 搭建本地yum源
- CentOS6搭建本地局域网YUM源
- CentOS 7搭建本地yum源
- CentOS 搭建本地yum源
- 搭建centos 5.x本地yum源
- 【APP】CentOS 5/RHEL 5下搭建本地YUM源
- CentOS搭建本地yum源(http方式)
- centos 创建本地yum源搭建本地yum仓库 亲测可用
- CentOS搭建本地光盘YUM源