rpm包源及配置yum方法

http://rpm.pbone.net

http://rpm.pbone.net/index.php3/stat/14/idka/286313/datan/2018-01-30

http://mirror.centos.org/centos/

mirrors.tuna.tsinghua.edu.cn

 

http://rpmfind.net/linux/rpm2html/search.php?query=protobuf

 

https://pkgs.org/download/

 

 

 

[root@host-192-168-1-196 yum.repos.d(keystone_admin)]# cat zte.repo

[test]

name=test

baseurl=http://192.168.1.198/repo/yum/tecs/

enabled=1

gpgcheck=0

[root@host1  yum.repos.d(keystone_admin)]# pwd

/etc/yum.repos.d

[root@host1 yum.repos.d(keystone_admin)]#

 

 

其中repo/yum/tecs/这个下面要有rpm包及目录repodata,在repodata目下有repomd.xml

你可能感兴趣的:(linux)