Skip to content

Instantly share code, notes, and snippets.

@markusklems
Last active December 19, 2015 11:29
Show Gist options
  • Save markusklems/5948085 to your computer and use it in GitHub Desktop.
Save markusklems/5948085 to your computer and use it in GitHub Desktop.
#!/bin/bash -ex
# Riak install and config script snippets
# For Ubuntu
# http://docs.basho.com/riak/latest/tutorials/installation/Installing-on-Debian-and-Ubuntu/
# 1. First you must get the signing key.
curl http://apt.basho.com/gpg/basho.apt.key | sudo apt-key add -
# 2. Then add the Basho repository to your apt sources list (and update them).
sudo bash -c "echo deb http://apt.basho.com $(lsb_release -sc) main > /etc/apt/sources.list.d/basho.list"
sudo apt-get update
# 3. Now install riak.
sudo apt-get install riak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment