Tag: ant
Install the Red5 to Fedora
by admin on 1 月.11, 2009, under Red5

Install Red5 version0.7.0 into Fedora7
- Installation Red5 of JDK uses JAVA. Versions of installed JAVA SDK should be more than 6.
- Down load from Java EE site.
http://java.sun.com/javase/ja/6/download.html - 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
- Down load from Java EE site.
- Installation of Ant 1.7
Install is usually finished. Please input command ant. If your Ant is version under 1.7- Uninstall apache ant.
[root@hostname ~]# yum remove ant - Download ant version 1.7 (rpm image).
http://ftp.riken.jp/net/apache/ant/binaries/apache-ant-1.7.1-bin.tar.gz - 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
- Uninstall apache ant.
- Install Red5
It is easy.- Download rpm first from the site.
http://red5.nl/installer/red5-0.7.0.tar.gz - 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
- Download rpm first from the site.
- Open ports of firewall.
If you use Red5 from internet, You must open the ports 5080, 1488 and 443. - Check the Red5.
- Start the Red5 server by the shell command.
[root@hostname ~]# cd /opt/red5
[root@hostname ~]# cd ./red5.sh &
- Access from the other Pc.
http://(a servier’s address):5080

- Start the Red5 server by the shell command.