[Red5] red 5 Linux install on CentOS
Colm Brazel
colmbrazel at gmail.com
Fri Jan 4 11:18:53 PST 2008
Hi,
not finding 'tools.jar' means java jdk version required and not the
just jre java, I got/installed a current java .jdk
Using info(thanks Tom) on
http://www.nabble.com/Re%3A-installation-of-Red5-on-Centos-4.5-p14578237.html
in particular 'ant ivyclear dist' from red5 directory, this began
setup ending with the following 2 lines
[INFO] 2008-01-04 12:48:21,465 main:( org.mortbay.log.invoke0 )
Started SelectChannelConnector at 0.0.0.0:5080
[INFO] 2008-01-04 12:48:21,467 main:( org.red5.server.Standalone.main
) Startup done in: 13416 ms
>From above, I think I got it working but my portscanner shows 5080
closed and I don't see a port_tester.swf
I guess there is a tut on testing a first application, if not, pointers welcome.
Colm
On Jan 4, 2008 3:31 AM, Thomas Johnson <tomfmason at gmail.com> wrote:
> I would suggest that you use yum to install all packages if at all possible.
> However, I think the CentOs repo only has 1.6.5. Also, that copy of red5 is
> not the latest. I would suggest that you follow the how-to from my previous
> email as it has worked for me on three different operating systems including
> FC4, Debian Etch and Windows.
>
>
>
> On Jan 4, 2008 9:03 AM, Colm Brazel <colmbrazel at gmail.com> wrote:
> > Tom,
> >
> > Yes, scrap what I wrote b4, I'm now following
> > http://osflash.org/red5/linux-install:
> >
> > It worked pretty well until it came up with a missing ' tools.jar',
> > I'll look at your previous email links shortly, but if you see
> > anything
> > from the following, let me know, especially issue of 'tools.jar
> >
> > //////////////////////////install log\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
> >
> > [root at server3035 admin]# wget
> > http://apache.mirror.transip.nl/ant/binaries/apache-ant-1.7.0-bin.tar.gz
> > --08:54:32--
> http://apache.mirror.transip.nl/ant/binaries/apache-ant-1.7.0-bin.tar.gz
> > => `apache- ant-1.7.0-bin.tar.gz'
> > Resolving apache.mirror.transip.nl... 80.69.67.3
> > Connecting to apache.mirror.transip.nl|80.69.67.3|:80... connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 8,958,777 (8.5M) [application/x-gzip]
> >
> > 100%[====================================>] 8,958,777 887.22K/s ETA
> 00:00
> >
> > 08:54:46 (930.64 KB/s) - `apache-ant-1.7.0-bin.tar.gz' saved
> [8958777/8958777]
> >
> > [root at server3035 admin]# ls
> > apache-ant-1.7.0-bin.tar.gz oldlogs
> > CBone.swf openwrt-wrt54g-jffs2.bin
> > coldfusion-61-lin.bin red5-0.6.3
> > colmA.psd testA.qxd
> > colm.psd webmin-1.290
> > latest.tar webmin-1.290.tar
> > mail wordpress-2[1][1].0.4.tar.gz
> > mbox ZendOptimizer-3.0.1-linux-glibc21-i386
> > NERO ZendOptimizer-3.0.1-linux-glibc21-i386.tar
> > [root at server3035 admin]# tar -zxf apache-ant-1.7.0-bin.tar.gz
> > [root at server3035 admin]# sudo mv apache-ant-1.7.0 /opt/ant
> > [root at server3035 admin]# export ANT_HOME=/opt/ant
> > [root at server3035 admin]# sudo ln -s /opt/ant/bin/ant /usr/bin/ant
> > [root at server3035 admin]# wget
> > http://dl.fancycode.com/red5/0.6.3/src/red5-0.6.3.tar.gz
> > --08:57:18-- http://dl.fancycode.com/red5/0.6.3/src/red5-0.6.3.tar.gz
> > => `red5-0.6.3.tar.gz'
> > Resolving dl.fancycode.com... 213.133.108.69
> > Connecting to dl.fancycode.com|213.133.108.69|:80... connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 39,311,128 (37M) [application/x-tar]
> >
> > 100%[====================================>] 39,311,128 2.15M/s ETA
> 00:00
> >
> > 08:57:49 (1.71 MB/s) - `red5-0.6.3.tar.gz' saved [39311128/39311128]
> >
> > [root at server3035 admin]# tar -zxf red5-0.6.3.tar.gz
> > [root at server3035 admin]# mv red5-0.6.3 red5
> > [root at server3035 admin]# export JAVA_HOME=/usr/java/jre1.6.0_03/
> > [root at server3035 admin]# export ANT_HOME=/opt/ant/
> >
> > [root at server3035 admin]# cd red5
> > [root at server3035 red5]# ls
> >
> > build.properties ivyconfig.xml red5.bat red5-shutdown.bat
> webapps
> > build.xml ivy.xml red5_debug.bat red5-shutdown.sh
> > conf lib red5_debug.sh src
> > doc license.txt red5-highperf.bat swf
> > dumps Makefile red5.sh test
> > [root at server3035 red5]# /opt/ant/bin/ant prepare
> > Unable to locate tools.jar. Expected to find it in
> > /usr/java/jre1.6.0_03/lib/tools.jar
> > Buildfile: build.xml
> > [echo] java.home is /usr/java/jre1.6.0_03 and the target version is
> 1.6
> >
> > prepare:
> > [mkdir] Created dir: /home/.users/112/admin/red5/bin
> > [mkdir] Created dir: /home/.users/112/admin/red5/dist
> > [mkdir] Created dir: /home/.users/112/admin/red5/bin/testcases
> > [mkdir] Created dir:
> /home/.users/112/admin/red5/bin/testcases/testreports
> >
> > BUILD SUCCESSFUL
> > Total time: 1 second
> > [root at server3035 red5]# /opt/ant/bin/ant build
> > Unable to locate tools.jar. Expected to find it in
> > /usr/java/jre1.6.0_03/lib/tools.jar
> > Buildfile: build.xml
> > [echo] java.home is /usr/java/jre1.6.0_03 and the target version is
> 1.6
> >
> > BUILD FAILED
> > Target "build" does not exist in the project "RED5".
> >
> > Total time: 1 second
> > [root at server3035 red5]# ls
> > bin doc license.txt red5-highperf.bat swf
> > build.properties dumps Makefile red5.sh test
> > build.xml ivyconfig.xml red5.bat red5-shutdown.bat
> webapps
> > conf ivy.xml red5_debug.bat red5-shutdown.sh
> > dist lib red5_debug.sh src
> > [root at server3035 red5]#
> >
> >
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> >
> >
> > Colm
> >
> >
> >
> >
> > On Jan 4, 2008 2:29 AM, Thomas Johnson <tomfmason at gmail.com> wrote:
> > > Colm,
> > >
> > > First, it is java -version, sorry. Secondly, it appears that you do not
> have
> > > ant installed and if you do the ANT_HOME path variable is not set
> correct.
> > > Please see http://ant.apache.org/manual/install.html#classpath for more
> info
> > > (scroll down to Linux/Unix (bash)). I wrote a simple how-to a few days
> ago
> > > in this mailing list. I think it has the same subject line as this one.
> If
> > > you are new to the list you can find an archived version here
> > >
> http://www.nabble.com/Re%3A-installation-of-Red5-on-Centos-4.5-p14578237.html
> > > . I think you may have missed a couple import steps. I would start over
> and
> > > follow those directions and see how far it takes you.
> > >
> > > Good luck,
> > > Thomas
> > >
> >
> >
> >
> > > _______________________________________________
> > > Red5 mailing list
> > > Red5 at osflash.org
> > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> > >
> >
> > _______________________________________________
> > Red5 mailing list
> > Red5 at osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
More information about the Red5
mailing list