我的快速笔记:
yum install createrepo
mkdir /path/to/mylocalrepo
# Put all the RPMs in the mylocalrepo dir
cd /path/to/mylocarepo
createrepo .
Run Code Online (Sandbox Code Playgroud)
然后使用它:
vi /etc/yum.repos.d/localscylla.repo
Run Code Online (Sandbox Code Playgroud)
# 输入这个:
[scylla]
name=localScylla
baseurl=file:///path/to/mylocalrepo
enabled=1
gpgcheck=0
Run Code Online (Sandbox Code Playgroud)
然后运行
yum clean all
yum install scylla
Run Code Online (Sandbox Code Playgroud)
当然,您可以使用 reposync 从您的 /etc/yum.repos.d/scylla.repo(您通过注册获得)镜像,请参阅https://access.redhat.com/solutions/23016
第一个
| 归档时间: |
|
| 查看次数: |
76 次 |
| 最近记录: |