Centos7 下 ambari 離線源拉取

Centos7 下 ambari 離線源拉取

一:下載wget

yum install -y wget

二:拉取 ambari.repo 文件。

wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.4.1.0/ambari.repo -O /etc/yum.repos.d/ambari.repo

三:使配置立即生效。

yum repolist

四:下載utils

yum install yum-utils

五:更新 yum 源到本地文件夾。

reposync -r Updates-ambari-2.4.1.0


Centos7 下 HDP 離線源拉取

一:下載wget

yum install -y wget

二:拉取 hdp.repo 文件。

查看centos7 hdp.repo文檔

三:使配置立即生效。

yum repolist

四:下載utils

yum install yum-utils

五:更新 yum 源到本地文件夾。

reposync -r Updates-ambari-2.4.1.0

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章