Merge "Fixes "a2ensite" command arg and adds mod_wsgi package installation" into stable/train

This commit is contained in:
Zuul 2020-03-22 11:51:36 +00:00 committed by Gerrit Code Review
commit 689f33b0ba
1 changed files with 10 additions and 7 deletions

View File

@ -10,18 +10,21 @@ Installing API behind mod_wsgi
#. Install the Apache Service::
Fedora 21/RHEL7/CentOS7:
sudo yum install httpd
RHEL7/CentOS7:
sudo yum install httpd mod_wsgi
Fedora 22 (or higher):
sudo dnf install httpd
RHEL8/CentOS8:
sudo dnf install httpd python3-mod_wsgi
Fedora:
sudo dnf install httpd mod_wsgi
Debian/Ubuntu:
apt-get install apache2
sudo apt-get install apache2 libapache2-mod-wsgi-py3
#. Copy ``etc/apache2/trove`` under the apache sites::
Fedora/RHEL7/CentOS7:
Fedora/RHEL/CentOS:
sudo cp etc/apache2/trove /etc/httpd/conf.d/trove-api.conf
Debian/Ubuntu:
@ -45,5 +48,5 @@ Installing API behind mod_wsgi
sudo systemctl reload httpd
Debian/Ubuntu:
sudo a2ensite trove
sudo a2ensite trove-api
sudo service apache2 reload