openstack Q版部署-----界面horizon安裝(9)
阿新 • • 發佈:2019-01-24
roo ash sta linu cati memcached sts ack cache
控制節點安裝軟件包
yum install openstack-dashboard -y
[root@linux-node1 ~]# vim /etc/openstack-dashboard/local_settings
#按照下面幾行進行配置修改
OPENSTACK_HOST = "192.168.1.17" #更改為keystone機器地址
OPENSTACK_KEYSTONE_DEFAULT_ROLE =
"user" #默認的角色
ALLOWED_HOSTS = [‘*‘]
#允許所有主機訪問
CACHES = {
‘default‘: {
‘BACKEND‘:
‘django.core.cache.backends.memcached.MemcachedCache‘,
‘LOCATION‘: ‘192.168.1.17:11211‘,
#連接memcached
}
}
#CACHES = {
# ‘default‘: {
# ‘BACKEND‘: ‘django.core.cache.backends.locmem.LocMemCache‘,
# }
#}
TIME_ZONE = "Asia/Shanghai"
#設置時區
重啟 httpd 服務
[root@linux-node1 ~]# systemctl restart httpd
openstack Q版部署-----界面horizon安裝(9)