How to setup a fresh install from the command line?
Tue, 09/25/2012 - 08:37
Hi,
I read the documentation located at http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-cmdli... but I still can't figure out how to setup a couchbase server from a fresh install on linux.
From reading posts on the forum it sounds like the sequence is
1) couchbase-cli node-init
2) couchbase-cli cluster-init
This command is working
/opt/couchbase/bin/couchbase-cli node-init -c 127.0.0.1:8091 \
--node-init-data-path /opt/couchbase/var/data \
-u Administrator -p password \
-d This command is not working
/opt/couchbase/bin/couchbase-cli cluster-init -c 127.0.0.1:8091
--cluster-init-username=Administrator \
--cluster-init-password=password \
--cluster-init-port=8080 \
--cluster-init-ramsize=512 \
-u Administrator -p password \
-dINFO: running command: cluster-init
INFO: servers {'add': {}, 'failover': {}, 'remove': {}}
ERROR: command: cluster-init: 127.0.0.1:8091, [Errno 111] Connection refusedAnyone can share a set of commands to setup a fresh install?
Is there a way to do this via a simple config file instead?
Would be great to include a good exemple of this in the documentation.
Thanks!
Solved
No need for the node-init.
I did cluster-init then bucket-create.
http://bit.ly/S2xdnt