You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2008/06/10 17:31:28 UTC
[Couchdb Wiki] Update of "InstallingOnRhel5" by sho
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The following page has been changed by sho:
http://wiki.apache.org/couchdb/InstallingOnRhel5
New page:
Installing on RHEL5 x86_64
1. Install prerequisites. You may or may not need EPEL/RPMFORGE
{{{yum install ncurses-devel openssl-devel icu libicu-devel js js-devel}}}
2. Install erlang
{{{
wget http://www.erlang.org/download/otp_src_R12B-2.tar.gz
tar xzvf otp_src_R12B-2.tar.gz
cd otp_src_R12B-2
./configure && make && sudo make install
cd ..
}}}
3. Install couchdb
{{{
svn checkout http://svn.apache.org/repos/asf/incubator/couchdb/trunk couchdb
cd couchdb
./bootstrap
./configure && make && make install
}}}
4. Edit config file to suit
{{{vi /usr/local/etc/couchdb/couch.ini}}}
5. Create users, chown directories
{{{
adduser -r -d /usr/local/var/lib/couchdb couchdb
chown -R couchdb /usr/local/var/lib/couchdb
chown -R couchdb /usr/local/var/log/couchdb
}}}
6. Launch! In console:
{{{sudo -u couchdb couchdb}}}
or as daemon:
{{{sudo /usr/local/etc/rc.d/couchdb start}}}