Apache couchdb installation and Getting Started

Source: Internet
Author: User
Tags couchdb

1. Download the latest version from Apache COUCHDB website, the latest version is 1.6.1.


2. Run the "Setup-couchdb-1.6.1_r16b02.exe" file and set Couchdb as the Windows service so that you do not have to start the service every time.


3. Run "http://127.0.0.1:5984" in the browserand the following content indicates that the installation was successful.


{"Couchdb": "Welcome", "uuid": "4f580477c0b1730752ca9d18982aa503", "Version": "1.6.1", "Vendor": {"version": "1.6.1", " Name ":" The Apache Software Foundation "}}


4. Enter "Http://127.0.0.1:5984/_all_dbs" in the browser toview the current database. You can also use the Curl command "Curl.exe-x GET Http://127.0.0.1:5984/_all_dbs" query.

["_replicator", "_users"]


5. Install the Curl service and then use Curl to operate the database (self-ferry).


6. Use the following Curl command to create a database, and then use "Http://127.0.0.1:5984/_all_dbs" to view the newly created database.

E:\favccxx>curl.exe-x PUT http://127.0.0.1:5984/baseball{"OK": true}


7. Use the following Curl command to delete the database you just created.

E:\favccxx>curl.exe-x DELETE http://127.0.0.1:5984/baseball{"OK": true}


8. COUCHDB provides a visual interface tool that runs "http://127.0.0.1:5984/_utils/" in the browserto see the interface shown below.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6C/F2/wKioL1VYav2B94L9AAIo1dDv6eg827.jpg "title=" Hellocouchdb.png "alt=" Wkiol1vyav2b94l9aaio1ddv6eg827.jpg "/>




This article is from the "This person's IT World" blog, be sure to keep this source http://favccxx.blog.51cto.com/2890523/1652108

Apache couchdb installation and Getting Started

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.