software:riak
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| software:riak [2014/02/05 13:38] – Michele Porelli | software:riak [2014/02/05 17:45] (current) – [Setup an S3 clone with Debian] 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 | ||
| + | - set cs_root_host | ||
| + | - script | ||
| + | - ulimit | ||
| + | === Web server === | ||
| + | - install nginx | ||
| + | - configure nginx server | ||
| + | === Firewall === | ||
| + | - redirect rule | ||
| + | |||
| + | |||
software/riak.1391607534.txt · Last modified: (external edit)
