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
#!/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). |
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
#!/bin/bash | |
hosts="" | |
for host in $@; do | |
hosts="$host,$hosts" | |
done | |
#remove last character | |
hosts=${hosts%?} | |
wget https://github.com/downloads/brianfrankcooper/YCSB/ycsb-0.1.4.tar.gz | |
tar xfvz ycsb-0.1.4.tar.gz |
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
#!/bin/sh -ex | |
## Install Apache Cassandra and dependencies. | |
## The scripts are based on a combination of the DataStax ComboAMI scripts, | |
## the whirr cassandra scripts and my own scripts. | |
## By Markus Klems (2012). | |
## Tested with Ubuntu 11.10 (ami-cdc072a4). | |
################################ | |
### NO WARRANTIES WHATSOEVER ### | |
################################ | |
export DEBIAN_FRONTEND=noninteractive |
NewerOlder