IndianWebPortal.com

Something Different In Linux

Home » How to » How to install red5 on linux server

How to install red5 on linux server

Posted by Rishikesh Vispute Categories: How to, Installation, Uncategorized

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[]wget http://www.indianwebportal.com/downloads/perl-URI-1.35-3.noarch.rpm

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

If you have any doubts them you can ask your question

3 Responses so far.

  1. Ranbir says:

    I got error 404 forbidden access is denied after line –
    root@server [] wget http://www.indianwebportal.com/downloads/red5

    • Hello Ranbir

      Please access the URL “http://www.indianwebportal.com/downloads/red5” and copy the code and create the file “red5” on the server and paste that code.
      I am working on downloading issue

  2. This blog have a such a very knowledgeable information for us. Interesting post.


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...