Author: Steven Neiland

Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

Step 1: Install the Dependencies (continued)

Install Erlang

Finally we install Erlang which is a general-purpose concurrent programming language and runtime system.

cd /[your downloads folder]
tar xzf erlang-otp.tar.gz
cd erlang-otp
cd /tmp
installpkg erlang-otp-13B03-i486-1_SBo.tgz

Step 2: Create User and Group

As a security precaution we create a dedicated couchdb user and group so that if couchDB is compromised by an attacker, the attacker will not get access to a superuser account.

groupadd couchdb
useradd -g couchdb -d /usr/local/var/lib/couchdb -s /bin/sh couchdb

Step 3: Download and Configure the CouchDB Source

Now select your download source from CouchDB Website and download. Once downloaded unpack it and place in the "/usr/local/" directory.

cd /[your downloads folder]
tar xzf apache-couchdb-1.0.2.tar.gz
mv apache-couchdb-1.0.2 /usr/local/
1 2 3 4

What Do You Think?

Reader Comments

Post a Comment

Comment Etiquette:

  • Please keep comments on-topic.
  • Please do not post unrelated questions or large chunks of code.
  • Please do not engage in flaming/abusive behaviour.
  • Comments that contain or appear to be advertisments, will not be published.
  • Comments that appear to be created for the purpose of linkbuilding to commercial sites will be removed.

We are all adults here so play nice.


Archives Blog Listing

Tag Listing

Learn CF In A Week


Fork me on GitHub