The following are steps used to get Red5 running on SUSE Linux 10.0.
You would need the following files:
- JDK 1.5
- Apache Ant
- Red5
Before beginning this make sure you are running these commands as root.
- Make sure you have downloaded and installed the jdk 1.5 from java.sun.com
- For this tutorial just download the .bin file. Change the permissions of the bin file
chmod 755 jdk-1_5_0
and then execute it.
./jdk-1_5_0
Once it’s done you just copy the contents of the folder it made and put them in /usr/java/jdk1.5.0
- Then set your JAVA_HOME variable. It may have to be set two different ways. First way:
JAVA_HOME=/usr/java/jdk1.5.0
and the second way.
export JAVA_HOME=’/usr/java/jdk1.5.0′
- Download and unzip the file. Then copy the contents to a directory, something like /usr/ant. Then set your ANT_HOME variable. If it doesn’t work then don’t worry about it. We will not be using that pointer in this tutorial.
- Once java and ant are all set up you simply pull the latest trunk for red5 to your box.
svn co http://svn1.cvsdude.com/osflash/red5/java/server/trunk red5-trunk
That will create a folder in your current directory called red5-trunk. Then you will want to copy the contents of that folder to /opt/red5 like so
cp -R red5-trunk /opt/red5
- Navigate to the /opt/red5 directory and run
/usr/ant/bin/ant
That will build the project on your machine.
- Finally run the red5.sh file. You can do this by either running
sh red5.sh &
or
./red5.sh &
This will start the red5 service.
- Run
netstat -ant
and verify the correct ports are being bound to. You may need to edit the red5.properties file in the /opt/red5/conf directory if you can’t connect to your server from an external location. Try to connect to the server before you modify the properties file because you may be able to connect to it with no problems.
No comments:
Post a Comment
I love comments.