Published:
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]
wget http://slackbuilds.org/slackbuilds/13.0/development/erlang-otp.tar.gz
tar xzf erlang-otp.tar.gz
cd erlang-otp
wget http://www.erlang.org/download/otp_src_R13B03.tar.gz
wget http://www.erlang.org/download/otp_doc_man_R13B03.tar.gz
./erlang-otp.SlackBuild
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]
wget http://apache.opensourceresources.org//couchdb/1.0.2/apache-couchdb-1.0.2.tar.gz
tar xzf apache-couchdb-1.0.2.tar.gz
mv apache-couchdb-1.0.2 /usr/local/
Reader Comments