Last active
May 11, 2017 01:33
-
-
Save robsonvn/9a8e74487573f25bd83b59aac328bf6d to your computer and use it in GitHub Desktop.
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
apt-get update | |
apt-get --no-install-recommends -y install build-essential pkg-config erlang libicu-dev libmozjs185-dev libcurl4-openssl-dev | |
erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell | |
wget http://www-us.apache.org/dist/couchdb/source/2.0.0/apache-couchdb-2.0.0.tar.gz | |
tar -xvzf apache-couchdb-2.0.0.tar.gz | |
cd apache-couchdb-2.0.0/ | |
./configure | |
make release | |
find rel/couchdb -type d -exec chmod 0770 {} \; | |
chmod 0644 rel/couchdb/etc/* | |
rel/couchdb/bin/couchdb 2>/dev/null & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment