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
五 认识Dashboard
1 虚拟机管理器
2 实例
六 Demo登录
1 实例界面
七 参考