Install the Apache Service
Fedora 21/RHEL7/CentOS7:
sudo yum install httpdFedora 22 (or higher):
sudo dnf install httpdDebian/Ubuntu:
apt-get install apache2
Copy etc/apache2/apache-karbor-api.conf
under the apache sites
Fedora/RHEL7/CentOS7:
sudo cp etc/apache2/apache-karbor-api.conf /etc/httpd/conf.d/apache-karbor-api.confDebian/Ubuntu:
sudo cp etc/apache2/apache-karbor-api.conf /etc/apache2/sites-available/apache-karbor-api.conf
Edit apache-karbor-api.conf
according to installation
and environment.
WSGIDaemonProcess
directive to set the user
and
group
values to appropriate user on your server.WSGIScriptAlias
directive to point to the
%KARBOR_BIN_DIR%/karbor-wsgi script.Directory
directive to set the path to the Karbor API
code.ErrorLog and CustomLog
to redirect the logs to the right
directory.Enable the apache watcher site and reload
Fedora/RHEL7/CentOS7:
sudo systemctl reload httpdDebian/Ubuntu:
sudo a2ensite apache-karbor-api sudo apache2ctl -k restart
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.