Setting up a red5 server

Red5 is a flash communication server.
it enables you to make a socket connection to your server and communicate with a java application there (which in itself already opens tons of possibilities). but also; red5 is very useful for streaming and recording client streams.

so.. altogether; a very interesting platform to play with:)

I’ll be starting with a fresh CentOS 5.4 installation

how to setup a red5 server?
first we install java by typing the following command in the commandline:

yum install java-1.*.*-openjdk-devel

then go to http://code.google.com/p/red5/ to download the latest red5 release (just download the zip) the download link will look something like this http://www.red5.org/downloads/0_9/red5-0.9.1.zip depending on the latest version number.
now extract it using

unzip red5-0.9.1.zip

would that return: “bash: unzip: command not found” then just execute:

yum install unzip

now we’re gonna make some files executable

chmod 755 red5-debug.sh red5.sh red5-shutdown.sh red5-highperf.sh

you know what.. we’re only one command away from running our server!

./red5-debug.sh

now just wait a bit till your server has started up

now just open your web browser and navigate to
http://localhost:5080/
congratulations! (yes, that’s really all)

for now just play around with the demos.
I’ll write a tutorial about how to communicate with a red5 server soon!
so… keep an eye on my blog;)

Tags: , , , , , , , , ,

Comments are closed.