How to Install Red5 0.9 on Ubuntu 10.04 LTS

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

deb lucid multiverse
deb-src lucid multiverse
deb lucid-updates multiverse
deb-src 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

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

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:

  • Leave a Comment

  • Babasaheb Shinde

     [ERROR] [NioProcessor-1] org.red5.server.service.Installer – Unable to connect to

    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?

  • Kokoro

    Thanks this was really helpful but I have a problem now. After running the 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 without shutting down the server? Any help will be appreciated.

  • Kokoro

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


    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 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

  • 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]

  • 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.

  • John Bahamon


  • Xxx
  • Xxx
  • Gubendraraj M

    hai dude,
        thanks for your instruction for installing red5.

    how to configure videowhisper with red5 ,give me some guide

  • 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. ;)

  • 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/
    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 Method)
    at java.lang.ClassLoader.loadClass(
    at sun.misc.Launcher$AppClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    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.

  • 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 ./ worked.

  • channaka

    thank you its work RED5 1.0 with ubuntu 14.04 LTS

  • mnhpkallah

    Resolving failed: No address associated with hostname.
    wget: unable to resolve host address `’

  • 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.