rpm包常用下载地址
https://centos.pkgs.org/
https://rpmfind.net/
https://dl.fedoraproject.org/pub/
https://mirrors.tuna.tsinghua.edu.cn/apache/:tomcat、hadoop、kafka等
yum配置文件
development.repo
[base]
name=CentOS-$releasever - Base
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/os/$basearch/
enabled=1
gpgcheck=0
[updates]
name=CentOS-$releasever - Updates
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/updates/$basearch/
enabled=1
gpgcheck=0
[extras]
name=CentOS-$releasever - Extras
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/extras/$basearch/
enabled=1
gpgcheck=0
[centosplus]
name=CentOS-$releasever - Plus
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/centosplus/$basearch/
gpgcheck=0
enabled=1
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/$releasever/$basearch
enabled=1
gpgcheck=0
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
baseurl=http://download.fedoraproject.org/pub/epel/$releasever/$basearch/debug
enabled=1
gpgcheck=0
[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
baseurl=http://download.fedoraproject.org/pub/epel/$releasever/SRPMS
enabled=1
gpgcheck=0
[epel-testing]
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/testing/$releasever/$basearch
enabled=1
gpgcheck=0
[epel-testing-debuginfo]
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch - Debug
baseurl=http://download.fedoraproject.org/pub/epel/testing/$releasever/$basearch/debug
enabled=1
gpgcheck=0
[epel-testing-source]
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch - Source
baseurl=http://download.fedoraproject.org/pub/epel/testing/$releasever/SRPMS
enabled=1
gpgcheck=0
php.repo
[webtatic]
name=Webtatic Repository EL7 - $basearch
baseurl=https://repo.webtatic.com/yum/el7/$basearch/
enabled=1
gpgcheck=0
[webtatic-debuginfo]
name=Webtatic Repository EL7 - $basearch - Debug
baseurl=https://repo.webtatic.com/yum/el7/$basearch/debug/
enabled=1
gpgcheck=0
[webtatic-source]
name=Webtatic Repository EL7 - $basearch - Source
baseurl=https://repo.webtatic.com/yum/el7/SRPMS/
enabled=1
gpgcheck=0
[webtatic-archive]
name=Webtatic Repository EL7 - $basearch - Archive
baseurl=https://repo.webtatic.com/yum/el7-archive/$basearch/
enabled=1
gpgcheck=0
[webtatic-archive-debuginfo]
name=Webtatic Repository EL7 - $basearch - Archive Debug
baseurl=https://repo.webtatic.com/yum/el7-archive/$basearch/debug/
enabled=1
gpgcheck=0
[webtatic-archive-source]
name=Webtatic Repository EL7 - $basearch - Archive Source
baseurl=https://repo.webtatic.com/yum/el7-archive/SRPMS/
enabled=1
gpgcheck=0
[webtatic-testing]
name=Webtatic Repository EL7 - $basearch - Testing
baseurl=https://repo.webtatic.com/yum/el7-testing/$basearch/
enabled=1
gpgcheck=0
[webtatic-testing-debuginfo]
name=Webtatic Repository EL7 - $basearch - Testing Debug
baseurl=https://repo.webtatic.com/yum/el7-testing/$basearch/debug/
enabled=1
gpgcheck=0
[webtatic-testing-source]
name=Webtatic Repository EL7 - $basearch - Testing Source
baseurl=https://repo.webtatic.com/yum/el7-testing/SRPMS/
enabled=1
gpgcheck=0
nginx.repo
[nginx-stable]
name=nginx stable repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1
[nginx-mainline]
name=nginx mainline repo
baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/
gpgcheck=0
enabled=1
mariadb.repo
# 如果需要其他版本,则到https://mirrors.ustc.edu.cn/mariadb/yum/上选择想要的版本生成repo文件内容
[mariadb]
name = MariaDB
baseurl = https://mirrors.ustc.edu.cn/mariadb/yum/10.5/centos74-amd64/
enabled=1
gpgcheck=0
onlyoffice.repo
[onlyoffice]
name=onlyoffice repo
baseurl=http://download.onlyoffice.com/repo/centos/main/noarch/
gpgcheck=0
enabled=1
docker.repo
[docker-ce-stable]
name=Docker CE Stable - $basearch
baseurl=https://download.docker.com/linux/centos/$releasever/$basearch/stable
enabled=1
gpgcheck=0
[docker-ce-stable-debuginfo]
name=Docker CE Stable - Debuginfo $basearch
baseurl=https://download.docker.com/linux/centos/$releasever/debug-$basearch/stable
enabled=0
gpgcheck=0
[docker-ce-stable-source]
name=Docker CE Stable - Sources
baseurl=https://download.docker.com/linux/centos/$releasever/source/stable
enabled=1
gpgcheck=0
[docker-ce-test]
name=Docker CE Test - $basearch
baseurl=https://download.docker.com/linux/centos/$releasever/$basearch/test
enabled=1
gpgcheck=0
[docker-ce-test-debuginfo]
name=Docker CE Test - Debuginfo $basearch
baseurl=https://download.docker.com/linux/centos/$releasever/debug-$basearch/test
enabled=1
gpgcheck=0
[docker-ce-test-source]
name=Docker CE Test - Sources
baseurl=https://download.docker.com/linux/centos/$releasever/source/test
enabled=1
gpgcheck=0
[docker-ce-nightly]
name=Docker CE Nightly - $basearch
baseurl=https://download.docker.com/linux/centos/$releasever/$basearch/nightly
enabled=1
gpgcheck=0
[docker-ce-nightly-debuginfo]
name=Docker CE Nightly - Debuginfo $basearch
baseurl=https://download.docker.com/linux/centos/$releasever/debug-$basearch/nightly
enabled=1
gpgcheck=0
[docker-ce-nightly-source]
name=Docker CE Nightly - Sources
baseurl=https://download.docker.com/linux/centos/$releasever/source/nightly
enabled=1
gpgcheck=0
[libnvidia-container]
name=libnvidia-container
baseurl=https://nvidia.github.io/libnvidia-container/centos7/$basearch
gpgcheck=0
enabled=1
[nvidia-container-runtime]
name=nvidia-container-runtime
baseurl=https://nvidia.github.io/nvidia-container-runtime/centos7/$basearch
gpgcheck=0
enabled=1
[nvidia-docker]
name=nvidia-docker
baseurl=https://nvidia.github.io/nvidia-docker/centos7/$basearch
gpgcheck=0
enabled=1
ffmpeg.repo
[ffmpeg]
name=ffmpeg
baseurl=http://mirror.bjtu.edu.cn/rpmfusion/free/el/updates/7/x86_64/
enable=1
gpgcheck=0
整理--需要下载资源
https://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/centosplus/x86_64/
https://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/extras/x86_64/
https://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/updates/x86_64/
https://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/os/x86_64/
https://mirrors.tuna.tsinghua.edu.cn/epel/7/x86_64/
https://mirrors.tuna.tsinghua.edu.cn/epel/testing/7/x86_64/
https://repo.webtatic.com/yum/el7/x86_64/
https://repo.webtatic.com/yum/el7/SRPMS/
http://archive.webtatic.com/yum/el7-archive/
https://repo.webtatic.com/yum/el7-testing/
http://download.onlyoffice.com/ #无法用爬虫,但可用wget,文件"onlyoffice下载命令.txt"
http://nginx.org/packages/centos/7Workstation/x86_64/
http://nginx.org/packages/centos/7Server/x86_64/
http://nginx.org/packages/centos/7Client/x86_64/
http://nginx.org/packages/centos/7/x86_64/
http://nginx.org/packages/mainline/centos/7Workstation/x86_64/
http://nginx.org/packages/mainline/centos/7Server/x86_64/
http://nginx.org/packages/mainline/centos/7Client/x86_64/
http://nginx.org/packages/mainline/centos/7/x86_64/