Installing red5, the simple way!

It is not working any more, some files have been changed and our installer is now outdated, soon we will fix the issue. January 2010.

The following steps are intended to automate the installation of Red 5 versions 0.5 , 0.6.3 and 0.7.0 .
I know there is now 0.8 and even 0.9 versions but if your script doesnt need them go for the stable versions, 0.7 is my favorite.
1. Download the red5 installer script ,

Quote:
wget http://ffmpeg-hosting.net/red5_install

Note : Do not download the script to some location where every one can access it as someone may execute it and overwrite an old installation !

2. Make it executable,

Quote:
chmod +x red5_install

3. Execute the script,

Quote:
./red5_install

When the script is executed, it would ask for the red5 version to be installed. There are 3 choices as of now.. 0.7.0 , 0.6.3 and 0.5
Make the choice by entering the digits 1, 2 or 3 . Pressing any other key will select the latest version , 0.70 .

Quote:
# ./red5_install

Hello ,Please choose the RED5 version : (1,2,3 or 4)

1. RED5 0.7.0
2. RED5 0.6.3
3. RED5 0.5
Press Any other key to install 1. RED5 0.7.0

After the version is selected, the process is automated . If everything goes well, you will see something similar to the following as the last line,

Quote:
[DEBUG] 5467 main org.red5.server.Standalone.debug ) Startup done in: 5468 ms

Here the time ‘5648 ms’ may vary with different versions and servers. You can exit from this screen by entering the key combination of control and c (^c) as this should shutdown the red5 server normally.

Else if you get any error please leave a word at our help desk and we can install it for you.

If everything goes right, then red5 would be installed in /usr/local/red and it can be started by executing,

Quote:
./red5.sh &

to stop it

Change permissions to 755 of the file red5-shutdown.sh which is inside /usr/local/red

then ./red5-shutdown.sh

You will need to stop red5 after you upload your application to /usr/local/red/webapps

stop red5 and start it again so your application will be activated. after starting the red5 server, and when it arrives to “Startup done in: 5468 ms” log off from the terminal window CTRL A+D

If you need any help contact support.