我想在Ubuntu14.04上安装HDP 2.5。我没有在这台机器上的互联网访问,因此想要使用本地回购安装HDP作为instructed here如何在Ubuntu14上为HDP安装创建本地存储库?
下载并将“untared”文件放在我的服务器上后,如何将它们添加到ambari.repo?如何Preparing The Ambari Repository Configuration File
我想在Ubuntu14.04上安装HDP 2.5。我没有在这台机器上的互联网访问,因此想要使用本地回购安装HDP作为instructed here如何在Ubuntu14上为HDP安装创建本地存储库?
下载并将“untared”文件放在我的服务器上后,如何将它们添加到ambari.repo?如何Preparing The Ambari Repository Configuration File
我找到了答案。 hortonworks文档有点含糊。
我们创建一个文件名ambari.list
:
[Updates-Ambari-2.4.1.0]
name=Ambari-2.4.1.0-Updates
baseurl=INSERT-BASE-URL
gpgcheck=0
gpgkey= <link to local repo>
enabled=0
priority=1
您只需将Web服务器URL输入Repofile,而不是原始URL。这是在你的文档的第三步解释
[Updates-Ambari-2.4.1.0]
name=Ambari-2.4.1.0-Updates
baseurl=INSERT-BASE-URL
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
我打HDP 2.4.2.0 + Ubuntu的14相同的问题,我发现的官方文件是错误的Ubuntu 14.正确的文件被改变是ambari .list在本地存储库的主机中的/etc/apt/sources.list.d下。它需要为AMBARI-2.4.2.0,HDP,HDP-UTILS放置本地基本URL。
当我这样做,我得到指着'[更新错误...'。 –
错误说的是什么 – Daniel