Created
November 20, 2014 09:01
-
-
Save auroranockert/8125f009e27968f378ad to your computer and use it in GitHub Desktop.
Install CouchDB 2.0 (developer preview) on CentOS 6.5
This file contains 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
sudo yum -y update | |
sudo yum -y groupinstall "Development Tools" | |
sudo yum -y install libicu-devel curl-devel ncurses-devel libtool libxslt fop java-1.6.0-openjdk java-1.6.0-openjdk-devel unixODBC unixODBC-devel openssl-devel wget epel-release | |
mkdir Source | |
cd ~/Source/ | |
wget http://www.erlang.org/download/otp_src_R16B03-1.tar.gz | |
tar -zxvf otp_src_R16B03-1.tar.gz | |
cd otp_src_R16B03-1 | |
./configure CFLAGS="-DOPENSSL_NO_EC=1" && make -j12 && sudo make install | |
cd ~/Source/ | |
wget http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz | |
tar -zxvf js185-1.0.0.tar.gz | |
cd js-1.8.5/js/src/ | |
./configure && make && make install | |
mv /usr/local/include/js/* /usr/local/include/ | |
cd ~/Source/ | |
wget https://github.com/rebar/rebar/wiki/rebar | |
chmod +x rebar | |
cp ./rebar /usr/local/bin/ | |
sudo yum -y install nodejs npm | |
git clone https://git-wip-us.apache.org/repos/asf/couchdb.git | |
cd couchdb | |
git checkout developer-preview-2.0 | |
npm install -g grunt-cli | |
./configure | |
make | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment