spice-html5部署
2013-10-22 15:55
316 查看
1、安装websockify
git clone https://github.com/kanaka/websockify.git
cd websockify
python setup.py install
(如果报错,可能是python相关的模块缺
yum install python-setuptools
easy_install ****)
./websockify.py port hostip:hostport
此处:
port为本地websockify代理端口
hostip为spice server所在服务器端口
hostport为spice server端口
2、安装spice-html5(根据负载、架构等也可以部署在与websockify不同的主机上)
git clone git://anongit.freedesktop.org/spice/spice-html5
ln -s spice.html index.html
3、安装httpd,并配置
yum install httpd
vi /etc/httpd/conf/httpd.conf
DocumentRoot "*****" (spice-html5目录)
service httpd restart
4、使用
启动firefox
浏览器输入spice-html5所在ip
界面上:
host为websockify所在ip
port为websockify代理端口
enjoy it
git clone https://github.com/kanaka/websockify.git
cd websockify
python setup.py install
(如果报错,可能是python相关的模块缺
yum install python-setuptools
easy_install ****)
./websockify.py port hostip:hostport
此处:
port为本地websockify代理端口
hostip为spice server所在服务器端口
hostport为spice server端口
2、安装spice-html5(根据负载、架构等也可以部署在与websockify不同的主机上)
git clone git://anongit.freedesktop.org/spice/spice-html5
ln -s spice.html index.html
3、安装httpd,并配置
yum install httpd
vi /etc/httpd/conf/httpd.conf
DocumentRoot "*****" (spice-html5目录)
service httpd restart
4、使用
启动firefox
浏览器输入spice-html5所在ip
界面上:
host为websockify所在ip
port为websockify代理端口
enjoy it
相关文章推荐
- 微物业 后台部署代码、微信html5代码、webapi接口代码、数据库文件下载地址
- 将html5项目部署到tomcat上,并实现安卓手机访问
- HTML5 离线缓存demo在tomcat下的部署
- Cocos2d-html5 通过apache ant编译成web应用以便部署到服务器
- HTML5离线缓存在tomcat下部署可实现图片flash等离线浏览
- html5离线应用流程介绍 (含 apache2下部署的配置离线应用搭建实例)
- html5离线应用流程介绍 (含 apache2下部署的配置离线应用搭建实例)
- LEADTOOLS HTML5 Medical Viewer(云PACS)本地部署指南
- HTML5 离线缓存demo在tomcat下的部署
- HTML5学习---新新手怎样在云主机上部署html5项目
- 在Linux(ubuntu 14.04)上部署WeX5跨平台App(HTML5)
- 基于引擎开发HTML5游戏实战(五)---游戏部署
- 微教务 后台部署代码、微信html5代码、webapi接口代码、数据库文件下载地址
- 将html5项目部署到tomcat上,并实现安卓手机访问
- 微后勤 后台部署代码、微信html5代码、webapi接口代码、数据库文件下载地址
- 将html5项目部署到tomcat上,并实现安卓手机访问
- Windows 网络服务架构系列课程详解(三) ---------Web站点的部署方案 推荐
- 《Pro HTML5 Programming》Web Storage[1]
- HTML5中的新标签和新事件属性(Tags and Event Attributes)
- 用HTML5 Canvas 实现的 时钟