- make sure software is up to date.
- sudo apt-get update
- sudo apt-get upgrade
- install dependencies - the order is important, some may need to removed and the reinstalled later in the list. For some reason there are one way conflicts. Some may be installed already and need not be re-installed. apt-get will let you know.
- sudo apt-get build-dep erlang
- sudo apt-get build-dep couchdb
- sudo apt-get install libicu-dev libcurl4-gnutls-dev
- sudo apt-get install automake autoconf libtool help2man
- sudo apt-get install libmozjs-dev
- sudo apt-get install libcurl4-openssl-dev
- sudo apt-get install openssl libssl-dev
- get and build erlang
- wget http://www.erlang.org/download/otp_src_R14B04.tar.gz
- ./configure --with-ssl=/usr/include/openssl/
- which openssl to get prefix ie. /usr
- make
- sudo make install
- get and build couchdb
- git svn clone http://svn.apache.org/repos/asf/couchdb/trunk couchdb
- ./bootstrap && ./configure
- make && sudo make install
- make clean && make distclean
- configure couchdb user and environment
- sudo adduser --home /usr/local/var/lib/couchdb --shell /bin/bash couchdb
- sudo chown -R couchdb: /usr/local/var/lib/couchdb /usr/local/var/log/couchdb /usr/local/var/run/couchdb /usr/local/etc/couchdb
- sudo ln -s /usr/local/etc/init.d/couchdb /etc/init.d/couchdb
- sudo update-rc.d couchdb defaults
- edit /usr/local/etc/couchdb/local.ini and /usr/local/etc/couchdb/default.ini
Created
October 23, 2012 17:59
-
-
Save bsquared/3940371 to your computer and use it in GitHub Desktop.
Installing CouchDb Manually on Ubuntu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment