Last active
September 13, 2018 16:17
-
-
Save sivsivsree/e591f50710e80ddd43dc9f46b2737ccf to your computer and use it in GitHub Desktop.
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 | |
# installing erlang on ubuntu's | |
VERSION="R15B01" | |
sudo apt-get install build-essential libncurses5-dev openssl libssl-dev | |
sudo mkdir -p /opt/erlang/ | |
curl -O https://raw.github.com/spawngrid/kerl/master/kerl && chmod a+x kerl | |
sudo mv kerl /opt/erlang/ | |
sudo ln -s /opt/erlang/kerl /usr/local/bin/kerl | |
kerl update releases | |
kerl build ${VERSION} ${VERSION} | |
sudo kerl install ${VERSION} /opt/erlang/${VERSION} | |
sudo ln -s /opt/erlang/${VERSION} /opt/erlang/current | |
cd /usr/local/bin | |
sudo find /opt/erlang/current/bin -exec ln -s '{}' \; | |
sudo apt-get update | |
sudo apt-get -y upgrade | |
echo "deb http://www.rabbitmq.com/debian/ testing main" >> /etc/apt/sources.list | |
curl http://www.rabbitmq.com/rabbitmq-signing-key-public.asc | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install rabbitmq-server | |
sudo rabbitmq-plugins enable rabbitmq_management |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment