wohali commented on issue #134: Improve installation and initial setup 
documentation
URL: 
https://github.com/apache/couchdb-documentation/issues/134#issuecomment-307583142
 
 
   You can still `curl -X PUT 
127.0.0.1:5984/_node/couchdb@localhost/_config/admins/<user> -d 
"\"<password>\""` to create an admin. The URL has changed because node-specific 
operations require a prefix to determine which node you're talking to in a 
cluster. (Technically, "standalone single-node" mode is just a cluster of one 
node.)
   
   You can also just add this block to your `local.ini` file (or any file in 
`etc/local.d` named `<something>.ini`):
   ```
   [admins]
   admin = password
   ```
   
   and restart CouchDB to get it to hash the password.
   
   We'll look at improving the `_cluster_setup` endpoint to support binding a 
single node to 127.0.0.1 It's currently disallowed because it's designed to set 
up clusters, and that's not allowed in clustered setup.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to