You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2023/07/21 08:59:47 UTC
[couchdb] 01/01: docs: add Centos/RHEL9+, thanks for nothing RedHat
This is an automated email from the ASF dual-hosted git repository.
jan pushed a commit to branch docs/rhel9
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit c1a5275369340e3ee71b9093c1c5f19941d41f3c
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Fri Jul 21 10:59:33 2023 +0200
docs: add Centos/RHEL9+, thanks for nothing RedHat
---
src/docs/src/install/unix.rst | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/src/docs/src/install/unix.rst b/src/docs/src/install/unix.rst
index 73393507d..41376f1c2 100644
--- a/src/docs/src/install/unix.rst
+++ b/src/docs/src/install/unix.rst
@@ -31,6 +31,7 @@ to install CouchDB is to use the convenience binary packages:
* CentOS/RHEL 7
* CentOS/RHEL 8
+* CentOS/RHEL 9 (with caveats)
* Debian 10 (buster)
* Debian 11 (bullseye)
* Ubuntu 18.04 (bionic)
@@ -63,11 +64,19 @@ Enabling the Apache CouchDB package repository
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${VERSION_CODENAME} main" \
| sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null
-**RedHat or CentOS**: Run the following commands::
+**RedHat(<9) or CentOS**: Run the following commands::
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://couchdb.apache.org/repo/couchdb.repo
+**RedHat(>=9)**: Run the following commands::
+
+ sudo yum install -y yum-utils
+ sudo yum-config-manager --add-repo https://couchdb.apache.org/repo/couchdb.repo
+ # Enable EPEL for the SpiderMonkey dependency
+ sudo dnf config-manager --set-enabled crb
+ sudo dnf install epel-release epel-next-release
+
Installing the Apache CouchDB packages
--------------------------------------
@@ -83,8 +92,13 @@ clustered installations. For clusters, multiple nodes will still need to be
joined together and configured consistently across all machines; **follow the**
:ref:`Cluster Setup <setup/cluster>` **walkthrough** to complete the process.
-**RedHat/CentOS**: Run the command::
+**RedHat(<9)/CentOS**: Run the command::
+
+ sudo yum install -y couchdb
+
+**RedHat(>=9)**: Run the following commands::
+ sudo yum install mozjs78
sudo yum install -y couchdb
Once installed, :ref:`create an admin user<config/admins>` by hand before