Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

How to setup a fresh install from the command line?

1 reply [Last post]
  • Login or register to post comments
Tue, 09/25/2012 - 08:37
alexe001
Offline
Joined: 09/18/2012
Groups: None

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 \
                                   -d

INFO: running command: cluster-init
INFO: servers {'add': {}, 'failover': {}, 'remove': {}}
ERROR: command: cluster-init: 127.0.0.1:8091, [Errno 111] Connection refused

Anyone 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!

Top
  • Login or register to post comments
Tue, 09/25/2012 - 10:11
alexe001
Offline
Joined: 09/18/2012
Groups: None

Solved

No need for the node-init.

I did cluster-init then bucket-create.

http://bit.ly/S2xdnt

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker