Created
March 13, 2011 19:14
-
-
Save nilakanta/868345 to your computer and use it in GitHub Desktop.
Bigcouch on centos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#32 bit - centos 5, bigcouch 0.3 | |
================================ | |
# add new source | |
su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm' | |
#add dependencies | |
yum install js-devel libicu libicu-devel | |
sed -i 's/gpgcheck=1/gpgcheck=0/' /etc/yum.conf | |
sudo yum install gcc glibc-devel make ncurses-devel openssl-devel | |
#install erlang | |
wget http://erlang.org/download/otp_src_R13B04.tar.gz | |
tar zxvf otp_src_R13B04.tar.gz | |
cd otp_src_R13B04 | |
./configure && make && sudo make install | |
#install bigcouch | |
wget --no-check-certificate https://github.com/downloads/cloudant/bigcouch/bigcouch-0.3-1.i386.rpm | |
rpm -i <rpm file> | |
#change the /opt/bigcouch/etc/vm.args with '-name bigcouch@<ip of the box or machine alias>' | |
#change the bindaddress /opt/bigcouch/etc/default.ini to 0.0.0.0 | |
#check the iptable if it blocks the erlang ports - TCP port 4369, epmd uses ports in the 5001-6024 range by default, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment