How to Install Red5 0.9 on Ubuntu 10.04 LTS

string(14) "attribute >>>>" array(6) { ["width"]=> string(4) "1329" ["height"]=> string(3) "515" ["hwstring_small"]=> string(23) "height='49' width='128'" ["file"]=> string(49) "2010/09/Screen-shot-2010-09-05-at-10.42.23-PM.png" ["sizes"]=> array(3) { ["thumbnail"]=> array(3) { ["file"]=> string(49) "Screen-shot-2010-09-05-at-10.42.23-PM-150x150.png" ["width"]=> string(3) "150" ["height"]=> string(3) "150" } ["medium"]=> array(3) { ["file"]=> string(49) "Screen-shot-2010-09-05-at-10.42.23-PM-300x116.png" ["width"]=> string(3) "300" ["height"]=> string(3) "116" } ["large"]=> array(3) { ["file"]=> string(50) "Screen-shot-2010-09-05-at-10.42.23-PM-1024x396.png" ["width"]=> string(4) "1024" ["height"]=> string(3) "396" } } ["image_meta"]=> array(10) { ["aperture"]=> string(1) "0" ["credit"]=> string(0) "" ["camera"]=> string(0) "" ["caption"]=> string(0) "" ["created_timestamp"]=> string(1) "0" ["copyright"]=> string(0) "" ["focal_length"]=> string(1) "0" ["iso"]=> string(1) "0" ["shutter_speed"]=> string(1) "0" ["title"]=> string(0) "" } } array(0) { }

If they aren’t already installed, add the following to /etc/apt/sources.list

deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

Then, install some required libraries

apt-get update
apt-get install java-package
apt-get install sun-java6-jdk
apt-get install sun-java6-jre
apt-get install ant
apt-get install subversion

Now, download and install Red5

wget http://www.red5.org/downloads/0_9/red5-0.9.1.tar.gz
tar xvfz red5-0.9.1.tar.gz
mv red5-0.9.1 red5
mv red5 /usr/share/

Let’s try running it now:

cd /usr/share/red5
sh red5.sh

You should see a bunch of text appear, the last line looking like:

[INFO] [Launcher:/installer] org.red5.server.service.Installer – Installer service created

Now try going to http://your-server-address:5080 in a web-browser. You should see:


