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