couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Installing_on_Debian" by DaveCottlehuber
Date Fri, 28 Mar 2014 12:41:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Installing_on_Debian" page has been changed by DaveCottlehuber:
https://wiki.apache.org/couchdb/Installing_on_Debian?action=diff&rev1=8&rev2=9

  
  == Building from Source on Debian Wheezy ==
  
+ [[This content has moved|https://cwiki.apache.org/confluence/display/COUCHDB/Debian]]
- {{{
- cd /tmp
- sudo apt-get install -y lsb-release
- echo "deb http://binaries.erlang-solutions.com/debian `lsb_release -cs` contrib" \
-   | sudo tee /etc/apt/sources.list.d/erlang-solutions.list
- wget -O - http://binaries.erlang-solutions.com/debian/erlang_solutions.asc \
-   | sudo apt-key add -
- 
- echo "deb http://packages.cloudant.com/debian `lsb_release -cs` main" \
-   | sudo tee /etc/apt/sources.list.d/cloudant.list
- wget http://packages.cloudant.com/KEYS -O - \
-   | sudo apt-key add -
- 
- # pull in new cloudand and ESL packages
- sudo apt-get update -y
- 
- # dependencies for libmozjs etc
- sudo apt-get install -y libmozjs185-cloudant libmozjs185-cloudant-dev
- sudo apt-get install -y libnspr4 libnspr4-0d libnspr4-dev libcurl4-openssl-dev curl libicu-dev
- 
- # set up couch user
- sudo useradd -d /var/lib/couchdb couchdb
- sudo mkdir -p /usr/local/{lib,etc}/couchdb /usr/local/var/{lib,log,run}/couchdb /var/lib/couchdb
- sudo chown -R couchdb:couchdb /usr/local/{lib,etc}/couchdb /usr/local/var/{lib,log,run}/couchdb
- sudo chmod -R g+rw /usr/local/{lib,etc}/couchdb /usr/local/var/{lib,log,run}/couchdb
- 
- # get a tarball near you from
- # http://www.apache.org/dyn/closer.cgi?path=/couchdb/source/1.5.0/apache-couchdb-1.5.0.tar.gz
- tar xzf apache-couchdb-*.tar.gz
- cd apache-couchdb-*
- ./configure --prefix=/usr/local --with-js-lib=/usr/lib --with-js-include=/usr/include/mozjs
--enable-init
- make && sudo make install
- # start couch
- sudo ln -s /usr/local/etc/init.d/couchdb /etc/init.d/couchdb
- sudo /etc/init.d/couchdb start
- sudo update-rc.d couchdb defaults
- # check it runs
- curl http://127.0.0.1:5984/
- }}}
  
  == Pre-packaged ==
  

Mime
View raw message