Install Apache CouchDB 1.5 on centOS 6.4 from source code

After failed more then 10 times, I found the solution as follows:

Config like 

http://luke.jmeerkat.com/?p=7729

 

Now you need to edit /etc/yum.repos.d/CentOS-Base.repo and add these priorities to the bottoms of each of the following repo sections:

[base]
priority=1

[updates]
priority=1

[extras]
priority=1

Save your changes on this file and edit the rpmforge.repo file. You’ll only need to edit the one repository section.

[rpmforge]
priority=5

Save your changes and you’re finished.

Setting this repo to a higher priority ensures that this repo is only used if the other repos don’t have what you’re looking for. Like Pure-FTPd. :) The above assumes you’re using 64bit Centos 6. if you’re using 32bit today stop and ask yourself why. Then, use the link and substitute the 32 bit links instead.

In this case we don’t see Pure-FTPd in the stock CentOS repos. let’s update yum and then install PureFTPd.

yum update
yum install pure-ftpd

 

Then follow the document: http://wiki.apache.org/couchdb/Installing_on_RHEL5