#1 (permalink)  
Old 01-29-2008, 07:59 AM
Member
 
Join Date: Jan 2008
Posts: 56
Default How to install Red 5 ?

Hi, can anyone provide with a very easy guide to install Red 5 on my server please, I had asked support but there having issues with my root password even though it works fine for me after double checking

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-29-2008, 10:06 AM
Member
 
Join Date: Dec 2007
Posts: 92
Default

Requirements

1. Java jdk. the latest available version. 1.6.* see the centos howto http://wiki.centos.org/HowTos/JavaOnCentOS
2. apache ant. It may be in the package repositories. if not download it. http://ant.apache.org/
3. subversion - yum install subversion
That should be all of the basic requirements.


Installation

Code:
VPSxxx:~# svn co http://svn1.cvsdude.com/osflash/red5/java/server/trunk/ red5-trunk
that should checkout the red5 trunk into the red5-trunk directory. Now you should have both java and ant installed at this point. To make sure do the following:

Code:
VPSxxx:~# java -v
should display java version

Code:
VPSxxx:~# ant -version
should be 1.7.0

now you are ready to build the server.

Code:
VPSxxx:~# cd red5-trunk
VPSxxx:~/red5trunk# ant ivyclear dist
that will clear the ivy configs and build the server. Once that is finished We should first try and run the server from the red5-trunk/dist directory to make sure it is working.

Code:
VPSxxx:~/red5trunk# cd dist
VPSxxx:~/red5trunk/dist# chmod 755 red5.sh
VPSxxx:~/red5trunk/dist# screen
VPSxxx:~/red5trunk/dist# sh red5.sh
At this point the server should start. You can hit Ctr+ C to stop it. If you get this far without errors you should be good to go. However, it is good to keep red5 in /usr/local/red5 so do the following.
Code:
VPSxxx:~/red5trunk# mkdir /usr/local/red5
VPSxxx:~/red5trunk# cp -R dist/* /usr/local/red5
Now you can navigate to /usr/local/red5 and start the server in the same way as above. If at this point there are no errors you should now have the latest version of red5 installed and working fine.

Code:
VPSxxx:/usr/local/red5# sh red5.sh
Quote:
Use screen to start red5 because when you close out your ssh session red5 will shut down unless it is running as a daemon process.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-03-2008, 12:36 AM
Junior Member
 
Join Date: Feb 2008
Posts: 18
Unhappy

Quote:
Originally Posted by Guthix View Post
Hi, can anyone provide with a very easy guide to install Red 5 on my server please, I had asked support but there having issues with my root password even though it works fine for me after double checking

thanks
Did you manage to figure this out at all?.. Curious.. Because it beats the hell outta me how one goes about this...

Are there any more clear or step by step instructions for the entire process.. including the installation and setups of java, subversions etc....??

Havn't got a clue!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 03:03 AM
Moderator
 
Join Date: Feb 2008
Posts: 195
Default

Installing Basic Requirements

1. JDK

The latest version of JDK at the time of this tutorial was JDK 1.6

Download the latest jpackage-utils RPM from http://mirrors.dotsrc.org/jpackage/1...ric/free/RPMS/ and install
Quote:
wget http://mirrors.dotsrc.org/jpackage/1...jpp.noarch.rpm
rpm -Uvh jpackage-utils-1.7.4-2jpp.noarch.rpm

Download the latest version of JDK from http://java.sun.com/javase/downloads/index.jsp (Download the rpm.bin file)
At the time of this tutorial it was JDK 1.6 update 4

Make the downloaded bin file executable
Quote:
chmod +x jdk-6u1-linux-i586-rpm.bin

Run the installer and accept the license agreement. It will extract the file jdk-6u1-linux-i586.rpm

Quote:
./jdk-6u1-linux-i586-rpm.bin

Install the rpm jdk-6u1-linux-i586.rpm

Quote:
rpm -Uvh jdk-6u1-linux-i586.rpm
If evrything went fine, java -version will output the java version number.

Quote:
java -version


