- The Homebrew RabbitMQ Formula
- Overview
- Installation
- Operations
- Getting Help and Providing Feedback
- Help Us Improve the Docs <3
- RabbitMQ — установка и управлением брокером сообщений
- Зачем нужен RabbitMQ?
- Установка RabbitMQ на Mac OS
- Установка RabbitMQ на Ubuntu 20.04
- rabbitmq_management
- Создание загружаемого установщика для macOS
- Что нужно для создания загружаемого установщика:
- Загрузка macOS
- Использование команды createinstallmedia в приложении «Терминал»
- Night of the Rabbit 4+
- Daedalic Entertainment GmbH
- Screenshots
- Description
- How to install RabbitMQ on Mac using Homebrew
- Step 1: Install Homebrew
- Already have Homebrew?
- Step 2: Install RabbitMQ using Homebrew
- Step 3: Add to PATH
- Where are the RabbitMQ server and CLI tools present?
- Step 4: Start RabbitMQ server
- Step 5: Access dashboard
- Step 6: Stop RabbitMQ server
- Possible errors
The Homebrew RabbitMQ Formula
Overview
Homebrew is a popular package manager for MacOS. RabbitMQ formula is available from Homebrew’s core tap (out of the box).
The formula will also install a reasonably recent supported Erlang/OTP version as a dependency.
Installation
Before installing make sure the taps are up-to-date:
Then, install RabbitMQ server with:
Installing the RabbitMQ formula will install key dependencies such as a supported Erlang/OTP version.
Operations
The RabbitMQ server scripts and CLI tools are installed into the sbin directory under /usr/local/Cellar/rabbitmq/ / , which is accessible from /usr/local/opt/rabbitmq/sbin . Links to binaries have been created under /usr/local/sbin . In case that directory is not in PATH it’s recommended to append it:
Add the above export to the shell profile (such as
/.bashrc for bash or
/.zshrc for zsh) to have PATH updated for every new shell, including OS restarts.
The server can then be started with rabbitmq-server in the foreground or with brew services start rabbitmq to have it run under launchd in the background.
With Homebrew, the node and CLI tools will use the logged in user account by default. Using sudo is not required.
Otherwise operations are no different from the generic binary build. Please refer to the Operations section of the generic binary build guide.
Getting Help and Providing Feedback
If you have questions about the contents of this guide or any other topic related to RabbitMQ, don’t hesitate to ask them on the RabbitMQ mailing list.
Help Us Improve the Docs <3
If you’d like to contribute an improvement to the site, its source is available on GitHub. Simply fork the repository and submit a pull request. Thank you!
Источник
RabbitMQ — установка и управлением брокером сообщений
Описание процесса установки и управления брокером сообщения RabbitMQ.
Эта статья связана со статьёй Flask, Celery, RabbitMQ. Была вынесена в отдельную статью из-за объема информации.
Зачем нужен RabbitMQ?
RabbitMQ — это «брокер сообщений», иными словами что-то вроде почтовой службы. Он принимает сообщения (задачи), обрабатывает очередь из этих задач и отправляет результат (например, сохраняя его в бд).
В Redis, который является сервисом хранилища данных в оперативной памяти тоже есть брокер сообщений. Однако RabbitMQ от начала и до конца был создан только для этой цели. Но если на сервере уже установлен Redis, то вероятно будет разумнее использовать его, а не добавлять дополнительные зависимости.
Установка RabbitMQ на Mac OS
Прежде чем отправить работать нашего почтальона на боевом сервере надо где-то все это отладить. Т.к. я использую Mac OS, то буду описывать процесс установки на эту операционную систему.
Как и все сторонние пакеты в Mac OS RabbitMQ устанавливается через менеджер пакетов Homebrew.
Потом надо его запустить:
Добавить переменную окружения перед вводом команд на Mac OS. В противном случае будут ошибки:
Для исправление ввести:
Если потребуется перезагрузкить кролика:
Установка RabbitMQ на Ubuntu 20.04
После установки сервер RabbitMQ запустится автоматически, а также будет добавлен в автозагрузку.
Все команды для RabbitMQ на Linux надо вводить или от пользователя root или через sudo.
rabbitmq_management
rabbitmq_management — это веб-панель управления очередями RabbitMQ.
Перед активацией веб-панели rabbitmq должен быть выключенным.
По умолчанию логин и пароль guest. Нет необходимости менять этого пользователя или пароля для него. Он доступен только в localhost.
Источник
Создание загружаемого установщика для macOS
В качестве загрузочного диска для установки операционной системы на компьютер Mac можно использовать внешний диск или дополнительный том.
Эти расширенные инструкции предназначены в первую очередь для системных администраторов и других пользователей, имеющих опыт работы с командной строкой. Загружаемый установщик не требуется для обновления macOS или переустановки macOS, но он может оказаться удобен, если требуется выполнить установку на несколько компьютеров, не загружая установщик заново каждый раз.
Что нужно для создания загружаемого установщика:
- USB-накопитель или другой дополнительный том, отформатированный в Mac OS Extended, на котором есть не менее 14 ГБ свободного пространства;
- загруженный установщик для macOS Big Sur, Catalina, Mojave, High Sierra или El Capitan.
Загрузка macOS
- Загрузка macOS Big Sur, macOS Catalina, macOS Mojave или macOS High Sierra
Эти элементы загружаются в папку «Программы» в виде приложения с именем «Установка macOS [ название версии ]». Если после загрузки запустится установщик, завершите его работу без продолжения установки. Чтобы получить подходящий установщик, выполняйте загрузку с компьютера Mac, на котором используется macOS Sierra 10.12.5 или более поздней версии либо El Capitan 10.11.6. Корпоративным администраторам следует производить загрузку с сайта Apple, а не с сервера обновления ПО, размещенного в локальной сети. - Загрузка OS X El Capitan
В результате этого действия загрузится образ диска с именем InstallMacOSX.dmg. На компьютере Mac, совместимом с El Capitan, откройте образ диска и запустите с него установщик с именем InstallMacOSX.pkg. Приложение с именем «Установка OS X El Capitan» будет установлено в папку «Программы». Загружаемый установщик создается именно из этого приложения, а не из образа диска или установщика .pkg.
Использование команды createinstallmedia в приложении «Терминал»
- Подключите USB-накопитель или другой том, используемый для загружаемого установщика.
- Откройте приложение «Терминал» в подпапке «Утилиты» папки «Программы».
- Введите или вставьте в приложение «Терминал» одну из следующих команд. Предполагается, что установщик находится в папке «Программы», а имя MyVolume обозначает USB-накопитель или другой используемый вами том. Укажите вместо MyVolume имя своего тома в следующих командах.
Big Sur*:
Catalina*:
Mojave*:
High Sierra*:
El Capitan:
* Если на компьютере Mac установлена операционная система macOS Sierra или более ранней версии, включите аргумент —applicationpath и путь установки аналогично тому, как это делается в случае команды для El Capitan.
После набора команды
- Нажмите «Ввод», чтобы ввести команду.
- При появлении запроса введите пароль администратора и нажмите клавишу «Ввод» еще раз. При вводе пароля приложение «Терминал» не отображает вводимые символы.
- При появлении запроса нажмите клавишу Y , чтобы подтвердить удаление всех данных на томе, затем клавишу «Ввод». Приложение «Терминал» показывает прогресс по мере стирания тома.
- После стирания тома может быть отображено предупреждение о том, что приложению «Терминал» требуется доступ к файлам на съемном томе. Нажмите «OK», чтобы продолжить копирование.
- Когда приложение «Терминал» сообщит о завершении процесса, имя тома будет совпадать с именем загруженного установщика, например «Установка macOS Big Sur». После этого можно закрыть приложение «Терминал» и извлечь том.
Источник
Night of the Rabbit 4+
Daedalic Entertainment GmbH
Screenshots
Description
Languages: English, German, French, Spanish, Russian, Czech, Polish, Portuguese
Lose yourself in a tale of magic and wonder, where anything is possible and where nothing is quite as it seems: join young Jerry and follow a peculiar white rabbit to the wondrous realm of Mousewood, a land where critters can speak and where mystery abounds.
It is here that Jerry’s dream of being a magician comes true, though a haunting, sinister force casts a long shadow over the forest. Someone offers the residents of Mousewood a deal of their lifetime — tickets to the greatest magic show that the world has ever seen. But the price is steep, as they’ll have to stake their most precious possessions and also their lives.
As the shadows grow deeper, the residents of Mousewood have only Jerry to turn to. On an adventure full of laughter and tears, joy and fear, the young boy will face the ultimate trial, leaving behind the world he once knew, and his childhood, too, will become a thing of the past.
KEY FEATURES:
Story-driven exploration/adventure: The Night of the Rabbit was conceived, written and designed by Matthias Kempke, who believes that games design is all about creating new worlds to be explored by players.
Multi-layered story: it starts out in a light-hearted and funny way, but soon shift to a dramatic and thought-provoking tone over the 20 hours of gameplay.
Original character and world design: the animal people who populate the game were originally developed in short stories written by game creator; these stories are included as the in-game bonuses.
Источник
How to install RabbitMQ on Mac using Homebrew
In this tutorial, we will learn to install RabbitMQ on Mac using Homebrew.
RabbitMQ is an open source message broker software. It is lightweight and easy to deploy. It supports AMQP (Advanced Message Queuing Protocol), STOMP (Streaming Text Oriented Messaging Protocol), MQTT (Message Queuing Telemetry Transport) and other protocols.
Alright, let’s install RabbitMQ on Mac using Homebrew.
Step 1: Install Homebrew
Homebrew is «The missing package manager for macOS».
Installing applications and packages using Homebrew on Mac is super easy. I will recommend you to use Homebrew if you are a developer and use Mac for dev work.
Okay, open Terminal and type the following command.
Once you have Homebrew installed on your Mac, type the following command to check the version.
At the time of writing this tutorial I was using v2.0.1.
Already have Homebrew?
If you already have Homebrew installed on your Mac then run the following command to update it.
This will update the packages. If you have the latest updates then you will get the following output.
Step 2: Install RabbitMQ using Homebrew
Now, run the following command in Terminal to install RabbitMQ.
Step 3: Add to PATH
RabbitMQ server and CLI script are installed under /usr/local/sbin . Add this to PATH.
I have added the following to .bash_profile file.
Inside the .bash_profile file.
Where are the RabbitMQ server and CLI tools present?
RabbitMQ server and CLI tools are generally inside /usr/local/Cellar/rabbitmq/
On my Mac the RabbitMQ server and CLI tools are present inside the /usr/local/Cellar/rabbitmq/3.7.11/sbin/ directory.
Step 4: Start RabbitMQ server
To start the RabbitMQ run the following command.
Step 5: Access dashboard
We can access RabbitMQ web dashboard by going to http://localhost:15672 so, open the link in your favourite browser.
The default username and password is guest and guest respectively.
Step 6: Stop RabbitMQ server
To stop RabbitMQ press Ctrl + C .
Possible errors
We may get an error like The `brew link` step did not complete successfully when trying to install RabbitMQ.
To fix this we have to run the following command.
We get the error /usr/local/sbin is not writable message.
This is because /usr/local/sbin directory is not present. So, go to /etc/paths.d directory and created a file named usr_local_sbin and write the path /usr/local/sbin inside the file and save it.
Inside usr_local_sbin file:
Now, create /usr/local/sbin directory.
Now change the ownership. Type whoami to get your username. Mine is yusufshakeel so, I will use the following.
Now run the brew link rabbitmq command.
Linking is done!
Please share this tutorial on social media if you find it useful and interesting. See you again in the next tutorial. Have fun 🙂
Источник