Last active
August 29, 2015 14:06
-
-
Save hiroeorz/12a85707991b94142b20 to your computer and use it in GitHub Desktop.
Riak 2.0.0 インストールから起動まで ref: http://qiita.com/hiroeorz@github/items/cc33bf0f26e80c7c500d
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
$ sudo apt-get install libpam0g-dev | |
$ sudo apt-get install libssl0.9.8 |
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
$ make | |
$ make rel |
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
$ riak start |
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
$ 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 |
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
$ 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 |
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
search = on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment