Deploy Openstack with RDO and Change VNC console to Spice

  • host os: centOS 7 server

  • config network and keep network working

    here the IP address is 192.168.122.148

  • install openstack using RDO

sudo yum update -y
#install liberty default
sudo yum install -y https://rdoproject.org/repos/rdo-release.rpm
sudo yum install -y openstack-packstack
packstack --allinone
  • login to http://$YOURIP/dashboard with admin or demo

    password is in /root/keystonerc_admin or keystonerc_demo

  • config spice manually

    stop vnc service and comment the vnc related configuration

systemctl stop openstack-nova-novncproxy.service
 # /etc/nova/nova.conf
[DEFAULT]
#novncproxy_host=0.0.0.0
#novncproxy_port=6080
#novncproxy_base_url=http://192.168.122.148:6080/vnc_auto.html
#vncserver_listen=0.0.0.0
#vncserver_proxyclient_address=192.168.122.148
vnc_enabled=False
  • install spice service
yum install spice-html5
yum install openstack-nova-spicehtml5proxy
  • config spice
# /etc/nova/nova.conf
[spice]
html5proxy_host=0.0.0.0
html5proxy_port=6082
html5proxy_base_url=http://192.168.122.148:6082/spice_auto.html
server_listen=0.0.0.0
enabled=True
agent_enabled=true
keymap=en-us
  • open the spice port
iptables -I INPUT -p tcp -m multiport --dports 6082 -m comment --comment "Allow SPICE connections for console access " -j ACCEPT
  • restart services
service openstack-nova-compute restart
service httpd restart
systemctl enable openstack-nova-spicehtml5proxy
systemctl start openstack-nova-spicehtml5proxy.service
service openstack-nova-spicehtml5proxy status
  • check instance's spice port
ps -ef | grep spice | grep port

最新文章

  1. quicktest Professional下载地址,无限制使用方法
  2. IOS系列swift语言之课时二
  3. dotnet core 出现Can not find runtime target for framework '.NETCoreApp,Version=v1.6' 的解决办法
  4. bzoj4458: GTY的OJ
  5. mysql-data-dumper
  6. hdoj-2023
  7. Spring框架学习 - 配置
  8. (六)6.15 Neurons Networks Deep Belief Networks
  9. Careercup - Google面试题 - 5735304249999360
  10. POJ 3186 Treats for the Cows
  11. Jxl创建Excel文件和解析Excel文件
  12. php留言板
  13. 基于SpringBoot搭建应用开发框架(二) —— 登录认证
  14. Shell脚本备份数据库(多库)
  15. Linux学习之后台任务与定时任务(二十)
  16. java Object解析
  17. EF基础知识小记一
  18. ArcGIS for Android 点击选择
  19. linux、mac的bash和zsh如何切换
  20. brew install memcache get Error: Formulae found in multiple taps

热门文章

  1. Python 3中的str和bytes类型
  2. debug - vue中通过ajax获取数据时,如何避免绑定的数据中出现property of undefined错误
  3. 转:linux命令: tail ,head 显示文件某行内容 与sed在线编辑器
  4. java Ftp上传创建多层文件的代码片段
  5. PID控制算法的C语言实现三 位置型PID的C语言实现
  6. mac下php添加openssl扩展
  7. 三元组ADT (数据结构C语言版) C++实现
  8. 中南多校对抗赛 第三场 B
  9. Libevent学习笔记(五) 根据例子学习bufferevent
  10. 解决VS Code编译调试中文输出乱码