From user-return-6023-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Mon Aug 17 22:40:41 2009 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 49743 invoked from network); 17 Aug 2009 22:40:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Aug 2009 22:40:41 -0000 Received: (qmail 53026 invoked by uid 500); 17 Aug 2009 22:40:59 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 52934 invoked by uid 500); 17 Aug 2009 22:40:59 -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 52921 invoked by uid 99); 17 Aug 2009 22:40:59 -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:40:59 +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 norbu09@googlemail.com designates 209.85.219.208 as permitted sender) Received: from [209.85.219.208] (HELO mail-ew0-f208.google.com) (209.85.219.208) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 22:40:49 +0000 Received: by ewy4 with SMTP id 4so2110276ewy.3 for ; Mon, 17 Aug 2009 15:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=WkTibKrISlvevvUYtuOiRptsP4RlqQBG/M6ALJ7V1Mg=; b=DD8aNET9ZDio9MSLvelLyYqZlaU5THbe2oFrsu1V1kL0mtuplzbf5wTtkUo7DgRCj7 ftsrrBQMpp9xpWVf9waaVQIEYkOzvwYMcV+QfZ9WydzNsGMAevQNgL6o2dww2QgAwhG4 Pl1O9dDIBqMD1RxKg5t5R4zp0/Blv5f/WA3MQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DC6rd4gG4DZOEvRsEhyjCWD2tPq5+tNk42MMS3os+g140JDIeYQSYfHJAjVemRmv0F bIgIe2Nuf+Jl0b4W8+yMwgTF/Cj1N3aoC/TbjWGvyoLRE3WOSjqCYyH44MpItKiq26Az DwGNounLGNhceF/qybD8Ho6+b0duQ0PT+9lbY= MIME-Version: 1.0 Received: by 10.216.86.145 with SMTP id w17mr1078377wee.85.1250548825853; Mon, 17 Aug 2009 15:40:25 -0700 (PDT) In-Reply-To: References: <51d0803c0908171147x3766cedfs25590f010c648b3d@mail.gmail.com> Date: Tue, 18 Aug 2009 10:40:25 +1200 Message-ID: Subject: Re: Debian, how to replace the couchdb8 package by the latest 9 ? From: lenz To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0016e6d508e58a113b04715e1644 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d508e58a113b04715e1644 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit there is an easier way to do that ... add unstable to your apt sources. and get couchdb from unstable ... resolves all the dependencies. you might need to install erlang from unstable as well. cheers lenz On Tue, Aug 18, 2009 at 10:36 AM, Damien Pitard wrote: > 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* > > > -- iWantMyName.com painless domain registration (finally) --0016e6d508e58a113b04715e1644--