Installing Couchdb on AWS Linux 2

From G30 Consultancy
Jump to navigationJump to search

AWS Linux 2 is inherited from Fedora/RHEL7/Centos but doesn't provide compatible Release version semantics. This means that the general Couchdb Apache instructions need adjusting.

This page uses [http://docs.couchdb.org/en/latest/install/unix.html#installation-using-the-apache-couchdb-convenience-binary-packages Apache Couchdb binary installation]

Instructions

  1. Using the Centos installation instructions.
  2. Create the `bintray-apache-couchdb-rpm.repo` file in the /etc/yum.repos.d directory.
  3. Fill in the full path to the repository list rather than using the Relver and Architecture macros.
  4. \[bintray\--apache-couchdb-rpm\] name=bintray\--apache-couchdb-rpm baseurl=<http://apache.bintray.com/couchdb-rpm/el7/x86_64/> gpgcheck=0 repo\_gpgcheck=0 enabled=1
  5. Yum install after enabling epel
  6. sudo yum install couchdb`
  7. Continue with the Couchdb and configuration as normal.
  8. The Apache repository does not support IPV6 so if you have no external IPV4 route you will need to add one.