6df94a272c
The path of the 'local_settings' file is not right in "http://docs.openstack.org/kilo/config-reference/content/configure-dashboard.html". The path of the 'local_settings' file is different under different Linux versions. This patch give the specific path of the "local_settings".o Change-Id: I1dcea4e58d20f7c8cc2a1c397d75ac3e6a667486 Closes-bug: #1502609
41 lines
2.3 KiB
XML
41 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
version="5.0"
|
|
xml:id="configure-dashboard-http">
|
|
<title>Configure the dashboard for HTTP</title>
|
|
<?dbhtml stop-chunking?>
|
|
<para>You can configure the dashboard for a simple HTTP deployment. The standard installation
|
|
uses a non-encrypted HTTP channel.</para>
|
|
<procedure xml:id="dashboard-config-http">
|
|
<step>
|
|
<para>Specify the host for your OpenStack Identity
|
|
Service endpoint in the <filename>local_settings</filename> file(on Fedora/RHEL/
|
|
CentOS: <filename>/etc/openstack-dashboard/local_settings</filename>,
|
|
on Ubuntu and Debian: <filename>/etc/openstack-dashboard/local_settings.py</filename>,
|
|
and on openSUSE: <filename>/srv/www/openstack-dashboard/openstack_dashboard/local/local_settings.py</filename>)
|
|
with the <literal>OPENSTACK_HOST</literal>
|
|
setting.</para>
|
|
<para>The following example shows this setting:</para>
|
|
<programlisting language="python"><?db-font-size 65%?><xi:include parse="text" href="samples/local_settings.py"/></programlisting>
|
|
<para>The service catalog configuration in the
|
|
Identity Service determines whether a service appears
|
|
in the dashboard. For the full listing, see
|
|
<link
|
|
xlink:href="http://docs.openstack.org/developer/horizon/topics/settings.html"
|
|
>Horizon Settings and
|
|
Configuration</link>.</para>
|
|
</step>
|
|
<step>
|
|
<para>Restart Apache http server. For Ubuntu/Debian/SUSE:</para>
|
|
<screen><prompt>#</prompt> <userinput>service apache2 restart</userinput></screen>
|
|
<para>or for Fedora/RHEL/CentOS:</para>
|
|
<screen><prompt>#</prompt> <userinput>service httpd restart</userinput></screen>
|
|
<para>Next, restart memcached:</para>
|
|
<screen><prompt>#</prompt> <userinput>service memcached restart</userinput></screen>
|
|
</step>
|
|
</procedure>
|
|
</section>
|
|
|