Skip to content

Instantly share code, notes, and snippets.

@airbornelamb
Last active June 20, 2017 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save airbornelamb/78fa709e410f6eaa6b426dd6699264f5 to your computer and use it in GitHub Desktop.
Save airbornelamb/78fa709e410f6eaa6b426dd6699264f5 to your computer and use it in GitHub Desktop.
Installs docker, docker compose, and Ambar document search system
#!/bin/bash
# Docker
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common python python-pip
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce
sudo docker run hello-world
sudo pip install docker-compose
# Ambar
wget -O ambar.py https://static.ambar.cloud/ambar.py && chmod +x ./ambar.py
sudo ./ambar.py install
sudo ./ambar.py start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment