![安装 Landscape-Server-Quickstart 时出现问题](https://linux22.com/image/1153872/%E5%AE%89%E8%A3%85%20Landscape-Server-Quickstart%20%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98.png)
我正在研究使用 Landscape 来更有效地管理我们业务中的 ubuntu 客户,然而我在第一个障碍上遇到了问题。
我已经在 ESXi VM 中安装了 Ubuntu 服务器 16.04.03 LTS,并绑定了 17.03 快速启动安装,我遵循了基本说明:https://landscape.canonical.com/set-up-on-prem
但得到以下结果:
DERLAND01:~$ sudo apt install landscape-server-quickstart
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
landscape-server-quickstart : Depends: landscape-server (>= 17.03.3-0ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
该服务器是普通的 vanilla 安装,仅更改了 IP 地址和域后缀。我sudo apt-get upgrade
在运行 apt install 之前也尝试过执行,但无济于事。
在网上搜索了一些提示之后,我使用了sudo aptitude install landscape-server-quickstart
apt 来查看是否可以获得更详细的输出,然后得到了关于 juju 的投诉:
The following packages have unmet dependencies:
juju : Depends: juju-2.0 (>= 1:2.1.2-0ubuntu1~16.04.1~juju1) but it is not going to be installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) juju [Not Installed]
2) landscape-server [Not Installed]
3) landscape-server-quickstart [Not Installed]
Leave the following dependencies unresolved:
4) landscape-hashids recommends landscape-server
Accept this solution? [Y/n/q/?]
我也尝试过从 ppa 安装最新的稳定 juju,但据我了解,juju 应该已经由景观安装处理好了。
如果我撤销虚拟机以发布操作系统安装快照并使用 Landscape 16.06 ppa 运行该过程 - 一切都会正常。我是否遗漏了某些显而易见的东西,或者某些东西出了问题?
任何帮助都将不胜感激,因为我已经绕了好几个小时了!
谢谢!Rich
答案1
您必须使用 amd64 系统。
有点晦涩,但这里有记录:
您可以在任何具有 2.0GHz 或更高双核处理器、至少 4GB RAM 和 5GB 磁盘空间的服务器上安装 Landscape On Premises。操作系统必须是 Ubuntu Server 12.04 LTS x86_64或更高版本。您还必须安装 PostgreSQL 并打开网络端口 80/tcp (http) 和 443/tcp (https)。您也可以选择打开端口 22/tcp (ssh) 以进行常规服务器维护。