Install red5 by following steps:
1) sudo nano /etc/apt/sources.list
2) Add this line to the end of your ‘sources.list’ file:
deb http://za.archive.ubuntu.com/ubuntu/ jaunty multiverse
3) apt-get update
apt-get upgrade
apt-get install locate
updatedb &
apt-get install htop wget screen telnet subversion
4) apt-get install java-package
apt-get install sun-java6-jdk
apt-get install sun-java6-jre
apt-get install ant
5) export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.13/
export ANT_HOME=/usr/share/ant/
6) mkdir /opt/red5
cd /opt/red5
wget http://www.red5.org/downloads/0_8/red5-0.8.0.tar.gz
tar xvfz red5-0.8.0.tar.gz
chmod 755 red5.sh
7) Run red5 in background process
sh ./red5.sh &
8) Check it by:
netstat -ant
It should show: "tcp6 0 0 :::5080 :::* LISTEN"
telnet localhost 5080
It should show: Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
9) Open http://localhost:5080/ to test.