9.OpenStack安装web界面

  • Post author:
  • Post category:其他


安装仪表板

安装仪表板组件

yum install -y openstack-dashboard httpd mod_wsgi memcached python-memcached

编辑/etc/openstack-dashboard/local_settings

vim /etc/openstack-dashboard/local_settings
OPENSTACK_HOST = "controller"

ALLOWED_HOSTS = ['*']

CACHES = {

'default': {

'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',

'LOCATION': '127.0.0.1:11211',

}

}

TIME_ZONE = " Asia/Shanghai"

完成安装

setsebool -P httpd_can_network_connect on
chown -R apache:apache /usr/share/openstack-dashboard/static
systemctl enable httpd.service memcached.service
systemctl restart httpd.service memcached.service

验证

http://192.168.116.8/dashboard

转载于:https://www.cnblogs.com/cainiaoit/p/6571051.html