[root@yz219 repo]# vim /etc/yum.repos.d/HDP.repo [HDP-3.1.4.0-10] name=HDP-3.1.4.0-10 baseurl=http://yz219.seabox.com/repo/HDP/centos7/ gpgcheck=0 gpgkey=http://yz219.seabox.com/repo/HDP/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1