Created
April 1, 2020 23:23
-
-
Save richardgavel/6baf425561da50d3fab268785b9a0334 to your computer and use it in GitHub Desktop.
Install Ascendon server components
This file contains 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
sudo add-apt-repository ppa:chris-lea/redis-server | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install redis-server | |
sudo service redis-server start | |
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
sudo apt-get install apt-transport-https | |
sudo apt-get update | |
sudo apt-get install openjdk-8-jre | |
sudo apt-get install elasticsearch=5.6.8 | |
sudo service elasticsearch start | |
## If sudo is not available on the system, | |
## uncomment the line below to install it | |
# apt-get install -y sudo | |
sudo apt-get update -y | |
## Install prerequisites | |
sudo apt-get install curl gnupg -y | |
## Install RabbitMQ signing key | |
curl -fsSL https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc | sudo apt-key add - | |
## Install apt HTTPS transport | |
sudo apt-get install apt-transport-https | |
## Add Bintray repositories that provision latest RabbitMQ and Erlang 21.x releases | |
sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list <<EOF | |
## Installs the latest Erlang 22.x release. | |
## Change component to "erlang-21.x" to install the latest 21.x version. | |
## "bionic" as distribution name should work for any later Ubuntu or Debian release. | |
## See the release to distribution mapping table in RabbitMQ doc guides to learn more. | |
deb https://dl.bintray.com/rabbitmq-erlang/debian bionic erlang | |
deb https://dl.bintray.com/rabbitmq/debian bionic main | |
EOF | |
## Update package indices | |
sudo apt-get update -y | |
## Install rabbitmq-server and its dependencies | |
sudo apt-get install rabbitmq-server -y --fix-missing | |
sudo service rabbitmq-server start | |
sudo rabbitmq-plugins enable rabbitmq_management |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment