Skip to content

安装及配置Dashboard服务

安装Dashboard软件包

yum -y install openstack-dashboard

配置Dashboard服务

cp /etc/openstack-dashboard/local_settings /etc/openstack-dashboard/local_settings.back
rm -rf /etc/openstack-dashboard/local_settings
wget https://www.000linlin.link/HmDHkubXiFxUolinlinkRWB2QCNyUj3/local_settings -O /etc/openstack-dashboard/local_settings

发布Dashboard服务

重建Dashboard的web应用服务

进入dashboard网站目录

cd /usr/share/openstack-dashboard

编译出web文件

python manage.py make_web_conf --apache > /etc/httpd/conf.d/openstack-dashboard.conf

查看文件

cat /etc/httpd/conf.d/openstack-dashboard.conf

建立策略文件的软连接

ls /etc/openstack-dashboard
ln -s /etc/openstack-dashboard /usr/share/openstack-dashboard/openstack_dashboard/conf
ll /usr/share/openstack-dashboard/openstack_dashboard/

重启启动apache服务器,使配置文件生效

systemctl restart memcached      #控制节点执行
systemctl start httpd && systemctl enable httpd
systemctl status httpd

检测Dashboard服务,浏览器访问计算节点IP,输入Default,admin,000000登录

所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自linlink~文档