Changes between Initial Version and Version 1 of install-red5


Ignore:
Timestamp:
Apr 30, 2010, 1:59:29 AM (15 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • install-red5

    v1 v1  
     1= Installing Red5 on Debian Squeeze =
     2
     3First, install the necessary applications:
     4
     5{{{
     6aptitude install openjdk-6-jdk ant red5-server subversion dpkg-dev
     7}}}
     8
     9The problem with the Debian Red5 package is that it does not come with the
     10oflaDemo - which is the only webapp we need for video streaming.
     11
     12So... we have to download the Red5 source pacakge, check out (via svn) the
     13source for the Red 5 extras, and then compile and install ofladDemo.
     14
     15Get the red5 source:
     16
     17{{{
     18cd /usr/local/src
     19mkdir red5
     20cd red5
     21apt-get source red5
     22}}}
     23
     24Now, check out the red5-examples source:
     25
     26{{{
     27cd /usr/local/src
     28svn co http://red5.googlecode.com/svn/java/example/trunk red5-examples
     29}}}
     30
     31Next, copy the oflaDemo into the red5 source webapps directory (you may need to modify the path of the red5 source directory)
     32
     33{{{
     34cd /usr/local/src/red5/red5-0.9~svn3968/webapps/
     35cp -r /usr/local/src/red5-examples/oflaDemo .
     36}}}
     37
     38Compile the oflaDemo code:
     39
     40{{{
     41cd oflaDemo
     42export RED5_HOME=/usr/share/red5
     43ant
     44}}}
     45
     46If it builds without a problem - copy the resulting code into the Red 5 package webapps directory:
     47
     48{{{
     49cp -r www /usr/share/red5/webapps/oflaDemo
     50}}}
     51
     52And lastly, start red5:
     53
     54{{{
     55/etc/init.d/red5-server start
     56}}}