[install] use .. code-block:: instead of ::
Change-Id: I2a948b37d9855c8eaee5b5e4f484101b91483d75 Implements: blueprint installguide-liberty
This commit is contained in:
@@ -36,7 +36,7 @@ create a MongoDB database, service credentials, and API endpoint.
|
||||
You should verify the fingerprint of the imported GPG key before
|
||||
using it.
|
||||
|
||||
::
|
||||
.. code-block:: console
|
||||
|
||||
Key Name: server:database OBS Project <server:database@build.opensuse.org>
|
||||
Key Fingerprint: 116EB86331583E47E63CDF4D562111AC05905EA8
|
||||
|
@@ -133,7 +133,9 @@ environment. For more information, see :ref:`environment`.
|
||||
``/etc/lvm/lvm.conf`` file and complete the following actions:
|
||||
|
||||
* In the ``devices`` section, add a filter that accepts the
|
||||
``/dev/sdb`` device and rejects all other devices::
|
||||
``/dev/sdb`` device and rejects all other devices:
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
devices {
|
||||
...
|
||||
|
@@ -22,27 +22,35 @@ To install the dashboard components
|
||||
|
||||
.. only:: obs
|
||||
|
||||
* Install the packages::
|
||||
* Install the packages:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# zypper install openstack-dashboard apache2-mod_wsgi \
|
||||
memcached python-python-memcached
|
||||
|
||||
.. only:: rdo
|
||||
|
||||
* Install the packages::
|
||||
* Install the packages:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# yum install openstack-dashboard httpd mod_wsgi \
|
||||
memcached python-memcached
|
||||
|
||||
.. only:: ubuntu
|
||||
|
||||
* Install the packages::
|
||||
* Install the packages:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# apt-get install openstack-dashboard
|
||||
|
||||
.. only:: debian
|
||||
|
||||
* Install the packages::
|
||||
* Install the packages:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# apt-get install openstack-dashboard-apache
|
||||
|
||||
@@ -68,7 +76,9 @@ To configure the dashboard
|
||||
|
||||
.. only:: obs
|
||||
|
||||
* Configure the web server::
|
||||
* Configure the web server:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# cp /etc/apache2/conf.d/openstack-dashboard.conf.sample \
|
||||
/etc/apache2/conf.d/openstack-dashboard.conf
|
||||
@@ -87,15 +97,21 @@ To configure the dashboard
|
||||
file and complete the following actions:
|
||||
|
||||
* Configure the dashboard to use OpenStack services on the
|
||||
``controller`` node::
|
||||
``controller`` node:
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
OPENSTACK_HOST = "controller"
|
||||
|
||||
* Allow all hosts to access the dashboard::
|
||||
* Allow all hosts to access the dashboard:
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
ALLOWED_HOSTS = '*'
|
||||
|
||||
* Configure the ``memcached`` session storage service::
|
||||
* Configure the ``memcached`` session storage service:
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
CACHES = {
|
||||
'default': {
|
||||
@@ -117,11 +133,15 @@ To configure the dashboard
|
||||
to use ``memcached`` for session storage.
|
||||
|
||||
* Configure ``user`` as the default role for
|
||||
users that you create via the dashboard::
|
||||
users that you create via the dashboard:
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"
|
||||
|
||||
* Optionally, configure the time zone::
|
||||
* Optionally, configure the time zone:
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
TIME_ZONE = "TIME_ZONE"
|
||||
|
||||
@@ -135,14 +155,18 @@ To finalize installation
|
||||
.. only:: rdo
|
||||
|
||||
On RHEL and CentOS, configure SELinux to permit the web server
|
||||
to connect to OpenStack services::
|
||||
to connect to OpenStack services:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# setsebool -P httpd_can_network_connect on
|
||||
|
||||
.. only:: rdo
|
||||
|
||||
Due to a packaging bug, the dashboard CSS fails to load properly.
|
||||
Run the following command to resolve this issue::
|
||||
Run the following command to resolve this issue:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# chown -R apache:apache /usr/share/openstack-dashboard/static
|
||||
|
||||
@@ -151,14 +175,18 @@ To finalize installation
|
||||
|
||||
.. only:: ubuntu
|
||||
|
||||
Reload the web server configuration::
|
||||
Reload the web server configuration:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# service apache2 reload
|
||||
|
||||
.. only:: obs
|
||||
|
||||
Start the web server and session storage service and configure
|
||||
them to start when the system boots::
|
||||
them to start when the system boots:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# systemctl enable apache2.service memcached.service
|
||||
# systemctl start apache2.service memcached.service
|
||||
@@ -170,7 +198,9 @@ To finalize installation
|
||||
.. only:: rdo
|
||||
|
||||
Start the web server and session storage service and configure
|
||||
them to start when the system boots::
|
||||
them to start when the system boots:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# systemctl enable httpd.service memcached.service
|
||||
# systemctl start httpd.service memcached.service
|
||||
|
@@ -102,7 +102,7 @@ these procedures on all nodes.
|
||||
The packages are signed by GPG key 893A90DAD85F9316. You should
|
||||
verify the fingerprint of the imported GPG key before using it.
|
||||
|
||||
::
|
||||
.. code-block:: console
|
||||
|
||||
Key ID: 893A90DAD85F9316
|
||||
Key Name: Cloud:OpenStack OBS Project <Cloud:OpenStack@build.opensuse.org>
|
||||
@@ -172,9 +172,9 @@ Finalize the installation
|
||||
|
||||
* Upgrade the packages on your system:
|
||||
|
||||
::
|
||||
.. code-block:: console
|
||||
|
||||
$ zypper refresh && zypper dist-upgrade
|
||||
# zypper refresh && zypper dist-upgrade
|
||||
|
||||
.. note::
|
||||
|
||||
|
@@ -22,11 +22,15 @@ Orchestration module, code-named heat, on the controller node.
|
||||
|
||||
$ mysql -u root -p
|
||||
|
||||
* Create the ``heat`` database::
|
||||
* Create the ``heat`` database:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
CREATE DATABASE heat;
|
||||
|
||||
* Grant proper access to the ``heat`` database::
|
||||
* Grant proper access to the ``heat`` database:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
GRANT ALL PRIVILEGES ON heat.* TO 'heat'@'localhost' \
|
||||
IDENTIFIED BY 'HEAT_DBPASS';
|
||||
|
Reference in New Issue
Block a user