red5 .. the next big thing..

So this morning I took a few minutes and decided to install and get red5 running.. what is red5 you ask?.. starwars game?... nope.. even cooler. It's an opensource flash media server... very cool with excellent possibilities. Now I'm not bagging on the Flash Media Server nor Adobe(macromedia) but I must say that this open source project is probably going to be a jumpoff point for some people.. with Adobe's archaic lisencing and all. I just thought maybe some people might want to install it too. So I thought I'd walk throught the steps I took to get it running on SUSE Linux 10.0. This is the 0.4.1 version of red5.

#1. Make sure you have downloaded and installed the jdk 1.5 from - I usually just download the .bin file. All you need to do is change the permissions of that bin file to 755 with 'chmod 755 filename' and then execute it. './jkd-1_5_0' or something similar. Then 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. I had to do it two different ways. First way: 'JAVA_HOME=/usr/java/jdk1.5.0' and the second way " export JAVA_HOME='/usr/java/jdk1.5.0' ".

#2. Install apache-ant. You may have to download that as well. I install the binary for that as well. - Download and unzip the file. Then copy the contents to a directory.. something like /usr/ant. Then set your ANT_HOME variable. I tried to do this but it didn't work so I just skipped that part.. yes it's ok to skip that part.

#3. Once java and ant are all set up you simply pull the latest trunk for red5 to your box: 'svn co 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'

#4. Navigate to the /opt/red5 directory and run '/usr/ant/bin/ant' . That will build the project on your machine.

#5. Finally run the file. You can do this by either running 'sh &' or './ &' . This will start the red5 service.

#6. Run netstat -ant and verify the correct ports are being bound to. You may need to edit the file in the /opt/red5/conf directory if you can't connect to your server from an external location. I didn't need to modify this at all. And that is it... simple as that.

Thank you very mcuh

Thank you for best article.Awww.

gurbet sohbet