1.Install and configure
Install and configure components
yum install openstack-dashboard
/etc/openstack-dashboard/local_settings
OPENSTACK_HOST = "controller"
ALLOWED_HOSTS = ['*', ]
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'controller:11211',
}
}
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_API_VERSIONS = {
"identity": 3,
"image": 2,
"volume": 2,
}
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "default"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"
TIME_ZONE = "TIME_ZONE" #Replace TIME_ZONE with an appropriate time zone identifier
Finalize installation
systemctl restart httpd.service memcached.service
Verify operation
http://controller/dashboard

本文介绍如何通过YUM安装并配置OpenStack仪表盘(Horizon),包括设置关键的环境变量、缓存机制及API版本等。最后通过重启服务验证安装配置是否成功。
8118

被折叠的 条评论
为什么被折叠?



