Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung | |||
admin_grundlagen:yum [2020/03/02 10:13] ingo_wichmann [Drittanbieter Repository hinzufügen] |
admin_grundlagen:yum [2020/11/13 16:45] (aktuell) ingo_wichmann |
||
---|---|---|---|
Zeile 86: | Zeile 86: | ||
rsync $o ftp.hosteurope.de::centos/5/updates/x86_64/ /srv/mirror/centos/5/updates/x86_64/ | rsync $o ftp.hosteurope.de::centos/5/updates/x86_64/ /srv/mirror/centos/5/updates/x86_64/ | ||
rsync ftp.hosteurope.de::centos/RPM-GPG-KEY-CentOS-5 /srv/mirror/centos/RPM-GPG-KEY-CentOS-5 | rsync ftp.hosteurope.de::centos/RPM-GPG-KEY-CentOS-5 /srv/mirror/centos/RPM-GPG-KEY-CentOS-5 | ||
+ | |||
+ | |||
+ | ====== Repository ====== | ||
+ | |||
+ | 257 dnf install httpd | ||
+ | 275 service httpd start | ||
+ | |||
+ | 268 yum install -y createrepo | ||
+ | 266 mkdir -p /var/www/html/centos/8/local/x86_64/RPMS | ||
+ | 267 mv *.rpm /var/www/html/centos/8/local/x86_64/RPMS | ||
+ | 273 createrepo /var/www/html/centos/8/local/x86_64 | ||
+ | 274 find /var/www/html/centos/8/local | ||