无法在 ubuntu 12.04 中找到 ambari-server 包

无法在 ubuntu 12.04 中找到 ambari-server 包

我正在尝试在 virtualbox ubuntu 12.04 32 位中安装 ambari 服务器。我遵循此安装指南。 https://cwiki.apache.org/confluence/display/AMBARI/Install+Ambari+2.0.1+from+Public+Repositories

在步骤 2 中我收到此错误,无法找到包 ambari-server。

答案1

如果如果你有 64 位系统,请按照以下步骤操作。软件包不是适用于 32 位。

下载适用于 Ubunru 12.04 的文件并将list文件放入/etc/apt/sources.list.d

sudo wget --output-document=/etc/apt/sources.list.d/ambari.list http://public-repo-1.hortonworks.com/ambari/ubuntu12/2.x/updates/2.0.1/ambari.list

在那之后

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
sudo apt-get update
sudo apt-get install ambari-server

所有套餐均可用这里, 也。

相关内容