| --- |
| layout: post |
| title: Packages for Ubuntu 12.04 Precise |
| date: '2014-02-13T00:00:00+00:00' |
| categories: couchdb |
| --- |
| <p>I’m delighted to announce the availability of <a href="https://launchpad.net/~couchdb/+archive/stable">Apache CouchDB Ubuntu Precise (12.04) packages</a>, with integrated upstart support.</p>
|
|
|
| <p>These have been contributed with support from <a href="http://www.mobiusmed.com/">Mobius Medical Systems, LP</a>, who use Apache CouchDB in their product Mobius3D/FX for oncology and radiology, and funded the development of this work through <a href="http://thecouchfirm.com/">the Couch Firm</a>.</p>
|
|
|
| <p>This would not have been possible without the assistance of Jason DeRose (who has lead the 1.5.0 package going into the next Ubuntu Trusty release), and Noah Slater, who was surprised on reviewing the package to find so much of his original work there!</p>
|
|
|
| <p>Installation should be straightforward, usual caveats around making backup before upgrading precautions apply, noting that between 1.0.1 and 1.5.0 there are a number of key changes, including the on-disk data format used by the <code>.couch</code> files was upgraded. Although it <em>should</em> keep your dbs intact and do the right thing for your local.ini files, always have a backup - or two!</p>
|
|
|
| <pre>
|
| sudo apt-get install python-software-properties -y
|
| sudo add-apt-repository ppa:couchdb/stable -y
|
| sudo apt-get update -y
|
| # remove any existing couchdb
|
| sudo apt-get remove couchdb couchdb-bin couchdb-common -yf
|
| # see my shiny 1.5.0 goodness
|
| sudo apt-get install -V couchdb
|
| Reading package lists... Done
|
| Building dependency tree
|
| Reading state information... Done
|
| The following extra packages will be installed:
|
| couchdb-bin (1.5.0-0ubuntu2)
|
| couchdb-common (1.5.0-0ubuntu2)
|
| couchdb (1.5.0-0ubuntu2)
|
| … Y …
|
|
|
| # manage via upstart
|
| sudo stop couchdb
|
| couchdb stop/waiting
|
| sudo start couchdb
|
| couchdb start/running, process 3541
|
| …
|
| </pre>
|
|
|
| <p>You can of course modify or duplicate the <b>/etc/init/couchdb.conf</b> script, to support running multiple CouchDB instances or users on the same box.</p>
|
|
|
| <p>Note there's also a <a href="https://launchpad.net/~couchdb/+archive/stable">couchdb/dev PPA</a> which will be used for testing and updating the next release, e.g. the upcoming 1.6.0, before switching it over to the stable branch once it's had enough eyes on it.</p>
|