1、http://rpm.pbone.net/【单独收缩rpm包安装】
2、yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm【安装】
3、https://download1.rpmfusion.org/free/el/updates/7/x86_64/【添加repo】
4、http://mirrors.huaweicloud.com/centos/7.6.1810/extras/x86_64/【添加repo】
新建repo【/etc/yum.repos.d/】内容包含
- [reponame]
- name=reponame
- baseurl=http://…
- gpgcheck=0