Second Physical Communication Laboratory

Tag: JDK

Install the Red5 to Fedora

by admin on 1 月.11, 2009, under Red5

finallogo1

Install Red5 version0.7.0 into Fedora7

  1. Installation Red5 of JDK uses JAVA. Versions of installed JAVA SDK should be more than 6.
    1. Down load from Java EE site.
      http://java.sun.com/javase/ja/6/download.html
    2. Install JDK
      [root@hostname ~]# chmod a+x jdk-6u11-linux-i586-rpm.bin
      [root@hostname ~]# ./jdk-6u11-linux-i586-rpm.bin
      [root@hostname ~]# vi .bash_profile
      export JAVA_HOME=/usr/java/jdk1.6.0_11
      export PATH=$JAVA_HOME/bin:$JAVA_HOME /jre/bin:$PATH
      [root@localhost ~]# source .bash_profile
  2. Installation of Ant 1.7
    Install is usually finished. Please input command ant. If your Ant is version under 1.7

    1. Uninstall apache ant.
      [root@hostname ~]# yum remove ant
    2. Download ant version 1.7  (rpm image).
      http://ftp.riken.jp/net/apache/ant/binaries/apache-ant-1.7.1-bin.tar.gz
    3. Install ant.
      [root@hostname ~]# tar vxfz apache-ant-1.7.1-bin.tar.gz
      [root@hostname ~]# mv apache-ant-1.7.1-bin /usr/local/ant
      [root@hostname ~]# export ANT_HOME=/usr/local/ant
      [root@hostname ~]# export PATH=$PATH:$ANT_HOME/bin/
      [root@hostname ~]# ant
      Buildfile: build.xml does not exist!
      Build failed
  3. Install Red5
    It is easy.

    1. Download rpm first from the site.
      http://red5.nl/installer/red5-0.7.0.tar.gz
    2. Install
      [root@hostname ~]# tar -zxf red5-0.7.0.tar.gz
      [root@hostname ~]# mv red5-0.7.0 /opt/red5
      [root@hostname ~]# chmod +x red5.sh
  4. Open ports of firewall.
    If you use Red5 from internet, You must open the ports 5080, 1488 and 443.
  5. Check the Red5.
    1. Start the Red5 server by the shell command.
      [root@hostname ~]# cd /opt/red5
      [root@hostname ~]# cd ./red5.sh &
    2. Access from the other Pc.
      http://(a servier’s address):5080
      testred5

Leave a Comment :, , more...