手动安装liberty版本openstack环境(allinone)---安装dashboard

作者:【吴业亮】云计算开发工程师
博客:http://blog.csdn.net/wylfengyujiancheng
1、安装dashboard服务

# yum install openstack-dashboard httpd mod_wsgi \ 
memcached pythonmemcached -y

2、修改配置文件/etc/openstack-dashboard/local_settings
a、配置dashboard运行在controller上(controller为OS主机名)

OPENSTACK_HOST = "controller"

b、配置允许登陆dashboard的主机

ALLOWED_HOSTS = '*'

c、配置存储服务

CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
        'LOCATION': '127.0.0.1:11211',
    }
}

注意:注释掉其他的caches
d、配置默认用dashboard创建的用户默认角色

OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"

3、启动dashboard服务并设置开机启动

# systemctl enable httpd.service memcached.service
# systemctl start httpd.service memcached.service

你可能感兴趣的:(openstack,dashboard,liberty,手动安装)