Live Video, Web2.0, Rich Media, Custom Content
Install Red5 0.9 on Linux Ubuntu
This post shows how to install latest Red5 from trunk on Linux Ubuntu.
For other linux flavors (i.e. Centos) see this comprehensive tutorial Install Red5 and JDK on Centos.
This installation was done from windows so we used WinSCP and PuTTy (free software) and was inspired from online tutorials.
This installation was done fluently: if you go to other folders and do other tasks during the installation make sure you return to the right folder before resuming.
First installed required packages one by one:
apt-get install subversion
apt-get install java-package
apt-get install sun-java6-jdk
apt-get install ant
Used arrows to browse to the Ok and confirm on jdk installation dialogs.
Verified installed java version:
java -version
Downloaded latest Red5:
mkdir -p ~/svn/red5
cd ~/svn/red5
svn co http://red5.googlecode.com/svn/java/server/trunk red5
Build Red5 with Ant:
export JAVA_HOME=/usr/lib/jvm/java-6-sun/
export ANT_HOME=/usr/share/ant/
cd ~/svn/red5/red5
/usr/share/ant/bin/ant
Installed Red5:
mkdir /usr/share/red5
cp -R dist/* /usr/share/red5/
cd /usr/share/red5
chmod 755 red5.sh
chmod 755 red5-shutdown.sh
Started Red5:
./red5.sh > start.log &
Verified opened ports:
netstat -ant
To install a new rtmp application you need to:
- Copy application to /usr/share/red5/webapps (i.e. /usr/share/red5/webapps/videowhisper as explained on VideoWhisper RTMP Applications)
- Shutdown red5
cd /usr/share/red5
./red5-shutdown.sh - Restart red5
./red5.sh
An alternative to doing the red5 installation yourself would be to order red5 installation .
If you don’t have the time and experience to run your own server or vps, you should use managed red5 hosting .
| Print article | This entry was posted by VideoChat Scripts on October 7, 2009 at 2:34 pm, and is filed under Servers. Follow any responses to this post through RSS 2.0. Both comments and pings are currently closed. |
Comments are closed.
Video Conference
Video Broadcast


