couchbase-cli: command not found
Please bear with a complete linux and command-tool newbie making his first steps in linux installing couchbase to use couchbase_sync.
I just installed couchbase server 2.0.1 and couchbase_sync on a ubuntu 13.04 server in the azure cloud. Because it's in the cloud, I am working in the command line tool and can't use the nice browser admin panel.
My goal is to creat a bucket named "sync_gateway".
The documentation I've found tells me to use the admin panel in the browser. But this is not possible over ssh. I did find out that I could use the couchbase-cli.
But when I type "couchbase-cli help" I get the error "command not found".
couchbase-cli does exist though, in this path: /opt/couchbase/bin/couchbase-cli
The error occurs also, when I type the command in the folder /opt/couchbase/bin
From some googling I assume I'd have to add couchbase-cli to a "PATH" variable in the right document. Unfortunately different sources mention different documents where this should happen, for instance: /etc/profile, ~/.pam_environment, .bash_profile, .bash, ~/.pam.
I've opened some of these documents in nano but I either see weird stuff I wouldn't expect (code that seems to stop unexpectedly) or empty documents.
So I'm stuck scratching my head.
I'm sure this is VERY basic and maybe you have to point me to some good place to learn basic linux...