###openstack-ocata 单节点安装 部署 目录汇总
一 安装dashboard 服务
yum install openstack-dashboard -y
--------------------------------------------------------------------------------
二 配置界面文件
vim /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"
三启动dashboard服务
systemctl restart httpd.service memcached.service
systemctl status httpd.service memcached.service
四 验证
192.168.62.100/dashboard
域为defaulst
用户名密码为 admin ADMIN_PASS
原文地址:https://www.cnblogs.com/yypr/p/10042317.html