Skip to content

Commit

Permalink
Update RH Installation Guide
Browse files Browse the repository at this point in the history
This patch updates the documentation for installing pyCA on Fedora and
CentOS 8.
  • Loading branch information
lkiesow committed May 8, 2020
1 parent b2c8306 commit 0e3e1e1
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,28 +49,16 @@ Here is a short summary for Debian based OS like Raspian::
vim etc/pyca.conf <-- Edit the configuration
./start.sh

On Fedora::
On Fedora ≥ 31 or CentOS 8::

git clone https://github.com/opencast/pyCA.git
cd pyCA
dnf copr enable lkiesow/python-sdnotify
dnf install python-pycurl python-dateutil python-configobj \
python-flask python-sqlalchemy python-sdnotify
vim etc/pyca.conf <-- Edit the configuration
./start.sh

On RHEL/CentOS 7 (we activate Python 3 for this)::

git clone https://github.com/opencast/pyCA.git
cd pyCA/
yum install centos-release-scl
yum install rh-python36 git gcc libcurl-devel.x86_64 nss-devel.x86_64
scl enable rh-python36 bash
python -m venv venv
dnf install gcc python3-devel libcurl-devel openssl-devel
python3 -m venv venv
. ./venv/bin/activate
export PYCURL_SSL_LIBRARY=nss
export PYCURL_SSL_LIBRARY=openssl
pip install -r requirements.txt
vim etc/pyca.conf <-- Edit the configuration
vim etc/pyca.conf <-- Edit the configuration
./start.sh

To restart pyCA later, reactivate the virtual environment by re-running
Expand Down

0 comments on commit 0e3e1e1

Please sign in to comment.