虚拟机ubuntu 14.04搭建licode

1、安装好ubuntu14.04的桌面版,这里我是64位。

2、安装好jdk1.7 这里我是64位。

3、配置ubuntu开发环境:

 

一. 安装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  //安装相关文档 

二. 安装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 instal glade libglade2-dev //安装GTK界面构造程序 

centos 环境:

yum install gcc gcc-c++ gcc-g77 flex bison autoconf automake bzip2-devel zlib-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel openssl-devel libxml2-devel gettext-devel pcre-devel

 

 

4、按照官网的顺序执行,应该不会有什么问题:

 

 

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


5、运行licode和例子,分别在两个终端执行,或者后台执行:

 

 

./licode/scripts/initLicode.sh
./licode/scripts/initBasicExample.sh

 

6、在浏览器地址:localhost:3001,允许访问麦克风和摄像头就行了。

 

 

 

lynckia.com/licode/install.html.com/licode/install.html

 

 

 

你可能感兴趣的:(Other)