Skip to content

Instantly share code, notes, and snippets.

@nimblemo
Created May 24, 2017 19:51
Show Gist options
  • Save nimblemo/02206b68245b634d4b2030c7dcaf9ce4 to your computer and use it in GitHub Desktop.
Save nimblemo/02206b68245b634d4b2030c7dcaf9ce4 to your computer and use it in GitHub Desktop.
Kurento Media Server Installation (Debian Wheezy 64bit)

Install general dependencies:

sudo apt-get install git build-essential cmake pkg-config libboost-dev libboost-test-dev \
     libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config \
     libssl-dev libsoup2.4-dev libboost-system-dev libboost-filesystem-dev

Install a Java JDK (if you don't already have one available):

sudo apt-get install openjdk-7-jdk

Kurento uses Apache Thrift, so we will need to build that for our machine first (well at least that's what I did, because I couldn't find a suitable installation candidate). I chose to build against the git repository as I encountered this error when attempting to compile the 0.9.1 source tarball.

git clone https://git-wip-us.apache.org/repos/asf/thrift.git thrift
cd thrift/
git checkout thrift-0.9.1 -b build
./bootstrap.sh
./configure
make
sudo make install
cd ..

If the above instructions fail for any reason, then consult the Thrift Building from Source documentation.

Clone the kurento-media-server project:

git clone https://github.com/Kurento/kurento-media-server
cd kurento-media-server

Initialise git submodules:

git submodule init
git submodule update

Run cmake:

cmake .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment