-
-
Save kamlesh1988/34b0c99f8efda214673a44d14d0c42f7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| # http://docs.basho.com/riak/latest/ops/building/installing/debian-ubuntu/ | |
| # http://docs.basho.com/riak/latest/tutorials/installation/Installing-on-RHEL-and-CentOS/ | |
| if which dpkg &> /dev/null; then | |
| curl http://apt.basho.com/gpg/basho.apt.key | sudo apt-key add - | |
| sudo bash -c "echo deb http://apt.basho.com $(lsb_release -sc) main > /etc/apt/sources.list.d/basho.list" | |
| sudo apt-get update | |
| sudo apt-get install riak | |
| elif which rpm &> /dev/null; then | |
| sudo yum install http://yum.basho.com/gpg/basho-release-6-1.noarch.rpm | |
| sudo yum install riak | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment