Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions src/install/unix.rst
Original file line number Diff line number Diff line change
Expand Up @@ -188,31 +188,31 @@ Copy the built couchdb release to the new user's home directory::

Change the ownership of the CouchDB directories by running::

chown -R couchdb:couchdb /home/couchdb/couchdb
chown -R couchdb:couchdb /home/couchdb

Change the permission of the CouchDB directories by running::

find /home/couchdb/couchdb -type d -exec chmod 0770 {} \;
find /home/couchdb -type d -exec chmod 0770 {} \;

Update the permissions for your ini files::

chmod 0644 /home/couchdb/couchdb/etc/*
chmod 0644 /home/couchdb/etc/*

First Run
=========

You can start the CouchDB server by running::

sudo -i -u couchdb couchdb/bin/couchdb
sudo -i -u couchdb /home/couchdb/bin/couchdb

This uses the ``sudo`` command to run the ``couchdb`` command as the
``couchdb`` user.

When CouchDB starts it should eventually display the following message::
When CouchDB starts it should eventually display following messages::

Apache CouchDB has started, time to relax.
{database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users" ...

Relax.
Don't be afraid, we will fix this in a moment.

To check that everything has worked, point your web browser to::

Expand All @@ -222,6 +222,8 @@ From here you should verify your installation by pointing your web browser to::

http://localhost:5984/_utils/verify_install.html

Finally, `configure a cluster <http://docs.couchdb.org/en/latest/cluster/setup.html>`_ using API or web UI. After this all warning messages in a log will go away.

Running as a Daemon
===================

Expand Down