How to install red5 on linux server ?
Ans :
I have used following steps to install the red5 on linux server.
root@server [] cd /etc/init.d/
root@server [] wget http://www.indianwebportal.com/downloads/red5
root@server [] chmod 755 red5
root@server [] yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel
root@server [] cd /usr/src
root@server [] rm -rf apache-ant-1.8.0-bin.tar.gz apache-ant-1.8.0 red5-0.8.0.tar.gz
root@server [] wget http://pradeeps.in/apache-ant-1.8.0-bin.tar.gz
root@server [] tar -zxvf apache-ant-1.8.0-bin.tar.gz
root@server [] ls -d /usr/local/ant | mv apache-ant-1.8.0 /usr/local/ant
root@server [] export ANT_HOME=/usr/local/ant
root@server [] export JAVA_HOME=/usr/lib/jvm/java
root@server [] export PATH=$PATH:/usr/local/ant/bin
root@server [] export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/classes.zip
root@server [] echo export ANT_HOME=/usr/local/ant >> /etc/bashrc
root@server [] echo export JAVA_HOME=/usr/lib/jvm/java >> /etc/bashrc
root@server [] echo export PATH=$PATH:/usr/local/ant/bin >> /etc/bashrc
root@server[]echo export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/classes.zip >> /etc/bashrc
root@server [] cd /usr/local/src
root@server[]
http://www.indianwebportal.com/downloads/perl-URI-1.35-3.noarch.rpmwget
root@server [] rpm -i perl-URI-1.35-3.noarch.rpm
root@server [] yum install subversion
root@server [] svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5
root@server [] mv red5 /usr/local/
root@server [] cd /usr/local/red5
root@server [] ant prepare
root@server [] ant dist
root@server [] cp -r dist/conf /usr/local/red5/
root@server [] ./red5.sh
root@server [] /etc/init.d/red5 start
You can access red5 by using the following url.
http://your.ip.address:5080
Done