设为首页 收藏本站
查看: 1124|回复: 0

[经验分享] centos7 安装配置openstack-dashboard (官网openstack-juno版)

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2017-6-26 18:37:25 | 显示全部楼层 |阅读模式
  感谢朋友支持本博客。欢迎共同探讨交流。因为能力和时间有限。错误之处在所难免。欢迎指正!
  
假设转载。请保留作者信息。
博客地址: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 prerequisitesmight 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
  

  笔者是结合这两个版本号一起搭建的环境并成功!
  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-388330-1-1.html 上篇帖子: OpenStack安装部署(二) 下篇帖子: OVS VxLAN Flow 分析
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表