Install Red5 on Windows 7 (64-bit)

Install Red5 on Windows 7 (64-bit)

We will install Red5-0.9.1 on Windows 7 (64-bit). We will also install some required features for further development and use.
Those are :
Java Development Kit v.1.6
apache-ant v.1.7
eclipse-galilleo-SR1-win32

1. Download and Install the 32-bit version of the JDK 6 (jdk-6u29-windows-i586.exe).
Copy the ….\Java\jdk1.6.0_29\bin\java.exe  and paste it in …..C:\Windows\SysWOW64.
We need this specific java version because Red5 version 0.9 is compatible with Java Version 1.6 & eclipse galileo is compatible with the 32-bit version of JDK.

2. Download apache-ant version 1.7(apache-ant-1.7.1-bin.zip) from http://archive.apache.org/dist/ant/binaries/.
NOT version 1.8 because it creates some kind of problem with the javac.
So download the apache-ant-1.7.1-bin.zip file and extract it on your Hard Disk. I put it in C:/Program Files (x86)/Java to keep it all together.
Rename the extracted folder to Ant.

3. Download and Install Red5-0.9.1 for windows, from http://trac.red5.org/wiki/0_9_1 .
Change the install directory to C:/Red5.
Enter IP Adress : 127.0.0.1 (for local install).
Enter Port Number : 5080.

4. Download eclipse-galileo-SR1.win32.zip from http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/galileosr1 .
Extract the folder eclipse somewhere on your Hard Disk. I put it in C:\eclipse.
No need to install, to run just double click the eclipse.exe.

5. IMPORTANT: Enviromental Variables
To set the Enviromental Variables, go to control panel -> system -> Advanced system settings -> Enviroment Variables.
Select Path->edit and add the ANT path. example : …..;C:\Program Files (x86)\Java\Ant\bin;….
Select Path->edit and add the JDK path. example : …;C:\Program Files (x86)\Java\jdk1.6.0_29\bin;..
Select New and add name: ANT_HOME . value the Ant path for example C:\Program Files (x86)\Java\Ant
Select New and add name: JAVA_HOME , value: the jdk path for example C:\Program Files (x86)\Java\jdk1.6.0_29
Select New and add name: JAVA_VERSION , value: 1.6
Select New and add name: RED5_HOME , value: C:\Red5

6. To start Red5 run red5.bat and to stop run red5-shutdown.bat. It’s better to use the red5-shutdown.bat to close it, to avoid malfunction.
On your browser type “localhost:5080” to start using Red5.
Choose “Install a ready made application”. Install everything except audiotranscoder and videotranscoder. They require to install xuggle first. (but xuggle is not compatible with windows 7 64-bit, so we won’t be able to install any application that requires xuggle).
Choose “Launch a demo to use an installed application.

Advertisements
%d bloggers like this: