Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 48336 invoked from network); 17 Aug 2009 22:37:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Aug 2009 22:37:00 -0000 Received: (qmail 49061 invoked by uid 500); 17 Aug 2009 22:37:18 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 48995 invoked by uid 500); 17 Aug 2009 22:37:18 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 48985 invoked by uid 99); 17 Aug 2009 22:37:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 22:37:18 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of damien.pitard@gmail.com designates 209.85.220.205 as permitted sender) Received: from [209.85.220.205] (HELO mail-fx0-f205.google.com) (209.85.220.205) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 22:37:09 +0000 Received: by fxm1 with SMTP id 1so2573682fxm.7 for ; Mon, 17 Aug 2009 15:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=h+gv4q+jaUFdouKKGKnwiaMhS9LVl1bx3X5wfBqEZq8=; b=LpWuuqnN8TQEBMO9N1saTzEbar/3LEqV03aGFinshS89TAShy7ZbPGJD7NoUF6C1pL pwmXBxmF8Tot1WdtKo0YGU06MRFRWjVq2SAY05B6hL78upIh7vKF0OThZGnRMw80/vmZ JpuyEryLdqWf1TMXOZU3ywAnFBmT68DgG5gxk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=r6S9wIXxskf6wVpKR/G3WOwAP1e43LSXLtMuVgLqND2BoRWlJf/ZQjOQkaOeI+4Pwq jqm74EjskZa3PvIFX4UVGOQkaO1OZ2kB3VnPL6lDA5TLJMv7VdKv8HwnDLG9QEkkxpIQ 8X4638NDQqQj6PXgp1/g7FT3k0LCxXPBOvWSk= MIME-Version: 1.0 Received: by 10.239.141.145 with SMTP id c17mr336242hba.14.1250548606213; Mon, 17 Aug 2009 15:36:46 -0700 (PDT) In-Reply-To: <51d0803c0908171147x3766cedfs25590f010c648b3d@mail.gmail.com> References: <51d0803c0908171147x3766cedfs25590f010c648b3d@mail.gmail.com> From: Damien Pitard Date: Tue, 18 Aug 2009 00:36:26 +0200 Message-ID: Subject: Re: Debian, how to replace the couchdb8 package by the latest 9 ? To: user@couchdb.apache.org, killan@daaboo.net Content-Type: multipart/alternative; boundary=001485f6c910729f4704715e090e X-Virus-Checked: Checked by ClamAV on apache.org --001485f6c910729f4704715e090e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I just tested it yesterday. To compile couchDB 9.x on Debian lenny: * see http://svn.apache.org/viewvc/couchdb/trunk/README?revision=798283 You must be root on the server h2. Requirements Installation
apt-get install help2man autoconf automake libtool
it will also install the following packages :
autotools-dev binutils cpp cpp-4.3 gcc gcc-4.3 gettext gettext-base
libc6-dev libgmp3c2 libgomp1 libltdl3-dev libmpfr1ldbl linux-libc-dev m4
apt-get install build-essential erlang libicu-dev libmozjs-dev
libcurl4-openssl-dev
it will also install the following packages :
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
h2. Installation
cd /root
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
create a dedicated user:
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
run couchdb as a daemon:
ln -s /usr/local/etc/init.d/couchdb /etc/init.d/couchdb
ln -s /usr/local/etc/default/couchdb /etc/default/couchdb
update-rc.d couchdb defaults
rotate the log:
ln -s /usr/local/etc/logrotate.d/couchdb /etc/logrotate.d/couchdb
h2. Configuration make couchdb reachable over the network editing /usr/local/etc/couchdb/local.ini:
[httpd]
port = 5984
bind_address = 0.0.0.0
secure the access:
[admins]
admin = your_password
make sure that couchdb has write access on the file after edition
chown couchdb:couchdb /usr/local/etc/couchdb/local.ini
/etc/init.d/couchdb restart
and it should work ! Damien On Mon, Aug 17, 2009 at 8:47 PM, Jehan Bihin wrote: > Hi, > > On debian lenny i have installed couchdb, it's the 8.0, but reading > tutorials, the web book, wiki and so one it's about the 9 so all help given > is not for my version. > > In the goal to benefit the latest release of couchdb, someone have the > experience on debian and work with the 9, and can help me to pass 8 to 9 ? > > Thanks by advance, > > *Jehan* > --001485f6c910729f4704715e090e--