Skip to content

Instantly share code, notes, and snippets.

View tylerhannan's full-sized avatar

Tyler Hannan tylerhannan

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tylerhannan on github.
  • I am tylerhannan (https://keybase.io/tylerhannan) on keybase.
  • I have a public key whose fingerprint is 61A2 9206 0497 EFFB 354B AE47 06F7 C49D B4EF 1D06

To claim this, I am signing this object:

riak-admin security add-user admin
curl -XPUT https://127.0.0.1:10018/types/default/buckets/test_bucket/keys/message \
-u admin:riakmaster
-H "Content-Type: text/plain" \
-d "hello from inside fortress Riak" \
HTTP/1.1 200 OK
X-Riak-Vclock: a85hYGBgzGDKBVIcR4M2cgczH7HPYEpkzGNlWHSq7gxfFgA=
Vary: Accept-Encoding
Server: MochiWeb/1.1 WebMachine/1.10.5 (jokes are better explained)
Link: </buckets/test_bucket>; rel="up"
Last-Modified: Sun, 23 Feb 2014 19:40:18 GMT
ETag: "7TUHUoxFAtXa9qy1AiMXIH"
Date: Sun, 23 Feb 2014 19:40:33 GMT
Content-Type: text/plain
Content-Length: 31
riak-admin security enable
riak-admin security grant riak_kv.get,riak_kv.put on any to admin
riak-admin security add-source admin 127.0.0.1/32 password
riak-admin security alter-user admin password=riakmaster
dcos package install riak --options=docs-riak.json #install the Mesos Riak Framework
dcos riak --framework riakmf cluster create #create a namespace for the Riak nodes
docs riak --framework riakmf node add --nodes 3 #add 3 nodes to the cluster
dcos riak --framework riakmf node add --nodes 3 #add 3 more nodes to the cluster