Rich Media and so much more…
Installing Red5…
Recently working on a videochat application I wanted to use my own VPS server for some real world testing.
Version 0.9 RC2 is the current available for Red5… and after fiddling trying to get things going, I found this cool tutorial which worked like a charm.
Credits of course to the original poster:
http://www.videochat-scripts.com/install-red5-0-9-on-linux-ubuntu/
My VPS is currently running on Ubuntu “Lucid” 10.04.
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 antUsed arrows to browse to the Ok and confirm on jdk installation dialogs.
Verified installed java version:
java -versionDownloaded latest Red5:
mkdir -p ~/svn/red5
cd ~/svn/red5
svn co http://red5.googlecode.com/svn/java/server/trunk red5Build 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/antInstalled Red5:
mkdir /usr/share/red5
cp -R dist/* /usr/share/red5/
cd /usr/share/red5
chmod 755 red5.sh
chmod 755 red5-shutdown.shStarted Red5:
./red5.sh > start.log &Verified opened ports:
netstat -ant
…and thats it.
Afterwards you just need to remember to direct your connections to rtmp:// on the default port 1935, and have a correspondent web app on your Red5 “webapps” folder… or just like I did, reuse a demo app ( I used the ‘live’ one ), that best fits what you want to do.
| Print article | This entry was posted by Filipe Prata de Lima on June 23, 2010 at 7:31 pm, and is filed under flash, flex. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
No comments yet.
No trackbacks yet.