Skip to content

Instantly share code, notes, and snippets.

@cmeon
Created August 5, 2015 12:08
Show Gist options
  • Save cmeon/3a51b0af04b30c612ffd to your computer and use it in GitHub Desktop.
Save cmeon/3a51b0af04b30c612ffd to your computer and use it in GitHub Desktop.
Install arangodb in Ubuntu and making database setup easy. Especially for Amazon AWS EC2
#!/bin/sh
RELEASE_VERSION=$(lsb_release -r | sed -e 's/Release:[\t]*//')
wget http://www.arangodb.org/repositories/arangodb/xUbuntu_${RELEASE_VERSION}/Release.key
sudo apt-key add - < Release.key
echo "deb http://www.arangodb.org/repositories/arangodb/xUbuntu_${RELEASE_VERSION}/ /" >> $HOME/arangodb.list
sudo mv ~/arangodb.list /etc/apt/sources.list.d/
sudo apt-get -qq update
sudo apt-get -y install arangodb=1.4.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment