System Requirements
Before you install Theopenstack Dashboard, you must meet the following system require-ments:
? OpenStack Compute installation. Enable the Identity Service for user and project Man-agement.
Note the URLs of the Identityservice and Compute endpoints.
? Identity Service User Withsudo privileges. Because Apache does not serve content from a root user, Usersmust run the dashboard as an Identity Service user with sudo privileges. [1]
Python 2.6 or 2.7. The pythonversion must support Django. The Python version should run on any system,including Mac OS X. Installation prerequisites might differ by plat-form.
Then, install and configurethe Dashboard to a node that can contact the Identity Service.
Provideusers with the following information so, they can access the Dashboardthrough a Web browser on their local Mach Ine
? the public IP address Fromwhich They can access the dashboard
? the user name and password Withwhich They can access the dashboard
Your Web browser, and that of Your users, must support HTML5 andhave cookies and JavaScript enabled.
Install the Packages:
# yum Install openstack-dashboard httpd mod_wsgi memcached python-memcached
To configure the Dashboard ? Edit the /etc/openstack-dashboard/local_settings file and complete the following actions: A. Configure the Dashboard to use OpenStack services on the controller node: Openstack_host = "Controller" B. allow all hosts to access the dashboard: allowed_hosts = [' * '] c. Configure the memcached session storage service: CACHES = { ' Default ': { ' Backend ': ' django.core.cache.backends.memcached. Memcachedcache ', ' Location ': ' 127.0.0.1:11211 ', } }
|
To finalize Installation
1. on RHEL and CentOS, Configureselinux to permit the Web server to connect to Open-stack services:
# setsebool-p Httpd_can_network_connect on
2. Due to a packaging bugs, Thedashboard CSS fails to load properly. Run The following command to resolve Thisissue:
# chown-r apache:apache/usr/share/openstack-dashboard/static
For more information, see the bug in report.
3. start the Web server andsession storage service and configure them to Start when the system boots:
# Systemctl Enable Httpd.service Memcached.service
# Systemctl Start Httpd.service Memcached.service
Verify operation
This sections describes how to verify operation ofthe Dashboard.
1. Access the dashboard using aweb browser:http://controller/dashboard .
2. authenticate using admin or DemoUser credentials.
--------------------------------------------------------------------------------------------------------------- -------------------------------------------------------
Reference: Version H
http://blog.csdn.net/qq_21398167/article/details/46385667
The author is combined with these two versions of the environment built together and successful!
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
CENTOS7 installation Configuration Openstack-dashboard (official website Openstack-juno version)