Sei sulla pagina 1di 1

Installing RED5 Server on CentOS, Fedora, RedHat

[] it requires Java 1.6 to be pre-installed


#yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel
#yum -y install java-1.6.0-openjdk-javadoc java-1.6.0-openjdk-src

[] Setup 'Apache ANT', required to build Red5


#cd /usr/src
#wget http://apache.sunsite.ualberta.ca/ant/binaries/apache-ant-1.8.1-
bin.tar.bz2
#tar jxvf apache-ant-1.8.1-bin.tar.bz2
#mv apache-ant-* /usr/local/ant

[] Settimg up ENV variables as per required


#export ANT_HOME=/usr/local/ant
#export JAVA_HOME=/usr/lib/jvm/java
#export PATH=$PATH:/usr/local/ant/bin

[] Download & Install RED5


#cd /usr/src
#svn co http://red5.googlecode.com/svn/java/server/trunk red5server
#mv red5server /usr/local/
#cd /usr/local/red5server
#ant prepare
#ant dist
#cp -r dist/conf ./
#./red5.sh

[] To use RED5 Server


- checking if it works
browse 'http://RED5-Server-IP:5080/
- to install your RED5 Server based applications
copy them to dir '/usr/local/red5server/webappz'
suppose you copy them to
'/usr/local/red5server/webappz/myFlash'
so they will be accessible at
'http://RED5-Server-IP:5080/myFlash/
- to make it run at port 80 like any HTTP Server
edit '/usr/local/red5/conf/red5-origin.xml'
and '/usr/local/red5/conf/red5.properties'
by replacing all instances of Port# 5080
by simply Port# 80

Potrebbero piacerti anche