incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <nsla...@apache.org>
Subject Re: Debian, how to replace the couchdb8 package by the latest 9 ?
Date Mon, 17 Aug 2009 22:56:04 GMT
On Tue, Aug 18, 2009 at 12:36:26AM +0200, Damien Pitard wrote:
> defoma emacsen-common erlang-base erlang-dev erlang-examples erlang-mode
> erlang-nox erlang-src erlang-x11 fontconfig-config libdrm2 libfontconfig1
> libfontenc1 libgl1-mesa-glx libice6 libsctp1 libsm6 libxaw7 libxdamage1
> libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxrender1 libxt6 libxtst6
> libxv1 libxxf86dga1 libxxf86vm1 lksctp-tools odbcinst1debian1 tcl tcl8.4 tk
> tk8.4 ttf-dejavu ttf-dejavu-core ttf-dejavu-extra unixodbc x11-utils
> xbitmaps xterm bzip2 comerr-dev dpkg-dev g++ g++-4.3 libicu38 libidn11-dev
> libkadm55 libkrb5-dev libldap2-dev libmozjs1d libnspr4-0d libnspr4-dev
> libssh2-1-dev libssl-dev libstdc++6-4.3-dev libtimedate-perl patch
> pkg-config zlib1g-dev

Danger, Will Robinson!

When your build instructions including installing GNU Emacs, xterm, TCL, various
TTF fonts, and half of the X11 windowing system, you can be pretty sure that
you've taken a misstep!

I appreciate people sharing information, but to any users reading this, please
follow the instructions in the README of your CouchDB distribution. The packages
included here are not related to CouchDB in any way.

> cd /root

The traditional location for building packages is /usr/local/src

> wget http://apache.cict.fr/couchdb/0.9.1/apache-couchdb-0.9.1.tar.gz
> tar xzvf apache-couchdb-0.9.1.tar.gz
> cd apache-couchdb-0.9.1
> ./configure
> make && sudo make install

Please download using the proper links found here:

  http://couchdb.apache.org/downloads.html

The above link is a specific French mirror that may not be suitable for you.

Additionally, when downloading from a mirror please check the MD5 and SHA
checksums as well as verifying the OpenPGP compatible signature available from
the main Apache site. Instructions on the download page.

> adduser --system --home /usr/local/var/lib/couchdb --no-create-home --shell
> /bin/bash --group --gecos "CouchDB Administrator" couchdb
> hange the ownership of the Apache CouchDB directories by running:
> chown -R couchdb:couchdb /usr/local/etc/couchdb
> chown -R couchdb:couchdb /usr/local/var/lib/couchdb
> chown -R couchdb:couchdb /usr/local/var/log/couchdb
> chown -R couchdb:couchdb /usr/local/var/run/couchdb
> chmod -R 0770 /usr/local/etc/couchdb
> chmod -R 0770 /usr/local/var/lib/couchdb
> chmod -R 0770 /usr/local/var/log/couchdb
> chmod -R 0770 /usr/local/var/run/couchdb

This looks okay, but:

  * The README in your CouchDB distribution will have up-to-date information.

  * The official CouchDB for Debian will take care of this for you.

  * The official CouchDB for Debian uses versioned directories.

You may want to wait for the official version.

> and it should work !

Thanks for sharing!

The CouchDB 0.9 package should be ready soon for those wanting to wait.

Best,

-- 
Noah Slater, http://tumbolia.org/nslater

Mime
View raw message