Perl

You're viewing old version number 14. - Current version

1 min

CouchDB

http://couchdb.apache.org

Installed CouchDB on Oct 10, 2014.

apt-get install couchdb

It installed version 1.0.1.

Version 1.6.1 is available.


https://launchpad.net/~couchdb/+archive/ubuntu/stable

# install the ppa-finding tool
# for 12.04 release
sudo apt-get install python-software-properties -y
# for 14.04 release
sudo apt-get install software-properties-common -y
# add the ppa
sudo add-apt-repository ppa:couchdb/stable -y
# update cached list of packages
sudo apt-get update -y
# remove any existing couchdb binaries
sudo apt-get remove couchdb couchdb-bin couchdb-common -yf
# see my shiny goodness - note the version number displayed and ensure its what you expect
sudo apt-get -f install
sudo apt-get install -V couchdb
# manage via upstart
sudo stop couchdb
  couchdb stop/waiting
# update /etc/couchdb/local.ini with 'bind_address=0.0.0.0' as needed
sudo start couchdb
  couchdb start/running, process 17422
# check version
couchdb -V
    couchdb - Apache CouchDB 1.6.1

Good. Up to date. Oct 10, 2014

old post:
http://blog.woobling.org/2009/05/why-i-dont-use-couchdb.html

Perl

http://search.cpan.org/dist/CouchDB-Client/lib/CouchDB/Client.pm

The above main module is outdated or oldish, 2009.

http://cpanratings.perl.org/dist/CouchDB-Client

"Generally, when I have a choice I prefer AnyEvent::CouchDB."

http://search.cpan.org/~beppu/AnyEvent-CouchDB- 1.31/lib/AnyEvent/CouchDB.pm - (2011)

perl -MCPAN -e 'install CouchDB::Client'

Installed above Perl module on Oct 10, 2014. It took under one minute to install, unlike the nearly 10 minutes to complete the install of the MongoDB Perl client module.

#database - #nosql - #json

From JR's : articles
207 words - 1677 chars - 1 min read
created on
updated on - #
source - versions

Related articles
CouchDB - Aug 24, 2017



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Nov 14, 2024 - 12:10 p.m. EST