下載JAVA http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlhtml
下載 ANT http://ant.apache.org/bindownload.cgijava
下載 RED5 http://red5.org/downloads/red5/1_0/red5-1.0.0.tar.gzapache
解壓並移動到 /usr/local/
oracle
運行:
server
export ANT_HOME=/usr/local/ant
export JAVA_HOME=/usr/local/jdk1.7.0_55
export JAVA_VERSION=1.7
export PATH=$PATH:$JAVA_HOME/bin:$ANT_HOME/binhtm
export CLASSPATH=/usr/local/red5/boot.jar
class
vi /etc/rc.local
jdk
cd /usr/local/red5cgi
./red5.sh
network
錯誤解決
Error: Could not find or load main class org.red5.server.Bootstrap
export CLASSPATH=/usr/local/red5/boot.jar