Have fun with Red5!

  • Leave a Comment

  • Babasaheb Shinde

     [ERROR] [NioProcessor-1] org.red5.server.service.Installer – Unable to connect to http://red5.googlecode.com/svn/snapshots/

    How to solve this problem.

  • Neorapmaster
  • goliatone

    If you are planning to do record videos, I would suggest you use the 0.8 version, 0.9.1 recording quality sucks.

  • vince

    hi Nicky,

    i’ve installed red5 on ubuntu 11.04,  but the problem is i cant install oflaDemo in the web browser.. can you help me on this?
    thanks

  • Kokoro

    Thanks this was really helpful but I have a problem now. After running the sh red5.sh script, I lose my normal command prompt and have blank lines below the [INFO] [Launcher:/installer] org.red5.server.service.Installer – Installer service created

    How do I get back to my Ubuntu command prompt…?

  • Kokoro

    Just figured out the answer to the question in my previous post

    use Ctrl+C to get back to command line. Whew! Now I just have to figure out why I’m getting a connection error when I try to “install a ready made app”

  • Kokoro

    Ok, sorry to keep posting update questions here. Ctrl+c does get me back to a command prompt but it also stops the red5 server 🙁 How to I back out of red5.sh without shutting down the server? Any help will be appreciated.

  • Kokoro

    Not really the best solution but I managed to run the script

    sh red5.sh

    from a command line prompt within Webmin. I didn’t get any feedback from the command in webmin, it just hung but apparently the server was started because now everything works 🙂 I’m sure my problems are simply a result of me not knowing what I’m doing. Got it working though. Hopefully I’ll figure out “the right way” soon.

  • Pierre de LESPINAY

    Thanks for this great little tutorial.
    I followed it, but I’d like to have the /etc/init.d/red5 start|stop|restart|status|… script.
    I found one from there http://www.linuxmaza.com/system-administration/init-script-to-start-stop-restart-red5-flash-media-server/ but it’s saying “Can’t open /etc/rc.d/init.d/functions”

  • Randyengineer
  • Mark Cowan

    Hello Nicky,

    Thank you ever so much. This worked like a charm. First time too. Why aren’t more blog sites as clear and simple in their instructions?

  • Supa-g

    Source for the download is not available any more, but you can download the file from here
     wget http://bigbluebutton.org/downloads/0.70/red5-0.9.1.tar.gz

  • http://www.facebook.com/sowmya.sreenivasan Sowmya Sreenivasan

    Thanks for guidelines.I have the error showing emptylisting in installer.I am geting the error Async Error: [AsyncErrorEvent type=”asyncError” bubbles=false cancelable=false eventPhase=2 text=”Error #2095″ error=ArgumentError: Error #1063]

  • http://www.hostv.com/ red5 hosting

     This is really a great source of answers, Im pleased I read this short
    article. I am going to be back soon to see more that you have.

  • http://twitter.com/jfbahamon John Bahamon

    thanks

  • Xxx
  • Xxx
  • Gubendraraj M

    hai dude,
        thanks for your instruction for installing red5.

    how to configure videowhisper with red5 ,give me some guide

  • http://www.hostv.com/ red5 hosting

    Red5 is also the type of coffee and significantly
    associated with it. These are the latest technical innovation.

  • AmadouBâ

    I’ve been strugling during 2 days when you come and saved me… Thank U!!!

  • Guest

    Hi please , howto changue directorio streams for oflaDemos app.
    Thanks for your answer. 😉

  • http://www.facebook.com/werner.atencio Werner Atencio

    Hi please , howto changue directory streams of oflaDemos app.
    Thanks for your answer. 😉

  • Suresh

    HI Nicky,
    i need a help to trace out y my red 5 server not running. when i try to connect through browser it return unable to connect http://myIP:5080

  • Houseman

    I’m running Cygwin, using the latest stable version of Red5, so installing and linking to Java in my environment is slightly different.

    But here’s what I do and what I get

    ~$ export CLASSPATH=/usr/share/red5/boot.jar
    ~$ sh /usr/share/red5/red5.sh
    Running on CYGWIN_NT-6.1-WOW64
    Starting Red5
    java.lang.NoClassDefFoundError: org/red5/server/Bootstrap
    Caused by: java.lang.ClassNotFoundException: org.red5.server.Bootstrap
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    Could not find the main class: org.red5.server.Bootstrap. Program will exit.

    You can see that I set the classpath right before I do this, but it still can’t find it.

  • http://chrislarson.me/ Chris Larson

    Thanks for this demo (even 3 years later). I tried apt-get install red5-server on Ubuntu 12.04 to install version 1.0 and it didn’t install correctly. Simply using ./red5.sh worked.

  • channaka

    thank you its work RED5 1.0 with ubuntu 14.04 LTS

  • mnhpkallah

    Resolving http://www.red5.org... failed: No address associated with hostname.
    wget: unable to resolve host address `www.red5.org’

  • Chandrakala K

    Hi I am Facing problem In Demo Apps .Installer not showing list of Demos getting error like

    Net status: NetConnection.Connect.Rejected Async Error: Net status: NetConnection.Connect.Closed Trying to connect to war location

    In Windows 8.
    Can you help please.

  • http://www.aaams.net/botox-certification-course/ Grace Gilbert

    The working process is really easy; when you tap “buy now”, you lock in your price. When someone chooses to buy it lowers the availability by 1. You need not wait too long or the availability will run off. The first time you win a drop, you will have 10 min to add in your payment details and complete your order. The next time you win it will be automatic. Facebook sign up is mandatory for you to receive and share deals with your friends, you will need some friends to share with. The most important thing is that Shipping and handling is always free on Dropio regardless of the final winning price. http://www.dropio.com/