53

yum搭建本地仓库-菜鸟的成长之路

 6 years ago
source link: http://blog.51cto.com/12777709/2083256
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
环境:当我们电脑没有网络的时候,网络的yum源就无法使用了这个时候我们想下载软件包,就需要本地的yum仓库了首先我们需要一个yum源,这个yum是镜像。首先我们需要挂载镜像到/mnt目录然后我们把系统本身的yum源配置文件拷贝一份#cp-r/etc/yum.repos.d/etc/yum.repos.d.bak(防止我们直接修改后改不回来)下面把yum.repos.d下的所有文件删除,我们重新创建

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK