1、安装好ubuntu16.04(ubuntu-16.04.6-desktop-amd64)的桌面版
2、配置ubuntu开发环境:
2.1 安装C/C++程序的开发环境
1. sudo apt-get install build-essential //安装主要编译工具 gcc, g++, make
2. sudo apt-get install autoconf automake1.9
3. sudo apt-get install flex bison
4. sudo apt-get install manpages-dev //安装C语言函数man文档
5. sudo apt-get install binutils-doc cpp-doc gcc-doc glibc-doc stl-manual //安装相关文档
2.2 安装Gnome桌面程序的开发环境
1. sudo apt-get install gnome-core-devel //安装核心文件
2. sudo apt-get install pkg-config
3. sudo apt-get install devhelp //安装GTK文档查看程序
4. sudo apt-get install libglib2.0-doc libgtk2.0-doc //安装 API参考手册及其它帮助文档
5. sudo apt-get install glade libglade2-dev //安装GTK界面构造程序
3、按照官网的顺序执行:
sudo apt-get install git
git clone https://github.com/ging/licode.git
./licode/scripts/installUbuntuDeps.sh
./licode/scripts/installErizo.sh
./licode/scripts/installNuve.sh
./licode/scripts/installBasicExample.sh
4、运行licode和例子,分别在两个终端执行:
./licode/scripts/initLicode.sh
./licode/scripts/initBasicExample.sh
5、在浏览器地址:localhost:3001,允许访问麦克风和摄像头即可(最好使用firefox或Google浏览器)