有没有简单的方法来安装RabbitMQ for Ubuntu?我做了以下:
将以下行添加到/etc/apt/sources.list中:
deb http://www.rabbitmq.com/debian/ testing main
然后安装apt-get:
$ sudo apt-get install rabbitmq-server
但是我每次都会收到以下错误:
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. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: rabbitmq-server: Depends: erlang-nox (>= 1:12.b.3) but 1:11.b.5dfsg-11 is to be installed E: Broken packages
自从安装以来,我应该如何安装依赖项并控制erlang-nox的版本?
最简单的方法是删除系统上Erlang或RabbitMQ的任何痕迹,然后去
http://www.erlang-solutions.com/section/132/download-erlang-otp获取一个Ubuntu Erlang二进制文件(运行RabbitMQ的虚拟机),然后转到
http://www.rabbitmq.com/download.html获取RabbitMQ。
原文链接:https://www.f2er.com/ubuntu/349278.html对于Erlang,根据您的操作系统版本,选择64位或未指定的(32位)。 RabbitMQ只有一个二进制是完全跨平台的,即32位和64位之间没有任何变化。
让那些运行的人,你有最新和最好的两个包都在非常积极的发展。
当您考虑到将要避免的未来问题时,这是最简单的方法。
就个人而言,我还建议将关键任务应用程序包保留在通常的Linux文件系统布局之外。无论您选择将其放在/ opt,还是/ home / erlang或/ apps或/ packages中,都不重要。重要的是要完全控制这些包,不要让操作系统包管理器驱动你的决策。