Created
February 25, 2018 16:19
-
-
Save tienthanh2509/96ea848637a6c24cc89abbd58a6fe675 to your computer and use it in GitHub Desktop.
Install rabbitmq on Ubuntu Core / Server. Support for Armbian, tested on Nanopi neo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
apt-get install -y wget curl | |
wget -O- https://packages.erlang-solutions.com/debian/erlang_solutions.asc | apt-key add - | |
echo "deb http://binaries.erlang-solutions.com/debian stretch contrib" | tee /etc/apt/sources.list.d/erlang-solutions.list | |
wget -O- https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc | apt-key add - | |
echo "deb https://dl.bintray.com/rabbitmq/debian stretch main" | tee /etc/apt/sources.list.d/bintray.rabbitmq.list | |
# Work a round missing libssl1.1 | |
wget -O /tmp/libssl1.1.deb http://ftp.jp.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.0f-3+deb9u1_armhf.deb | |
dpkg -i /tmp/libssl1.1.deb | |
rm -f /tmp/libssl1.1.deb | |
apt-get update | |
apt-get install -y rabbitmq-server | |
rabbitmqctl add_user ptstudio xxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
rabbitmqctl set_user_tags ptstudio administrator | |
rabbitmqctl set_permissions -p / ptstudio ".*" ".*" ".*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install MQTT broker & enable web UI