
The yum command has been replaced by the dnf command in recent releases of Fedora-based distributions. Use the native command instead of the alias kept for compatibility. Also fix a few descriptions for quite old releases. Change-Id: Ieb9090347a4d1e18ca98c6374cafc7ad66a4b5d7
1.5 KiB
1.5 KiB
Install and configure for Red Hat Enterprise Linux and CentOS
This section describes how to install and configure the Key Manager service for Red Hat Enterprise Linux 7 and CentOS 7.
Install and configure components
Install the packages:
# dnf install openstack-barbican-api
Finalize installation
Create the
/etc/httpd/conf.d/wsgi-barbican.conf
file with the following content:<VirtualHost [::1]:9311> controller ServerName ## Logging "/var/log/httpd/barbican_wsgi_main_error_ssl.log" ErrorLogLogLevel debug ServerSignature Off "/var/log/httpd/barbican_wsgi_main_access_ssl.log" combined CustomLog WSGIApplicationGroup %{GLOBAL}=barbican processes=2 threads=8 user=barbican WSGIDaemonProcess barbican-api display-name=barbican-api group WSGIProcessGroup barbican-api WSGIScriptAlias / "/usr/lib/python3.9/site-packages/barbican/api/app.wsgi" WSGIPassAuthorization On</VirtualHost>
Start the Apache HTTP service and configure it to start when the system boots:
# systemctl enable httpd.service # systemctl start httpd.service