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_Fedora17" by ShouryaSarcar
Date Wed, 15 Aug 2012 13:44:08 GMT
Dear Wiki user,

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

The "Installing_on_Fedora17" page has been changed by ShouryaSarcar:
http://wiki.apache.org/couchdb/Installing_on_Fedora17?action=diff&rev1=15&rev2=16

Comment:
Changes for couchdb installation using yum on Fedora 17

  <<Include(EditTheWiki)>>
  
  ## The basis for this page is originally from "Installing on Fedora10" which was itself
renamed from InstallingOnRHEL4
- = Installing on Fedora Core 10 x86_64 =
+ = Installing on Fedora Core 17 x86_64 =
  
- 1. build and install Erlang
+ Fedora now provides appropriate packages to install CouchDB using yum
  
+  * Search for couchdb (optional)
- Erlang can be downloaded from http://www.erlang.org/download.html.
- Build instructions can be found here: http://www.erlang.org/doc/installation_guide/INSTALL.html#id54376
- 
- Note : I was able to build Couchdb 1.2.0a1056082 using Erlang R14B01
- Tips: you'll need ncurses and openssl devel packages
- 
- 2. install other dependencies (no external repos required).
  
  {{{
-   # yum install icu libicu-devel js js-devel libcurl-devel
+ # yum search couchdb
+ Loaded plugins: langpacks, presto, refresh-packagekit
+ ===================================================================================== N/S
Matched: couchdb =====================================================================================
+ couchdb-glib.i686 : A glib api to access CouchDB servers
+ couchdb-glib.x86_64 : A glib api to access CouchDB servers
+ couchdb-glib-devel.i686 : Development package for couchdb-glib
+ couchdb-glib-devel.x86_64 : Development package for couchdb-glib
+ evolution-couchdb.x86_64 : An evolution backend to CouchDBs for PIM information
+ python-couchdb.noarch : A Python library for working with CouchDB
+ python-couchdb-devel.noarch : The  API reference files for CouchDB
+ couchdb.x86_64 : A document database server, accessible via a RESTful JSON API
+ desktopcouch.noarch : A CouchDB instance on every desktop
+ 
+   Name and summary matches only, use "search all" for everything.
  }}}
  
- Note : this results in icu version 4.0-3.fc10 and js version 1.70-3.
  
- 3. install couchdb
+  * Install couchdb. The version that will be installed is : ''1.1.1-3.fc17'' which corresponds
to ''CouchDB 1.1.1''
  
- The code can be gotten from subversion using
  
  {{{
+ # yum install couchdb
-   $ svn checkout http://svn.apache.org/repos/asf/couchdb/trunk couchdb
-   $ cd couchdb
-   $ ./bootstrap
  }}}
  
- If bootstrap throws "libtoolize: command not found" you need to "# yum install libtool"
+  * Note: A user ''couchdb'' is automatically created with group ''root''
+ 
+  * (optional) edit basic settings like Port and !BindAddress
  
  {{{
-   $ ./configure
+   $ vi /usr/local/etc/couchdb/couch.ini
  }}}
  
+  * Start CouchDB server in your terminal
- If configure throws "Could not find the `erl_driver.h' header" you need to tell it where
the Erlang includes are; for example: "--with-erlang=/usr/lib64/erlang/usr/include/".
- 
- And then as root:
  
  {{{
-   # make install
+   $ sudo  /usr/bin/couchdb
  }}}
  
- The source can also be obtained from a released version using a tool like wget.  The example
uses the primary site, whereas it is often faster to download from a mirror, e.g.,
  
-   http://www.apache.org/dyn/closer.cgi?path=/incubator/couchdb/0.8.1-incubating/apache-couchdb-0.8.1-incubating.tar.gz
- 
- For example,
- 
- {{{
-   $ wget http://www.apache.org/dist/incubator/couchdb/0.8.1-incubating/apache-couchdb-0.8.1-incubating.tar.gz
-   $ tar -xzvf apache-couchdb-0.8.1-incubating.tar.gz 
-   $ cd apache-couchdb-0.8.1-incubating
-   $ ./configure  --with-erlang=/usr/lib64/erlang/usr/include/
-   $ make && make install
- }}}
- 
- 4. create couchdb user 
- 
- {{{
-   $ sudo adduser -r -d /usr/local/var/lib/couchdb couchdb
-   $ sudo chown -R couchdb /usr/local/var/lib/couchdb
-   $ sudo chown -R couchdb /usr/local/var/log/couchdb
- }}}
- 
- 5. (optional) edit basic settings like Port and !BindAddress
- 
- {{{
-   $ emacs /usr/local/etc/couchdb/couch.ini
- }}}
- 
- 6. start CouchDB server in your terminal
- 
- {{{
-   $ cd /usr/local/bin/
-   $ sudo -u couchdb ./couchdb
- }}}
- 
- or as daemon
- 
- {{{
-   $ sudo /usr/local/etc/rc.d/couchdb start
- }}}
  
  Access 
  
@@ -97, +61 @@

  
  if you edited the !BindAddress
  
+  * Run the tests by visiting the URL
+   
+     http://localhost:5984/_utils/couch_tests.html?script/couch_tests.js
+ 

Mime
View raw message