Linux Blog

Red5 On Fedora 11 Howto

Filed under: General Linux — TheLinuxBlog.com at 9:05 am on Tuesday, September 22, 2009

This is how I quickly set up the Red5 streaming server for testing and evaluation. It worked on Fedora 11 and older Fedoras, and it might work on other distributions, or it may not. Here’s how I did it.

Downloaded the latest Java JDK:

wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u16-linux-i586.bin?BundledLineItemUUID=TFRIBe.pdHYAAAEj_rEMlN2k&OrderID=Tf1IBe.peGgAAAEj4bEMlN2k&ProductID=Dx1IBe.prBgAAAEirRcTvuC_&FileName=/jdk-6u16-linux-i586.bin

Extract/Install the JDK:

mv jdk-6u16-linux-i586.bin\?AuthParam\=1253554171_afbbf561d35756f9a398c04d25dab478\&TicketId\=B%2Fw8lxiHRVhDThVFOVdYlgPg\&GroupName\=CDS\&FilePath\=%2FESD6%2FJSCDL%2Fjdk%2F6u16-b01%2Fjdk-6u16-linux-i586.bin\&File\=jdk-6u16-linux-i586.bin jdk-6u16-linux-i586.bin
chmod 755 jdk-6u16-linux-i586.bin
sudo ./jdk-6u16-linux-i586.bin

Type Q, then yes to accept the license
woah, a whole bunch of scrolling will happen. Then it may ask you about product registration. I pressed

ctrl+c.

when it asked to send a profile :)

Move the jdk1.6.0_16 to the /opt directory, for easier tracking.

mv jdk1.6.0_16 /opt/

Make a symlink called java to the jdk1.6.0_16 directory.

ln -s jdk1.6.0_16 java

Use alternatives to make it the default java compiler.

alternatives --config java

Hey, look its not there!

alternatives --install /usr/bin/java java /opt/java/bin/java 3

Run ‘alternatives –config java’ and press 3 (or whatever priority you set)
Test:

$ java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)

Alright, java is installed.

Download, Extract, Install Red5 Stable:

wget http://www.red5.org/downloads/0_8/red5-0.8.0.tar.gz
mkdir Red5
tar xvzf red5-0.8.0.tar.gz -C Red5

Its important to make the directory and extract to that directory because the tar.gz doesn’t include a folder to extract to. If you extract without making the folder you’ll have to figure out what it extracted and clean up all those files, see tar archive mischief for more information.

Finally Run the Red5 server:

sh Red5/red5.sh

If everything went well you should be able to open up your web browser and go to http://localhost:5080/ and see the red5 homepage. There you can watch the YouTube hosted video, and start working with the demos. Remember to open up the RTMP ports, and you should be good to go with Red5.





Random Man Pages:
intel
rgvim
depmod
latin9

3 Comments »

Comment by TheLinuxBlog.com

September 22, 2009 @ 9:47 am

If you need a more permanent solution try: http://www.sohailriaz.com/how-to-install-red5-server-on-centos-53/

Comment by root jerais

October 19, 2009 @ 4:26 pm

at the right time! thx man!

Comment by red5 hosting

May 12, 2012 @ 4:30 am

Red5 Hosting can handle provided components, and VP6. These components can easily be increased by Red5 Hosting. There are many no price cms, display host and start display host etc.Red5 on the fedora is unique services for the new users.

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>