Results 1 to 2 of 2
  1. #1

    Post How to install RED5 on CentOs

    FatCow Web Hosting
    1. Install Java

    # yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel
    2. Install Ant

    # cd /usr/local/src
    # wget
    # tar zxvf apache-ant-1.8.2-bin.tar.gz
    # mv apache-ant-1.8.2 /usr/local/ant
    3. Export path for Ant and Java

    Make sure you have right paths (java, ant etc.) on your server, I have used 32-bits CentOS server … home path might be different on 64-bits or other server

    # export ANT_HOME=/usr/local/ant
    # export JAVA_HOME=/usr/lib/jvm/java
    # export PATH=$PATH:/usr/local/ant/bin
    # export CLASSPATH=.:$JAVA_HOME/lib/
    Also add these lines in /etc/bashrc at last to available every-time logged in to SSH

    4. Install SVN

    # yum install subversion
    5. Install RED5 Server

    # cd /usr/local/src
    # svn checkout red5
    # mv red5 /usr/local/
    # cd /usr/local/red5
    # ant prepare
    # ant dist
    6. Copy Red5 files

    # cp -r dist/conf /usr/local/red5
    7. Test Run

    # sh
    ctrl + z

    You need to allow port 5080 and 1935 to your server firewall.

    # iptables -A INPUT -p tcp -m tcp –dport 5080 -j ACCEPT
    # iptables -A INPUT -p tcp -m tcp –dport 1935 -j ACCEPT
    Red5 Server Status

    # netstat -anp | grep 5080
    # ps aux | grep red5
    If you have CentOS 64-bits server and you are getting error like

    - Buildfile: build.xml does not exist!
    - Cannot allocate memory

    You might need to checkout modified files
    # cd /usr/local/src
    # svn co red5
    Build Failed (Life saver)
    Cannot run program “chmod”: error=12, Cannot allocate memory

    # export _JAVA_OPTIONS=’-Xms32m -Xmx56m -Xss128k -XX:PermSize=32m -XX:MaxPermSize=64m’
    # export ANT_OPTS=’-Xms32m -Xmx56m -Xss128k -XX:PermSize=32m -XX:MaxPermSize=64m’
    Try solution here… How to install Red5 Demos?

    # cd /usr/local/red5/webapps/root
    # svn checkout
    Then go to

  2. #2
    Join Date
    Mar 2013
    Thank you for this useful contribution. I sure found it helpful.

Similar Threads

  1. GET- Centos Openvpn Bash install script
    By mangobuddy in forum VPS, Dedicated & Colocation Hosting
    Replies: 2
    Last Post: 01-16-2014, 07:20 AM
  2. centos SSH -bash-4.1# error
    By Redoy in forum Hosting Security and Technology
    Replies: 0
    Last Post: 09-16-2013, 03:27 AM
  3. How to install cPanel on CentOS
    By ArLinD in forum Tutorials
    Replies: 2
    Last Post: 04-01-2013, 05:05 AM
  4. Centos LVM Partitions
    By jeffscott in forum VPS, Dedicated & Colocation Hosting
    Replies: 0
    Last Post: 09-08-2012, 08:45 AM
  5. How To Install Apache with MySQL and PHP on Linux CentOS
    By mangobuddy in forum Hosting Security and Technology
    Replies: 1
    Last Post: 09-07-2012, 03:16 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Powered by vBulletin® Version 4.2.2
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
Webhosting Market 2012 - 2016