2. Apache ant


Download the latest version of apache ant from http://apache.mirror.facebook.com/ant/binaries


Extract the zip file
Quote:
tar -xzvf apache-ant-1.7.0-bin.tar.gz
All the contents will be extracted to the folder apache-ant-1.7.0
Rename and Move the folder to the installation folder (/usr/local/ant would just be fine.)

Quote:
mv apache-ant-1.7.0 /usr/local/ant

Add the following lines to the end of /etc/profile

Quote:
PATH=$PATH:/usr/local/ant/bin
ANT_HOME=/usr/local/ant
A successfull Ant installation can be confirmed by running
Quote:
ant -v

Apache Ant version 1.7.0 compiled on December 13 2006
Buildfile: build.xml does not exist!
Build failed



3. Subversion


Subversion installation is necessary only if you are want to install the latest development version of Red5 from the trunk. If you are installing a stable version of Red5, then you can skip this step.

Install the latest version of subversion using yum,
Quote:
yum -y install subversion
('-y doesn't ask for confirmation')

If yum reports 'nothing to do' then,


a. Open /etc/yum.conf and check whether there is a line starting with 'exclude='
If yes, then comment out the kine by adding a # before the line.
If not, then follow the the following step

b. Add the rpmforge repo by downloading and installing,

Quote:
wget http://dag.wieers.com/packages/rpmfo...l4.rf.i386.rpm
rpm -Uvh rpmforge-release-0.3.6-1.el4.rf.i386.rpm

Now run ,
Quote:
yum -y install subversion
Do remember to uncomment the 'exclude=' line in /etc/yum.conf if you commented it as it could prove as an important security measure.



RED 5 Installation


This command will checkout the red5 trunk into the red5-trunk directory.
Now you are ready to build the server.
Quote:
cd red5-trunk
ant ivyclear dist
This will clear the ivy configs and build the server. Once that is finished We should first try and run the server from the red5-trunk/dist directory to make sure it is working.

Quote:
cd dist
chmod 755 red5.sh
screen
sh red5.sh
At this point the server should start. You can hit Ctr+ C to stop it. If you get this far without errors you should be good to go. However, it is good to keep red5 in /usr/local/red5 so do the following.
Quote:
mkdir /usr/local/red5
cp -R dist/* /usr/local/red5
Now you can navigate to /usr/local/red5 and start the server in the same way as above. If there are no errors you should now have the latest version of red5 installed and working fine.
Quote:
screen
sh red5.sh

Note : Use screen to start red5 because when you close out your ssh session red5 will shut down unless it is running as a
daemon process.

To install a stable release of Red 5 , the process is very similar. See below for the steps for installing a stable Red5 version. The latest release version is 0.6.3

Quote:
wget http://dl.fancycode.com/red5/0.6.3/s...5-0.6.3.tar.gz
tar -xzvf red5-0.6.3.tar.gz
mv red5-0.6.3 /usr/local/red5
cd /usr/local/red5
chmod 755 red5.sh red5-shutdown.sh red5_debug.sh
screen
sh red5.sh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-04-2008, 09:45 AM
Moderator
 
Join Date: Feb 2008
Posts: 195
Default

Please see the post below on a more automated install..

How To: Automated Red5 Installation
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 08-23-2008, 03:46 AM
Junior Member
 
Join Date: Aug 2008
Posts: 1
Default Port 1935 failed

We have installed Red5 on our server,
1935 port is opened on the server but http://localhost:5080/demos/port_tester.swf is not connecting to 1935 port.

Please advice.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-24-2010, 06:46 AM
Junior Member
 
Join Date: May 2010
Location: London
Posts: 1
Default An easy tutorial to install and set up Red5 on windows

RED5 Installation and setup. (How to)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 06-15-2010, 01:15 AM
Junior Member
 
Join Date: Jun 2010
Posts: 1
Default Red5 on linux, centos, redhat

Easyway to install and configure Red5 on Linux Box
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 01:31 AM.


Powered by: vBulletin
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15