To install the dashboard components
- Install the packages:
# yum install openstack-dashboard httpd mod_wsgi memcached python-memcached
To configure the dashboard
- Edit the
/etc/openstack-dashboard/local_settingsfile and complete the following actions:
- Configure the dashboard to use OpenStack services on the
controllernode:
1OPENSTACK_HOST="controller" - Allow all hosts to access the dashboard:
1ALLOWED_HOSTS='*' - Configure the memcached session
storage service:
123456CACHES={'default': {'BACKEND':'django.core.cache.backends.memcached.MemcachedCache','LOCATION':'127.0.0.1:11211',}}![[Note]](http://docs.openstack.org/kilo/install-guide/install/yum/common/images/admon/note.png)
Note Comment out any other session storage configuration. - Configure
useras the default role for users that you create via the dashboard:
1OPENSTACK_KEYSTONE_DEFAULT_ROLE="user" - Optionally, configure the time zone:
Replace1TIME_ZONE="TIME_ZONE"TIME_ZONEwith an appropriate time zone identifier. For more information, see the list of time zones.
- Configure the dashboard to use OpenStack services on the
To finalize installation
- On RHEL and CentOS, configure SELinux to permit the web server
to connect to OpenStack services:
# setsebool -P httpd_can_network_connect on
- Due to a packaging bug, the dashboard CSS fails to load properly.
Run the following command to resolve this issue:
# chown -R apache:apache /usr/share/openstack-dashboard/static
For more information, see the bug report. - Start the web server and session storage service and configure
them to start when the system boots:
# systemctl enable httpd.service memcached.service # systemctl start httpd.service memcached.service
# service httpd restart
if any problem when restarting, check :
# systemctl status httpd.service -l
Access the dashboard using a web browser:http://controller/dashboard
No comments:
Post a Comment