incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Vander Wilt <>
Subject Re: Loading CouchDB to Amazon Linux AMI
Date Sat, 05 Feb 2011 04:57:44 GMT
I compiled CouchDB on the default AMI, and I didn't need quite so many manually installed dependencies
at least back then. Here's my notes for comparison:

# 2010 November 27 #

### CouchDB ###
# following Fedora instructions at
sudo yum install git gcc gcc-c++ libtool libcurl-devel zlib-devel openssl-devel
sudo ruby install.rb
git clone git://
cd build-couchdb
git submodule init
git submodule update
vi tasks/distros.rb	# add return [:fedora, 100] at top of function

curl -X PUT localhost:5984/_config/admins/NAME -d '"PASSWORD"'
curl -X PUT NAME:PASSWORD@localhost:5984/_config/httpd/bind_address -d '"" # to test
(put on behind nginx later)

On Feb 2, 2011, at 6:24 AM, George Burt wrote:
> Thanks for all the pointers.  I finally successfully installed on Amazon
> Linux stock AMI (this makes me feel better because Amazon offers paid
> support for that platform).
> It is a Centos 5.5 (at the time of this posting).  The problem is that the
> ruby distro code referenced in the couchio installation instructions:
> does not have an allowance for CentOS.  I have encluded the needed change to
> make the Centos distro look like fedora (which is what they recommend for
> Red Hat in the instructions - FYI Centos is an opensource version of Red
> Hat).
> You need to login to the Amazon Linux instance you have created from the AWS
> Management Console (instructions for that are not included here).  I have
> only tried 32bit, but plan to try 64bit later today.  Login as "ec2-user".
> Then the procedure is as follows:
> sudo yum install gcc gcc-c++ libtool curl-devel ruby-rdoc zlib-devel
> openssl-devel
> wget
> wget
> sudo rpm -ivh rubygem-rake-0.8.7-2.el5.noarch.rpm
> rubygems-1.3.1-1.el5.noarch.rpm
> ruby --version
> curl
> sudo yum install git-core
> git clone git://
> cd build-couchdb/
> git submodule init
> git submodule update
> nano tasks/distros.rb
> --- Go to the bottom of the file and comment out "nil" and add the line
> shown.
> #nil
> return [:fedora, '5.5']
> rake
> build/bin/couchdb
> -- now couchdb should be running
> - George

View raw message