Version 1 (modified by 14 years ago) ( diff ) | ,
---|
Installing Red5 on Debian Squeeze
First, install the necessary applications:
aptitude install openjdk-6-jdk ant red5-server subversion dpkg-dev
The problem with the Debian Red5 package is that it does not come with the oflaDemo - which is the only webapp we need for video streaming.
So... we have to download the Red5 source pacakge, check out (via svn) the source for the Red 5 extras, and then compile and install ofladDemo.
Get the red5 source:
cd /usr/local/src mkdir red5 cd red5 apt-get source red5
Now, check out the red5-examples source:
cd /usr/local/src svn co http://red5.googlecode.com/svn/java/example/trunk red5-examples
Next, copy the oflaDemo into the red5 source webapps directory (you may need to modify the path of the red5 source directory)
cd /usr/local/src/red5/red5-0.9~svn3968/webapps/ cp -r /usr/local/src/red5-examples/oflaDemo .
Compile the oflaDemo code:
cd oflaDemo export RED5_HOME=/usr/share/red5 ant
If it builds without a problem - copy the resulting code into the Red 5 package webapps directory:
cp -r www /usr/share/red5/webapps/oflaDemo
And lastly, start red5:
/etc/init.d/red5-server start
Attachments (2)
- publish.tar.gz (394.6 KB ) - added by 14 years ago.
- player.tar.gz (88.0 KB ) - added by 14 years ago.
Download all attachments as: .zip