zoukankan      html  css  js  c++  java
  • openstack 启用spice

    Openstack启用spice协议

    #控制节点

    #安装

    1
    apt-get install nova-spiceproxy spice-html5 spice-vdagent

    #配置 nano /etc/nova/nova.conf

    1
    2
    3
    4
    5
    6
    7
    8
    9
    # Vnc configuration
    #vnc_enabled=false
    [spice]
    enabled=true
    html5proxy_base_url=http://192.168.29.81:6082/spice_auto.html
    keymap=en-us
    server_listen=0.0.0.0
    server_proxyclient_address=192.168.29.81
    agent_enabled=false

    #重启nova

    1
    cd /usr/bin/;for in $(ls nova-*);do sudo service $i restart;done

    #计算节点

    #安装

    1
    apt-get install spice-vdagent

    #配置 nano /etc/nova/nova.conf

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    vnc_enabled=false
    novnc_enabled=false
    [spice]
    agent_enabled=true
    enabled=true
    html5proxy_base_url=http://192.168.29.81:6082/spice_auto.html
    keymap=en-us
    server_listen=0.0.0.0
    server_proxyclient_address=192.168.29.92
    agent_enabled=false

    #重启nova

    1
    cd /usr/bin/;for in $(ls nova-*);do sudo service $i restart;done

    #可以到计算节点查看指定主机的端口,默认是5900

    1
    ps aux | grep spice
  • 相关阅读:
    AppleID的双重认证
    swift 分组tableview 设置分区投或者尾部,隐藏默认间隔高度
    swift 警告框
    数组
    循环结构(二)
    循环结构
    选择结构
    选择结构
    变量 数据类型和运算符
    (五)Spring 中的 aop
  • 原文地址:https://www.cnblogs.com/ruiy/p/4950194.html
Copyright © 2011-2022 走看看