虚拟机ubuntu14.04搭建licode环境
Licode是基于webrtc开发的一套系统,可以方便的实现网页音视频开发的功能。下面就是其在乌班图系统下的安装和编译。
1、安装好ubuntu14.04的桌面版,这里我是64位。
2、安装好jdk1.7这里我是64位。
3、配置ubuntu开发环境:
一.安装C/C++程序的开发环境1.sudoapt-getinstallbuild-essential//安装主要编译工具gcc,g++,make
2.sudoapt-getinstallautoconfautomake1.93.sudoapt-getinstallflexbison
4.sudoapt-getinstallmanpages-dev//安装C语言函数man文档5.sudoapt-getinstallbinutils-doccpp-docgcc-docglibc-docstl-manual//安装相关文档
二.安装Gnome桌面程序的开发环境1.sudoapt-getinstallgnome-core-devel//安装核心文件
2.sudoapt-getinstallpkg-config3.sudoapt-getinstalldevhelp//安装GTK文档查看程序
4.sudoapt-getinstalllibglib2.0-doclibgtk2.0-doc//安装API参考手册及其它帮助文档5.sudoapt-getinstalgladelibglade2-dev//安装GTK界面构造程序
centos环境:环境:
yuminstallgccgcc-c++gcc-g77flexbisonautoconfautomakebzip2-develzlib-develncurses-devellibjpeg-devellibpng-devellibtiff-develfreetype-develpam-developenssl-devellibxml2-develgettext-develpcre-devel
4、按照官网的顺序执行,应该不会有什么问题:
01.sudoapt-getinstallgit02.gitclonehttps://github.com/ging/licode.git
03../licode/scripts/installUbuntuDeps.sh04../licode/scripts/installErizo.sh
05../licode/scripts/installNuve.sh06../licode/scripts/installBasicExample.sh
5、运行licode和例子,分别在两个终端执行,或者后台执行:
01../licode/scripts/initLicode.sh02../licode/scripts/initBasicExample.sh
6、在浏览器地址:localhost:3001,允许访问麦克风和摄像头就行了。
7.源码地址:lynckia.com/licode/install.html
|
|