日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

centos7 安装配置openstack-dashboard (官网openstack-juno版)

發布時間:2025/5/22 编程问答 25 豆豆
生活随笔 收集整理的這篇文章主要介紹了 centos7 安装配置openstack-dashboard (官网openstack-juno版) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

感謝朋友支持本博客。歡迎共同探討交流。因為能力和時間有限。錯誤之處在所難免。歡迎指正!


假設轉載。請保留作者信息。
博客地址:http://blog.csdn.net/qq_21398167

原博文地址:http://blog.csdn.net/qq_21398167/article/details/47036395

System requirements

Before you install theOpenStack dashboard, you must meet the following system require-ments:

??OpenStack Compute installation.Enable the Identity Service for user and project man-agement.

Note the URLs of the IdentityService and Compute endpoints.

?? Identity Service user withsudo privileges. Because Apache does not serve content from a root user, usersmust run the dashboard as an Identity Service user with sudo privileges.[1]

Python 2.6 or 2.7. The Pythonversion must support Django. The Python version should run on any system,including Mac OS X. Installation prerequisites might differ by plat-form.

Then, install and configurethe dashboard on a node that can contact the Identity Service.

Provideusers with the following information so that they can access the dashboardthrough a web browser on their local machine:

???The public IP address fromwhich they can access the dashboard

???The user name and password withwhich they can access the dashboard

Your web browser, and that of your users, must support HTML5 andhave cookies and JavaScript enabled.


?Install the packages:

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

?To configure the dashboard

? Edit the /etc/openstack-dashboard/local_settings file and complete the following actions:

a.???????? Configure the dashboard to use OpenStack services on the controller node:

OPENSTACK_HOST = " controller'

b.??????? Allow all hosts to access the dashboard:

ALLOWED_HOSTS =? ['*']

c.???????? Configure the memcached session storage service:

CACHES = {

'default': {

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

MemcachedCache',

'LOCATION': '127.0.0.1:11211',

}

}

To finalize installation

1.???????On RHEL and CentOS, configureSELinux to permit the web server to connect to Open- Stack services:

#?? setsebool -P httpd_can_network_connect on

2.???????Due to a packaging bug, thedashboard CSS fails to load properly. Run the following command to resolve thisissue:

#?? chown -R apache:apache /usr/share/openstack-dashboard/static

For more information, see the bug report.

3.???????Start the web server andsession storage service and configure them to start when the system boots:

#?? systemctl enable httpd.service memcached.service

#?? systemctl start httpd.service memcached.service

Verify operation

This section describes how to verify operation ofthe dashboard.

1.????????Access the dashboard using aweb browser:http://controller/dashboard .

2.????????Authenticate using admin or demouser credentials.





----------------------------------------------------------------------------------------------------------------------------------------------------------------------

參考:H版本號


http://blog.csdn.net/qq_21398167/article/details/46385667


筆者是結合這兩個版本號一起搭建的環境并成功!




轉載于:https://www.cnblogs.com/lytwajue/p/6881722.html

總結

以上是生活随笔為你收集整理的centos7 安装配置openstack-dashboard (官网openstack-juno版)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。