Tuesday, November 15, 2011

RED5 Server Installation in Linux

         RED5 is open source flash server written in java supports streaming audio/video, recording client streams, shared objects, live stream publishing etc. Here i have describe the procedure for installing Red5 in Linux.

1.Java Installation:

Installation in RPM based Linux such as fedora, centos, redhat :

#yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel

Installation in Debian based Linux  such as Debian, Ubuntu, Kubuntu:

#apt-get install java-package

2.Apache Ant and IVY Installation:

#cd /usr/local/
#wget http://mirrors.isu.net.sa/pub/apache//ant/binaries/apache-ant-1.8.2-bin.tar.bz2
#tar -jxvf apache-ant-1.8.2-bin.tar.bz2
#ln -s apache-ant-1.8.2 ant

#svn co https://svn.apache.org/repos/asf/ant/ivy/core/trunk ivy
#cd ivy
#/usr/local/ant/bin/ant jar
#cp build/artifact/jars/ivy.jar ../ant/lib/

3.REd5 Installation:

#cd /usr/local
#svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5
#cd red5
#/usr/local/ant/bin/ant prepare
#/usr/local/ant/bin/ant dist
#cp -r dist/conf .
#./red5.sh &

Once you start the red5 server, you can check the Red5 Installation in  the browser using the url as below.

  http://yourip:5080

No comments:

Post a Comment