informatique:linux:repo-custom
This is an old revision of the document!
Créer un repo local / repository local
yum localinstall /tmp/repo/createrepo-0.9.9-28.el7.noarch.rpm /tmp/repo/python-deltarpm-3.6-3.el7.x86_64.rpm /tmp/repo/deltarpm-3.6-3.el7.x86_64.rpm /tmp/repo/libxml2-python-2.9.1-6.el7_2.3.x86_64.rpm [root@inf5ssupt706 tmp]# createrepo /tmp/repo Spawning worker 0 with 113 pkgs Spawning worker 1 with 113 pkgs Workers Finished Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs Sqlite DBs complete [root@inf5ssupt706 tmp]# /etc/yum.repos.d/local.repo [root@inf5ssupt706 yum.repos.d]# vi local.repo [local] name=RHEL-$releasever - local packages for $basearch baseurl=file:///tmp/repo enabled=1 gpgcheck=0 protect=1
informatique/linux/repo-custom.1588257271.txt.gz · Last modified: 2020/04/30 16:34 by didzkovitchz
