home   |   about us   |   our network   |   services   |   affiliates   |   contact
 
Services
» Web Hosting
» Reseller Hosting
» Dedicated Servers
» Windows/ASP.net Hosting
» Managed Web Hosting
» Server Security / Auditing
» Remote Backup / Storage
» Linux VDS
» Windows VDS
 
Support
» Support Desk
» Client Login
» Forums
» FAQs
» Help Files
» Acceptable Use Policy
» Client Testimonials
» Blog
 
Tutorials
» Dedicated Server Tutorial
» Website Optimization
» Search Engine Optimization
» Web Hosting Tutorials
» Web Programming Tutorials
» Networking Tutorials
» Virtual Server Tutorials
» Resources

The Crucial Blog

August 28, 2008

How to install RED5 on a server

The steps for installing RED5 are as follows:

1. Install – JDK and JRE

* For installing Java JDK and JRE, we can use the RPM. Visit the link “http://java.sun.com/javase/downloads/index.jsp”.

* Setup the environment variables to include the path for java.
export JAVA_HOME=/usr/java/

2. Install Apache ant

wget http://apache.mirror.transip.nl/ant/binaries/apache-ant-1.7.0-bin.tar.gz
tar -zxf apache-ant-1.7.0-bin.tar.gz
mv apache-ant-1.7.0 /opt/ant
ln -s /opt/ant/bin/ant /usr/bin/ant

* Setup the environment variables to include the path for Apache ant.
export ANT_HOME=/opt/ant

3. Now download and install RED5.

wget http://dl.fancycode.com/red5/0.6.3/src/red5-0.6.3.tar.gz
tar -zxf red5-0.6.3.tar.gz
mv red5-0.6.3 red5

cd red5
/opt/ant/bin/ant prepare
/opt/ant/bin/ant build

4. Now the directory “dist” contains compiled files and ready to run the server

cd dist
sh red5.sh

* RED5 should now run http server on port 5080 and rtmp service on port 1935

5. For testing, check

http://ip:5080/demos/port_tester.swf

Tags: , ,

Filed under: Uncategorized by — aaron @ 8:40 pm


4 Responses to “How to install RED5 on a server”

  1. hello, plz help.
    i use ubuntu 8.10.
    I used apt-get to install jre and ant server.
    the ant build is successful
    but the ant prepare not = [

    iceoz@ubserv:~/red5$ ant build
    Buildfile: build.xml
    [echo] java.home is /usr/lib/jvm/java-6-sun-1.6.0.10/jre and the target version is 1.6

    BUILD FAILED
    Target “build” does not exist in the project “RED5″.

  2. Cool thanks, but where there’s all those codes like:

    export JAVA_HOME=/usr/java/

    Go? Do you use command prompt?

  3. Thoses codes are environment variables and some linux version’s are declared in the file “profile” located in /etc directory.

  4. Hello,

    I would need some help to install Red5 on my server, I spent too much time on it already and I don“t know what to do..
    I would like to offer $ 80 to anyone who could do a sharing screen cession to guide me on how to install it.
    I am sure there is something small I am missing..

    Thank you to anyone who would answer to this request, my email is jean@homeforswap.com

Leave a Reply



     

Quick Links: Debian Dedicated Servers, Direct Deposit Hosting, Unmetered Dedicated Servers, Virtual Dedicated Servers, Windows Server Management, High Traffic Web Hosting - Load Balanced Clusters, Windows 2008 Server Virtual Dedicated Servers