Repository: couchdb-documentation Updated Branches: refs/heads/master c6ef05eac -> 77e679ce7
Various improvements of "Installation on Unix-like systems" article 1. Fix inconsistency. If user is created with --no-create-home flag, couchdb directory after `cp -R /path/to/couchdb/rel/couchdb /home/couchdb` would be /home/couchdb, not /home/couchdb/couchdb 2. Describe how to make warning messages go away. 3. Add link to "Cluster Reference / Setup" article Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/77e679ce Tree: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/tree/77e679ce Diff: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/diff/77e679ce Branch: refs/heads/master Commit: 77e679ce7b93e9aad7e545d0fb7504aed13b10ed Parents: c6ef05e Author: Aleksander Alekseev <afis...@gmail.com> Authored: Wed Sep 21 15:12:13 2016 +0300 Committer: Garren Smith <garren.sm...@gmail.com> Committed: Wed Sep 21 15:41:09 2016 +0200 ---------------------------------------------------------------------- src/install/unix.rst | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/77e679ce/src/install/unix.rst ---------------------------------------------------------------------- diff --git a/src/install/unix.rst b/src/install/unix.rst index 2d5d303..acb8bb2 100644 --- a/src/install/unix.rst +++ b/src/install/unix.rst @@ -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:: @@ -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, to configure your cluster see :ref: `_cluster/setup/wizard`. + Running as a Daemon ===================