From user-return-6024-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Mon Aug 17 22:41:21 2009 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 50464 invoked from network); 17 Aug 2009 22:41:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Aug 2009 22:41:21 -0000 Received: (qmail 54723 invoked by uid 500); 17 Aug 2009 22:41:39 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 54632 invoked by uid 500); 17 Aug 2009 22:41:39 -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 54619 invoked by uid 99); 17 Aug 2009 22:41:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 22:41:39 +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 (nike.apache.org: domain of damien.pitard@gmail.com designates 209.85.218.209 as permitted sender) Received: from [209.85.218.209] (HELO mail-bw0-f209.google.com) (209.85.218.209) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 22:41:27 +0000 Received: by bwz5 with SMTP id 5so2701293bwz.3 for ; Mon, 17 Aug 2009 15:41:07 -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=NITBfGu/dKS9ogJsR+/D/kEcSukxz4LN5jo7uCEyuDw=; b=INQSnAKa2gA0ibQBr57QJ8E4zUpE4jVpSgvz8vnq0o0aCbepg/g9CEPl7R+j5aEZox aiA7EzpBosr6OrH+YCwdH1R4981SPNWiPIE0Y4NgFIWsTyuZj/gAzoyVwL1TChTgs4f0 +CeMlYQSdJubR6Kryaas0PoOCwR3UXoiSmjZc= 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=BW5ml1WQtl6xjmvOi34AXqzL1dvKLMBzGTQYgEPNf3fOn46sB7KFHEJ1mRjd+QqPxE m3+IPFPnl9UkA2pPt/lOAqBmPQwoRuJIm3vjPoieSR2DxpGYCzufEgPfvqoZTOdqTJ6n NHJsaKHC4qLXKXcWRbhkZhyV+aJYyBOlY3hSk= MIME-Version: 1.0 Received: by 10.239.144.100 with SMTP id n36mr366347hba.19.1250548866121; Mon, 17 Aug 2009 15:41:06 -0700 (PDT) In-Reply-To: References: <51d0803c0908171147x3766cedfs25590f010c648b3d@mail.gmail.com> From: Damien Pitard Date: Tue, 18 Aug 2009 00:40:46 +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=001485f7249cf0830004715e1881 X-Virus-Checked: Checked by ClamAV on apache.org --001485f7249cf0830004715e1881 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit And I forgot to tell you to remove CouchDB 8.x before to installe the 9.x version : apt-get remove --purge couchdb Damien On Tue, Aug 18, 2009 at 12: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* >> > > --001485f7249cf0830004715e1881--