Install Red5 [Hosting Red5]


Installing Basic Requirements


1. JDK

The latest version of JDK at the time of this tutorial was JDK 1.6

Download the latest jpackage-utils RPM from…ric/free/RPMS/ and install


rpm -Uvh jpackage-utils-1.7.4-2jpp.noarch.rpm

Download the latest version of JDK from (Download the rpm.bin file)

At the time of this tutorial it was JDK 1.6 update 4

Make the downloaded bin file executable

chmod +x jdk-6u1-linux-i586-rpm.bin

Run the installer and accept the license agreement. It will extract the file jdk-6u1-linux-i586.rpm


Install the rpm jdk-6u1-linux-i586.rpm

rpm -Uvh jdk-6u1-linux-i586.rpm

If evrything went fine, java -version will output the java version number.

java -version

2. Apache ant

Download the latest version of apache ant from

Extract the zip file

tar -xzvf apache-ant-1.7.0-bin.tar.gz

All the contents will be extracted to the folder apache-ant-1.7.0

Rename and Move the folder to the installation folder (/usr/local/ant would just be fine.)

mv apache-ant-1.7.0 /usr/local/ant

Add the following lines to the end of /etc/profile



A successfull Ant installation can be confirmed by running

ant -v

Apache Ant version 1.7.0 compiled on December 13 2006

Buildfile: build.xml does not exist!

Build failed

3. Subversion

Subversion installation is necessary only if you are want to install the latest development version of Red5 from the trunk. If you are installing a stable version of Red5, then you can skip this step.

Install the latest version of subversion using yum,

yum -y install subversion

(‘-y doesn’t ask for confirmation’)

If yum reports ‘nothing to do’ then,
a. Open /etc/yum.conf and check whether there is a line starting with ‘exclude=’

If yes, then comment out the kine by adding a # before the line.

If not, then follow the the following step

b. Add the rpmforge repo by downloading and installing,


rpm -Uvh rpmforge-release-0.3.6-1.el4.rf.i386.rpm

Now run ,

yum -y install subversion

Do remember to uncomment the ‘exclude=’ line in /etc/yum.conf if you commented it as it could prove as an important security measure.

RED 5 Installation

This command will checkout the red5 trunk into the red5-trunk directory.

Now you are ready to build the server.

cd red5-trunk

ant ivyclear dist

This will clear the ivy configs and build the server. Once that is finished We should first try and run the server from the red5-trunk/dist directory to make sure it is working.

cd dist

chmod 755



At this point the server should start. You can hit Ctr+ C to stop it. If you get this far without errors you should be good to go. However, it is good to keep red5 in /usr/local/red5 so do the following.

mkdir /usr/local/red5

cp -R dist/* /usr/local/red5

Now you can navigate to /usr/local/red5 and start the server in the same way as above. If there are no errors you should now have the latest version of red5 installed and working fine.



Note : Use screen to start red5 because when you close out your ssh session red5 will shut down unless it is running as a

daemon process.

To install a stable release of Red 5 , the process is very similar. See below for the steps for installing a stable Red5 version. The latest release version is 0.6.3


tar -xzvf red5-0.6.3.tar.gz

mv red5-0.6.3 /usr/local/red5

cd /usr/local/red5

chmod 755



Explore posts in the same categories: install

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:


You are commenting using your account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: