Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.

Commit 3e7273d

Browse files
authored
Update docs for new binary location (#654)
1 parent 432f432 commit 3e7273d

File tree

1 file changed

+34
-78
lines changed

1 file changed

+34
-78
lines changed

src/install/unix.rst

Lines changed: 34 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Installation using the Apache CouchDB convenience binary packages
2929
If you are running one of the following operating systems, the easiest way
3030
to install CouchDB is to use the convenience binary packages:
3131

32-
* CentOS/RHEL 6
3332
* CentOS/RHEL 7
3433
* CentOS/RHEL 8
3534
* Debian 9 (stretch)
@@ -49,97 +48,36 @@ details are in the `README.Debian`_ file.
4948

5049
.. _README.Debian: https://github.com/apache/couchdb-pkg/blob/master/debian/README.Debian
5150

52-
Apache CouchDB also provides packages for the SpiderMonkey 1.8.5 JavaScript
53-
dependency, as the upstream packages for this shared library are starting to
54-
disappear or become unreliable.
51+
For distributions lacking a compatible SpiderMonkey library, Apache CouchDB
52+
also provides packages for the 1.8.5 version.
5553

5654
Enabling the Apache CouchDB package repository
5755
----------------------------------------------
5856

5957
.. highlight:: sh
6058

61-
**Debian 9 (stretch)**: Run the following commands::
59+
**Debian or Ubuntu**: Run the following commands::
6260

63-
$ sudo apt-get install -y apt-transport-https gnupg ca-certificates
64-
$ echo "deb https://apache.bintray.com/couchdb-deb stretch main" \
65-
| sudo tee /etc/apt/sources.list.d/couchdb.list
61+
sudo apt update && sudo apt install -y curl apt-transport-https gnupg
62+
curl https://couchdb.apache.org/repo/keys.asc | gpg --dearmor | sudo tee /usr/share/keyrings/couchdb-archive-keyring.gpg >/dev/null 2>&1
63+
source /etc/os-release
64+
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${VERSION_CODENAME} main" \
65+
| sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null
6666

67-
**Debian 10 (buster)**: Run the following commands::
67+
**RedHat or CentOS**: Run the following commands::
6868

69-
$ sudo apt-get install -y gnupg ca-certificates
70-
$ echo "deb https://apache.bintray.com/couchdb-deb buster main" \
71-
| sudo tee /etc/apt/sources.list.d/couchdb.list
72-
73-
**Ubuntu 16.04 (Xenial)**: Run the following commands::
74-
75-
$ sudo apt-get install -y apt-transport-https gnupg ca-certificates
76-
$ echo "deb https://apache.bintray.com/couchdb-deb xenial main" \
77-
| sudo tee /etc/apt/sources.list.d/couchdb.list
78-
79-
**Ubuntu 18.04 (Bionic)**: Run the following commands::
80-
81-
$ sudo apt-get install -y gnupg ca-certificates
82-
$ echo "deb https://apache.bintray.com/couchdb-deb bionic main" \
83-
| sudo tee /etc/apt/sources.list.d/couchdb.list
84-
85-
**Ubuntu 20.04 (Focal)**: Run the following commands::
86-
87-
$ sudo apt-get install -y gnupg ca-certificates
88-
$ echo "deb https://apache.bintray.com/couchdb-deb focal main" \
89-
| sudo tee /etc/apt/sources.list.d/couchdb.list
90-
91-
.. highlight:: ini
92-
93-
**CentOS**: Place the following text into ``/etc/yum.repos.d/bintray-apache-couchdb-rpm.repo``::
94-
95-
[bintray--apache-couchdb-rpm]
96-
name=bintray--apache-couchdb-rpm
97-
baseurl=http://apache.bintray.com/couchdb-rpm/el$releasever/$basearch/
98-
gpgcheck=0
99-
repo_gpgcheck=0
100-
enabled=1
101-
102-
**RedHat 6**: Place the following text into ``/etc/yum.repos.d/bintray-apache-couchdb-rpm.repo``::
103-
104-
[bintray--apache-couchdb-rpm]
105-
name=bintray--apache-couchdb-rpm
106-
baseurl=http://apache.bintray.com/couchdb-rpm/el6/$basearch/
107-
gpgcheck=0
108-
repo_gpgcheck=0
109-
enabled=1
110-
111-
**RedHat 7**: Place the following text into ``/etc/yum.repos.d/bintray-apache-couchdb-rpm.repo``::
112-
113-
[bintray--apache-couchdb-rpm]
114-
name=bintray--apache-couchdb-rpm
115-
baseurl=http://apache.bintray.com/couchdb-rpm/el7/$basearch/
116-
gpgcheck=0
117-
repo_gpgcheck=0
118-
enabled=1
119-
120-
**RedHat 8**: Place the following text into ``/etc/yum.repos.d/bintray-apache-couchdb-rpm.repo``::
121-
122-
[bintray--apache-couchdb-rpm]
123-
name=bintray--apache-couchdb-rpm
124-
baseurl=http://apache.bintray.com/couchdb-rpm/el8/$basearch/
125-
gpgcheck=0
126-
repo_gpgcheck=0
127-
enabled=1
69+
sudo yum install -y yum-utils
70+
sudo yum-config-manager --add-repo https://couchdb.apache.org/repo/couchdb.repo
12871

12972
Installing the Apache CouchDB packages
13073
--------------------------------------
13174

13275
.. highlight:: sh
13376

134-
**Debian/Ubuntu**: First, install the CouchDB repository key::
77+
**Debian or Ubuntu**: Run the following commands::
13578

136-
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys \
137-
8756C4F765C9AC3CB6B85D62379CE192D401AB61
138-
139-
Then update the repository cache and install the package::
140-
141-
$ sudo apt update
142-
$ sudo apt install -y couchdb
79+
sudo apt update
80+
sudo apt install -y couchdb
14381

14482
Debian/Ubuntu installs from binaries can be pre-configured for single node or
14583
clustered installations. For clusters, multiple nodes will still need to be
@@ -148,7 +86,7 @@ joined together and configured consistently across all machines; **follow the**
14886

14987
**RedHat/CentOS**: Run the command::
15088

151-
$ sudo yum -y install epel-release && sudo yum -y install couchdb
89+
sudo yum install -y couchdb
15290

15391
Once installed, :ref:`create an admin user<config/admins>` by hand before
15492
starting CouchDB, if your installer didn't do this for you already.
@@ -158,7 +96,25 @@ You can now start the service.
15896
**Your installation is not complete. Be sure to complete the**
15997
:ref:`Setup <setup>` **steps for a single node or clustered installation.**
16098

161-
Relax! CouchDB is installed and running.
99+
**Relax!** CouchDB is installed and running.
100+
101+
GPG keys used for signing the CouchDB repositories
102+
--------------------------------------------------
103+
104+
As of 2021.04.25, the *repository* signing key for both types of supported packages
105+
is::
106+
107+
pub rsa8192 2015-01-19 [SC]
108+
390EF70BB1EA12B2773962950EE62FB37A00258D
109+
uid The Apache Software Foundation (Package repository signing key) <[email protected]>
110+
111+
As of 2021.04.25, the *package* signing key (only used for ``rpm`` packages) is::
112+
113+
pub rsa4096 2017-07-28 [SC] [expires: 2022-07-27]
114+
2EC788AE3F239FA13E82D215CDE711289384AE37
115+
uid Joan Touzet (Apache Code Signing Key) <[email protected]>
116+
117+
Both are available from most popular GPG key servers.
162118

163119
Installation from source
164120
========================

0 commit comments

Comments
 (0)