software:riak
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
software:riak [2014/02/05 14:38] – Michele Porelli | software:riak [2014/02/05 17:57] – Michele Porelli | ||
---|---|---|---|
Line 3: | Line 3: | ||
==== Setup an S3 clone with Debian==== | ==== Setup an S3 clone with Debian==== | ||
This guide is tested on Debian Wheezy with Riak 1.4.4 in my (virtualized) servers | This guide is tested on Debian Wheezy with Riak 1.4.4 in my (virtualized) servers | ||
- | * All riak components should be installed on the same machine | + | * All riak components should be installed on the same machine |
* Web application should be on a different machine or you have to use riak ip and port as proxy | * Web application should be on a different machine or you have to use riak ip and port as proxy | ||
* Development outside the network is possibile but using the proxy as above | * Development outside the network is possibile but using the proxy as above | ||
Line 37: | Line 37: | ||
In progress... | In progress... | ||
+ | |||
+ | === Riak-CS S3 Clone === | ||
+ | - Add basho key< | ||
+ | - Add basho repository< | ||
+ | - Install all riak components< | ||
+ | - Change riak backend to use riak-cs< | ||
+ | |||
+ | {storage_backend, | ||
+ | |||
+ | and replace it with: | ||
+ | |||
+ | {add_paths, ["/ | ||
+ | {storage_backend, | ||
+ | {multi_backend_prefix_list, | ||
+ | {multi_backend_default, | ||
+ | {multi_backend, | ||
+ | {be_default, | ||
+ | {max_open_files, | ||
+ | {data_root, "/ | ||
+ | ]}, | ||
+ | {be_blocks, riak_kv_bitcask_backend, | ||
+ | {data_root, "/ | ||
+ | ]} | ||
+ | ]},</ | ||
+ | |||
+ | {default_bucket_props, | ||
+ | </ | ||
+ | - Increase riak capacity< | ||
+ | ## it should be added. | ||
+ | ## appropriate. | ||
+ | +zdbbl 96000</ | ||
+ | - Temporary enable admin user creation< | ||
+ | - Start riak, riak-cs and stanchion< | ||
+ | - Create an admin user< | ||
+ | -X POST http:// | ||
+ | --data ' | ||
+ | |||
+ | Take a note with the response! | ||
+ | </ | ||
+ | - Stop riak& | ||
+ | - Set riak-cs network ip< | ||
+ | - admin-key and admin-secrets in riak-cs and stanchion | ||
+ | - script | ||
+ | - ulimit | ||
+ | === Web server === | ||
+ | - install nginx | ||
+ | - configure nginx server | ||
+ | === Firewall === | ||
+ | - redirect rule | ||
+ | |||
+ |
software/riak.txt · Last modified: 2014/02/05 18:45 by Michele Porelli