无法在Debian wheezy上安装chef-server

问题描述 投票:1回答:2

我正在尝试在Debian上安装chef-server,但我没有这样做。以下是我遵循的步骤:

$ dpkg -i  chef-server-core_12.17.5-1_amd64.deb
Selecting previously unselected package chef-server-core.
(Reading database ... 23329 files and directories currently installed.)
Unpacking chef-server-core (from chef-server-core_12.17.5-1_amd64.deb) ...

Setting up chef-server-core (12.17.5-1) ...

以下步骤失败:

$ chef-server-ctl reconfigure
 /opt/opscode/embedded/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /opt/opscode/embedded/lib/libruby.so.2.2)

虽然我可以从下载中看到可用于“Red Hat Enterprise Linux | SUSE Linux Enterprise Server | Ubuntu”的软件包。

如果你能在Debian上编译,请有人可以帮忙。

提前致谢!

debian chef
2个回答
1
投票

正如在下载页面上所述,您从deb获得了该问题,并在问题中注明,安装程序适用于Ubuntu 16.04或14.04,两者都使用较新的glibc ABI。如果你没有,你可以尝试14.04包,但我认为它们比2.14更新,你可能需要寻找为12.04或10.04构建的最后一个版本,甚至不确定它们是哪些。总的来说,我们不支持在所述平台以外的任何设备上安装,这意味着我们根本不推荐任何版本的Debian(对于Chef Server,chef-client工作正常并且100%支持)。


1
投票

根据coderanger的建议和持续的研究。最后,我最终成功配置了厨师。我的配置是:

  1. Debian 9,64位。
  2. Chef-Server版本:12.17.5。
  3. Chef Manage版本:2.5.8。
  4. Chef开发套件版本:2.4.17。

我已经下载了上面的installers和安装步骤,如下所示:

#Chef-Server
$ dpkg -i chef-server-core_12.17.5-1_amd64.deb
$ chef-server-ctl reconfigure

#Chef-Manage
$ dpkg -i chef-manage_2.5.8-1_amd64.deb
$ chef-manage-ctl reconfigure
$ chef-server-ctl reconfigure

#Chef-DK
$ dpkg -i chefdk_2.4.17-1_amd64.deb

它可能会帮助面临类似问题的人!谢谢

© www.soinside.com 2019 - 2024. All rights reserved.