OpenStack-liberty版Dashboard部署(七)

安装Dashbord:
[root@hostnamelinux-node1 ~]# yum -y install openstack-dashboard

配置Dashbord:

[root@hostnamelinux-node1 ~]# vim /etc/openstack-dashboard/local_settings
OPENSTACK_HOST = "192.168.56.11"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"
ALLOWED_HOSTS = ['*',]
CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
        'LOCATION': '127.0.0.1:11211',
    }
}
OPENSTACK_HYPERVISOR_FEATURES = {
    'can_set_mount_point': True,
    'can_set_password': True,
    'requires_keypair': True,
}
TIME_ZONE = "Asia/Shanghai"

重启httpd:
[root@hostnamelinux-node1 ~]# systemctl restart httpd

通过浏览器访问Dashbord;

[root@hostnamelinux-node1 ~]# cat /etc/httpd/conf.d/openstack-dashboard.conf 
WSGIDaemonProcess dashboard
WSGIProcessGroup dashboard
WSGISocketPrefix run/wsgi

WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
Alias /dashboard/static /usr/share/openstack-dashboard/static

<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
  Options All
  AllowOverride All
  Require all granted
</Directory>

<Directory /usr/share/openstack-dashboard/static>
  Options All
  AllowOverride All
  Require all granted
</Directory>

账号demo,密码demo;
OpenStack-liberty版Dashboard部署(七)

vnc监听地址5900;

[root@hostname linux-node2 ~]# netstat -tnlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN      15151/qemu-kvm      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1273/sshd           
tcp6       0      0 :::22                   :::*                    LISTEN      1273/sshd    

novncproxy监听端口6080;

[root@hostnamelinux-node1 ~]# netstat -tnlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:15672           0.0.0.0:*               LISTEN      970/beam.smp        
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1381/master         
tcp        0      0 0.0.0.0:6080            0.0.0.0:*               LISTEN      2567/python2        
tcp        0      0 0.0.0.0:9696            0.0.0.0:*               LISTEN      2306/python2        
tcp        0      0 0.0.0.0:8774            0.0.0.0:*               LISTEN      2570/python2        
tcp        0      0 0.0.0.0:8775            0.0.0.0:*               LISTEN      2570/python2        
tcp        0      0 0.0.0.0:9191            0.0.0.0:*               LISTEN      977/python2         
tcp        0      0 0.0.0.0:25672           0.0.0.0:*               LISTEN      970/beam.smp        
tcp        0      0 0.0.0.0:11211           0.0.0.0:*               LISTEN      968/memcached       
tcp        0      0 0.0.0.0:9292            0.0.0.0:*               LISTEN      981/python2         
tcp        0      0 0.0.0.0:4369            0.0.0.0:*               LISTEN      1/systemd           
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      975/sshd            
tcp6       0      0 ::1:25                  :::*                    LISTEN      1381/master         
tcp6       0      0 :::35357                :::*                    LISTEN      1920/httpd          
tcp6       0      0 :::5672                 :::*                    LISTEN      970/beam.smp        
tcp6       0      0 :::5000                 :::*                    LISTEN      1920/httpd          
tcp6       0      0 :::3306                 :::*                    LISTEN      1296/mysqld         
tcp6       0      0 ::1:11211               :::*                    LISTEN      968/memcached       
tcp6       0      0 :::80                   :::*                    LISTEN      1920/httpd          
tcp6       0      0 :::22                   :::*                    LISTEN      975/sshd  

官方镜像地址:
https://docs.openstack.org/image-guide/obtain-images.html

转载于:https://blog.51cto.com/smoke520/2298500

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值