Deploy Openstack with RDO and Change VNC console to Spice
2024-08-27 04:39:53
Deploy Openstack with RDO and Change VNC console to Spice
host os:
centOS 7
serverconfig network and keep network working
here the IP address is192.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_democonfig 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
最新文章
- quicktest Professional下载地址,无限制使用方法
- IOS系列swift语言之课时二
- dotnet core 出现Can not find runtime target for framework '.NETCoreApp,Version=v1.6' 的解决办法
- bzoj4458: GTY的OJ
- mysql-data-dumper
- hdoj-2023
- Spring框架学习 - 配置
- (六)6.15 Neurons Networks Deep Belief Networks
- Careercup - Google面试题 - 5735304249999360
- POJ 3186 Treats for the Cows
- Jxl创建Excel文件和解析Excel文件
- php留言板
- 基于SpringBoot搭建应用开发框架(二) —— 登录认证
- Shell脚本备份数据库(多库)
- Linux学习之后台任务与定时任务(二十)
- java Object解析
- EF基础知识小记一
- ArcGIS for Android 点击选择
- linux、mac的bash和zsh如何切换
- brew install memcache get Error: Formulae found in multiple taps
热门文章
- Python 3中的str和bytes类型
- debug - vue中通过ajax获取数据时,如何避免绑定的数据中出现property of undefined错误
- 转:linux命令: tail ,head 显示文件某行内容 与sed在线编辑器
- java Ftp上传创建多层文件的代码片段
- PID控制算法的C语言实现三 位置型PID的C语言实现
- mac下php添加openssl扩展
- 三元组ADT (数据结构C语言版) C++实现
- 中南多校对抗赛 第三场 B
- Libevent学习笔记(五) 根据例子学习bufferevent
- 解决VS Code编译调试中文输出乱码