欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Dashboad手动安装

程序员文章站 2024-03-17 13:25:58
...
在控制节点安装Dashboard
一 安装Dashboard包
[[email protected] ~]# yum install memcached python-memcached mod_wsgi openstack-dashboard

二 配置local_settings文件,修改下面4个地方
[[email protected] ~]# cat /etc/openstack-dashboard/local_settings
DEBUG = True   //第1个地方
ALLOWED_HOSTS = ['localhost']       //第2个地方
//第3个地方
CACHES = {
    'default': {
        'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache',
        'LOCATION' : '127.0.0.1:11211',
    }
}
OPENSTACK_HOST = "controller0"    //第4个地方

三 启动Dashboard相关服务
[[email protected] ~]# service httpd start
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 10.20.0.10 for ServerName
                                                           [  OK  ]
[[email protected] ~]# service memcached start
Starting memcached:                                        [  OK  ]
[[email protected] ~]# chkconfig httpd on
[[email protected] ~]# chkconfig memcached on

四 打开浏览器验证:admin,密码admin
Dashboad手动安装

五 认识Dashboard
1 虚拟机管理器
Dashboad手动安装
2 实例
Dashboad手动安装

六 Demo登录
1 实例界面
Dashboad手动安装
七 参考
相关标签: Openstack