mkdir red5   建立red5安装目录
下载这两个重要文件
执行安装
chmod +x jdk-6u23-linux-i586-rpm.bin
./jdk-6u23-linux-i586-rpm.bin
ln -s /usr/java/jdk1.6.0_23 /usr/java/jdk1.6
修改配置文件,如下即可
vi /etc/profile
export JAVA_HOME=/usr/java/jdk1.6
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$CLASSPATH
export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/server
export ANT_HOME=/usr/java/apache-ant
export PATH=$PATH:$ANT_HOME/bin
cd /home
cd red5
tar xzvf apache-ant-1.8.0-bin.tar.gz  -C /usr/java/
ln -s /usr/java/apache-ant-1.8.0  /usr/java/apache-ant
mk red5
svn co http://red5.googlecode.com/svn/java/server/trunk red5
cd red5
ant server
cp -ar dist/  /usr/local/red5
cd /usr/local/red5
./red5.sh &