Steps to install the red5 on Dedicated hosting server.

[email protected] [] cd /etc/init.d/

[email protected] [] wget http://www.indianwebportal.com/downloads/red5
[email protected] [] chmod 755 red5

[email protected] [] yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel

[email protected] [] cd /usr/src
[email protected] [] rm -rf apache-ant-1.8.0-bin.tar.gz apache-ant-1.8.0 red5-0.8.0.tar.gz

[email protected] [] wget http://pradeeps.in/apache-ant-1.8.0-bin.tar.gz

[email protected] [] tar -zxvf apache-ant-1.8.0-bin.tar.gz

[email protected] [] ls -d /usr/local/ant | mv apache-ant-1.8.0 /usr/local/ant

[email protected] [] export ANT_HOME=/usr/local/ant
[email protected] [] export JAVA_HOME=/usr/lib/jvm/java
[email protected] [] export PATH=$PATH:/usr/local/ant/bin
[email protected] [] export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/classes.zip

[email protected] [] echo export ANT_HOME=/usr/local/ant >> /etc/bashrc
[email protected] [] echo export JAVA_HOME=/usr/lib/jvm/java >> /etc/bashrc
[email protected] [] echo export PATH=$PATH:/usr/local/ant/bin >> /etc/bashrc
[email protected][]echo export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/classes.zip >> /etc/bashrc

[email protected] []  cd /usr/local/src

[email protected][]wget http://www.indianwebportal.com/downloads/perl-URI-1.35-3.noarch.rpm

[email protected] [] rpm -i perl-URI-1.35-3.noarch.rpm

[email protected] [] yum install subversion

[email protected] [] svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5
[email protected] [] mv red5 /usr/local/
[email protected] [] cd /usr/local/red5
[email protected] [] ant prepare
[email protected] [] ant dist
[email protected] [] cp -r dist/conf /usr/local/red5/
[email protected] [] ./red5.sh

[email protected] [] /etc/init.d/red5 start

You can access red5 by using the following url.

http://your.ip.address:5080

Leave a Reply