How to install Red5 Media Server on Ubuntu / Debian
How to install Red5 Media Server on Ubuntu or Debian
Red5 Media Server is a powerful video streaming solution standing its own ground to the big giant Adobe with their own Adobe Media Server, however compared to them, Red5 is free, based on Java and other open source frameworks. It provides a good solution to business of all sizes including Enterprises. Red5 includes support for the latest multi-user API’s including NetConnection, NetStream and SharedObject’s while providing a powerful RTMP / Servlet implementation. You can stream the most popular audio/video file extensions like FLV, F4V, MP4, 3GP, MP3, F4A, M4A, AAC and supports various protocols like RTMP, RTMPT, RTMPS, RTMPE.
In this article I’m going to go and show you how to install Red5 Media Server on Ubuntu or debian.
Install Red5 Media server
Well, installing it is really simple, you just need to run the command:
1 |
apt-get install red5-server |
After this is installed, the location of the server will be in:
/usr/share/red5/
You will need to start your server using the command:
1 |
service red5-server start |
Your server should be listening on the below default ports:
1 2 3 4 |
RTMP: 1935 Debug proxy: 1936 HTTP servlet: 5080 RTMPT: 8088 |
You need to upload your Red5 application in the location:
/usr/share/red5/webapps
If you load your IP address in your browser, you will see a similar page like below:
Install demo Red5 Applications
1 2 3 4 5 6 7 8 |
wget wget http://www.red5.org/downloads/red5/1_0_1/red5-1.0.1.zip mkdir red5/; cd red5; unzip ../red5-1.0.1.zip cd red5-server-1.0/ cp -R webapps/root/demos /var/lib/red5/webapps/root/demos cp -R webapps/installer /var/lib/red5/webapps/installer find /var/lib/red5/webapps/ -type d -exec chown _red5 {} ; /etc/init.d/red5-server restart |
Once you finished this, you should be able to install some sample apps using the link:
http://server-ip:5080/installer/
and as for the demo section, you can use:
http://server-ip:5080/demos/
and you will see a page with a few demos there.
So that’s about it to installing Red5, there’s not much to tell really, but for those looking to use this powerful server, you will need to read the docs on it. You can find them here:
http://www.red5.org/downloads/docs/
Will see you again tomorrow in our next tutorial, until next time.