Skip to content

Instantly share code, notes, and snippets.

@hiroeorz
Last active August 29, 2015 14:06
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 hiroeorz/12a85707991b94142b20 to your computer and use it in GitHub Desktop.
Save hiroeorz/12a85707991b94142b20 to your computer and use it in GitHub Desktop.
Riak 2.0.0 インストールから起動まで ref: http://qiita.com/hiroeorz@github/items/cc33bf0f26e80c7c500d
$ sudo apt-get install libpam0g-dev
$ sudo apt-get install libssl0.9.8
$ make
$ make rel
$ riak start
$ openssl genrsa -out node1.key 2048
$ openssl req -new -key node1.key -out node1.csr
$ openssl x509 -req -days 365 -in node1.csr -signkey node1.key -out node1.crt
$ openssl x509 -in node1.crt -out node1.pem -outform PEM
$ cp node1.key /etc/riak
$ cp node1.pem /etc/riak
$ chown riak:riak /etc/riak/node1.pem /etc/riak/node1.key
$ chmod 600 /etc/riak/node1.pem /etc/riak/node1.key
search = on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment