My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
InstallationCentOS5  
Documentation for getting OM working With CentOS 5
Installation, Configuration
Updated Aug 28, 2011 by lee.archer@thebigword.com

Installation for openmeetings on CentOS 5

When installing CentOS 5 set the default installation to Server and select Customise now. Ensure the following are selected:

In Development

Development Libraries
Development Tools

In Servers

MySQL Database

In Base System

Java

Once installed I generally disable/turn off the following but adjust for your installation:

In Firewall configuration

Security Level: Disabled
SELinux: Disabled

In System services

apmd
auditd
autofs
avahi-daemon
bluetooth
cpuspeed
cups
firstboot
gpm
hidd
ip6tables
iptables
irqbalance
mcstrans
mdmonitor
microcode_ctl
netfs
nfslock
pcscd
portmap
restorecond
rpcidmapd
rpcsvcgssd
sendmail
smartd
xfs
yum-updatesd

Once the OS has been installed run:

yum update

The following items need to be removed if they have been installed:

rpm -e ImageMagick-6.2.8.0-4.el5_1.1
rpm -e --nodeps sox-12.18.1-1

Next mysql needs to be configured and started:

default-character-set=utf8
character-set-server=utf8
chkconfig mysqld on
service mysqld start

Install the rpmforge repo:

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Edit /etc/rc.local:

/usr/lib/openoffice.org3/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &

Next all of the various dependancies need to be installed:

yum install freetype freetype-devel fontconfig fontconfig-devel java-1.6.0-openjdk-devel libtiff libtiff-devel libjpeg-devel libjpeg giflib giflib-devel libpaper libpaper-devel xml-commons-apis
libpng libpng-devel libxml2 libxml2-devel fftw3 fftw3-devel cairo cairo-devel flac flac-devel wavpack wavpack-devel libsndfile libsndfile-devel libmad libmad-devel yasm-devel yasm gcc gcc-c++

Install the required OpenOffice products:

yum groupinstall 'Office/Productivity'
yum install openoffice.org-headless

Remove the CentOS RPM versions of ghostscript and ghostscript-devel:

rpm -e --nodeps ghostscript ghostscript-devel

Now we need to download the latest versions of certain programs and manually build and install:

Ghostscript

cd /usr/src
wget http://ghostscript.com/releases/ghostscript-8.71.tar.gz
tar zxvf ghostscript-8.71.tar.gz
cd ghostscript-8.71
./configure --prefix=/usr
mkdir obj
mkdir bin
make all
make install

Lame

cd /usr/src
wget http://downloads.sourceforge.net/project/lame/lame/3.98.4/lame-3.98.4.tar.gz
tar zxvf lame-3.98.4.tar.gz
cd lame-3.98.4
./configure --prefix=/usr
make all
make install

SWFTOOLS

cd /usr/src
wget http://www.swftools.org/swftools-0.9.1.tar.gz
tar zxvf swftools-0.9.1.tar.gz
cd swftools-0.9.1
./configure --prefix=/usr
make all
make install

ImageMagick

cd /usr/src
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.6.4-10.tar.gz
tar zxvf ImageMagick-6.6.4-10.tar.gz
cd ImageMagick-6.6.4-10
./configure --prefix=/usr
make all
make install

FFmpeg

cd /usr/src
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --enable-libmp3lame --enable-postproc --enable-gpl --enable-pthreads --enable-avfilter --prefix=/usr
make all
make install

SoX

cd /usr/src
wget http://downloads.sourceforge.net/project/sox/sox/14.3.1/sox-14.3.1.tar.gz
tar zxvf sox-14.3.1.tar.gz
cd sox-14.3.1
./configure --prefix=/usr
make all
make install

openmeetings

cd /usr/src
wget http://i4demo.com/openmeetings/builds/368/openmeetings_r3537.zip
unzip openmeetings_r3537.zip -d om

cd /usr/src/om/webapps/openmeetings/conf
cp mysql_hibernate.cfg.xml hibernate.cfg.xml
cd /usr/src/om
sh ./red5.sh

http://<SERVER IP ADDRESS>:5080/openmeetings/install

Comment by asi...@simplyappointments.com, Nov 30, 2010

I had to follow to get doc uploads to work.

http://groups.google.com/group/openmeetings-user/browse_thread/thread/6dc235613ccf017d/fc3f04751bbb3086?lnk=gst&q=SWFTools+x64#fc3f04751bbb3086

Step 5: install SWFTools yum install freetype-devel yum install libjpeg-devel yum install giflib-devel yum install gcc gcc-c++ (This seems to be the missing link... )

Comment by mpic...@gmail.com, Feb 20, 2011

Building SWFTools did not work on CentOS5.5 64 bit.

I just did a 'yum install swftools' instead.

Comment by project member lee.archer@thebigword.com, Feb 21, 2011

Hi, you can install swftools via yum but I don't know if you will run into any conversion issues.

Comment by thatsfin...@gmail.com, Feb 22, 2011

When i do sh ./red5.sh

I end up with

PreservingRunnable?.java:64)

at java.util.concurrent.ThreadPoolExecutor?.runWorker(ThreadPoolExecutor?.java:1110) at java.util.concurrent.ThreadPoolExecutor?$Worker.run(ThreadPoolExecutor?.java:603) at java.lang.Thread.run(Thread.java:636)
Bootstrap complete

It doesnt move ahead.

When I open http://64.xxx.xxx.xxx:5080/openmeetings/install

I get

HTTP Status 404 - /openmeetings/install

type Status report

message /openmeetings/install

description The requested resource (/openmeetings/install) is not available. Apache Tomcat/6.0.18

Please help...

While red5 is installed on my server.

Thanks

Comment by snehal.c...@msp1software.com, Mar 1, 2011

how to add this as a default service so that every time i need not to start it

Comment by real...@gmail.com, Mar 2, 2011

speak in chinese please

Comment by warrior...@gmail.com, Mar 3, 2011

FFmpeg 的下载地址无法打开。

Comment by nickythe...@gmail.com, Mar 4, 2011

FFmpeg has moved from svn to git.

new install instructions:

cd /usr/src
git clone git://git.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --enable-libmp3lame --enable-postproc --enable-gpl --enable-pthreads --enable-avfilter --prefix=/usr
make all
make install
Comment by nickythe...@gmail.com, Mar 4, 2011

mysql install instructions:

yum install mysql mysql-server mysql-devel
/etc/init.d/mysqld start
mysql

set root password on mysql

mysql> USE mysql;
mysql> UPDATE user SET Password=PASSWORD('new pass here') WHERE user='root';
mysql> FLUSH PRIVILEGES;

logging into mysql afterward

mysql -u root -p
Enter Password: <your password>

make mysqld auto start on system boot

chkconfig mysqld on
Comment by warrior...@gmail.com, Mar 6, 2011

想问一下,openmeetings 有支持2000个点需要什么样的方案。

Comment by otsF...@gmail.com, Mar 8, 2011

A couple more things that need to be done: Edit: /usr/src/om/red5/webapps/openmeetings/conf/hibernate.cfg.xml

and add your mysql credentials

then edit /etc/my.cnf and add:

mysqld (in straight brackets)

default-character-set=utf8

character-set-server=utf8

at the bottom.

Then drop (delete) the openmeetings database, restart mysql & re-run the installation. Found here:

http://osdir.com/ml/openmeetings-user/2011-02/msg00095.html

Comment by project member lee.archer@thebigword.com, Mar 8, 2011

Sorry, my mistake I put in the bits for mysqld but didnt say where and which file. I will update the script. I will update for ffmpeg also.

Thanks

Lee

Comment by jessie.m...@gmail.com, Mar 17, 2011

Hi Lee,

I followed carefully the installation above and when I start the "sh ./red5.sh" i got output:

WARN? [Timer-2] com.mchange.v2.async.ThreadPoolAsynchronousRunner? - Task com.mchange.v2.resourcepool.BasicResourcePool?$AcquireTask?@168be1b (in deadlocked PoolThread?) failed to complete in maximum time 60000ms. Trying interrupt(). WARN? [Timer-2] com.mchange.v2.async.ThreadPoolAsynchronousRunner? - Task com.mchange.v2.resourcepool.BasicResourcePool?$AcquireTask?@198f5e7 (in deadlocked PoolThread?) failed to complete in maximum time 60000ms. Trying interrupt().

At this point, i am on my browser opening: http://my.ip:5080/openmeetings/install?command=step2 I manage to fill up the Step 1 and then nothing happens.

If you have the solution for this, may ask for help on how can I make this part works?

Comment by susethai...@gmail.com, Mar 22, 2011

Hi,

Click the Install button, and then do not go the next step.

Error: org.openmeetings.app.installation.ImportInitvalues?? http-0.0.0.0-5080-1? - loadInitLanguages lang: {id=10, name=swedish, rtl=false} loadInitLanguages rtl from xml: false

Note: openmeetings_1_6_2_r3675 CentOS 5.5 i386, java-1.6.0-openjdk-1.6.0.0-1.16.b17.el5.i386

One question openmeetings work on java-openjdk or java-sun?

Thanks

Comment by jfb0...@gmail.com, Apr 3, 2011

Sorry my bad english, I'm brazilian.

I'm trying to install openmeetings on a redhat 5 server.

I installed all dependencies and I could start and configure Openmeetings through http://server_ip:5080/openmeetings/install.

But when I try to access the system, the progress bar appears and in a few seconds I receive this message:

"A script in this movie is causing Adobe Flash Player 10 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script? [Yes/No]"

I type No?, but the message become again and again.

I tried to access from different systems (Windows,Linux), but I always receive the same message.

When I run openmeetings on my laptop (Ubuntu 10.10), the message doesn't appears and everything works fine.

I think the problem is swftools, it's the only explanation, but it compiles and installs normally.

The SWFTools is not available in yum.

Please I need help.

Comment by hs1...@gmail.com, Apr 9, 2011

Can't login http://server_ip:5080/openmeetings .

version : openmeetings_1_6_2_r3675. the error is no line of Domain: Local DB (internal) . first time can see that line but after restart over of red5.sh it gone.

anyone can help?

Comment by hs1...@gmail.com, Apr 9, 2011

Cannot upload user picture profile.

=======.

Name: exitValue Value: -1 Name: command Value: [/usr/local/include/ImageMagick?/convert, -thumbnail, 240x240, /opt/red5/webapps/openmeetings/upload/profiles/profile_1/DSC_9896.jpg, /opt/red5/webapps/openmeetings/upload/profiles/profile_1/big_DSC_9896.jpg] Name: error Value: Cannot run program "/usr/local/include/ImageMagick?/convert": java.io.IOException: error=2, No such file or directory Name: process Value: generateBatchThumbByWidth Name: exitValue Value: -1 Name: command Value: [/usr/local/include/ImageMagick?/convert, -thumbnail, 40x40, /opt/red5/webapps/openmeetings/upload/profiles/profile_1/DSC_9896.jpg, /opt/red5/webapps/openmeetings/upload/profiles/profile_1/chat_DSC_9896.jpg] Name: error Value: Cannot run program "/usr/local/include/ImageMagick?/convert": java.io.IOException: error=2, No such file or directory Name: process Value: generateBatchThumbByWidth Name: exitValue Value: -1 Name: command Value: [/usr/local/include/ImageMagick?/convert, -thumbnail, 126x126, /opt/red5/webapps/openmeetings/upload/profiles/profile_1/DSC_9896.jpg, /opt/red5/webapps/openmeetings/upload/profiles/profile_1/profile_DSC_9896.jpg] Name: error Value: Cannot run program "/usr/local/include/ImageMagick?/convert": java.io.IOException: error=2, No such file or directory Name: process Value: generateBatchThumbByWidth

Comment by vmbe...@gmail.com, May 17, 2011

I get the following while starting red5: org.springframework.beans.factory.BeanCreationException?: Error creating bean with name 'red5.core' defined in class path resource [red5.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException?: Could not instantiate bean class [org.springframework.context.support.FileSystemXmlApplicationContext?]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException?: Error creating bean with name 'rtmpsTransport' defined in class path resource [red5-core.xml]: Invocation of init method failed; nested exception is java.net.BindException?: Address already in use

at org.springframework.beans.factory.support.ConstructorResolver?.autowireConstructor(ConstructorResolver?.java:283) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory?.autowireConstructor(AbstractAutowireCapableBeanFactory?.java:984) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory?.createBeanInstance(AbstractAutowireCapableBeanFactory?.java:886) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory?.doCreateBean(AbstractAutowireCapableBeanFactory?.java:479) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory?.createBean(AbstractAutowireCapableBeanFactory?.java:450) at org.springframework.beans.factory.support.AbstractBeanFactory?$1.getObject(AbstractBeanFactory?.java:290) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry?.getSingleton(DefaultSingletonBeanRegistry?.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory?.doGetBean(AbstractBeanFactory?.java:287) at org.springframework.beans.factory.support.AbstractBeanFactory?.getBean(AbstractBeanFactory?.java:189) at org.springframework.beans.factory.support.DefaultListableBeanFactory?.preInstantiateSingletons(DefaultListableBeanFactory?.java:557) at org.springframework.context.support.AbstractApplicationContext?.finishBeanFactoryInitialization(AbstractApplicationContext?.java:842) at org.springframework.context.support.AbstractApplicationContext?.refresh(AbstractApplicationContext?.java:416) at org.red5.server.Launcher.launch(Launcher.java:62) at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.java:57) at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:135) at org.red5.server.Bootstrap.main(Bootstrap.java:50)
Caused by: org.springframework.beans.BeanInstantiationException?: Could not instantiate bean class [org.springframework.context.support.FileSystemXmlApplicationContext?]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException?: Error creating bean with name 'rtmpsTransport' defined in class path resource [red5-core.xml]: Invocation of init method failed; nested exception is java.net.BindException?: Address already in use
at org.springframework.beans.BeanUtils?.instantiateClass(BeanUtils?.java:141) at org.springframework.beans.factory.support.SimpleInstantiationStrategy?.instantiate(SimpleInstantiationStrategy?.java:107) at org.springframework.beans.factory.support.ConstructorResolver?.autowireConstructor(ConstructorResolver?.java:275) ... 18 more
Caused by: org.springframework.beans.factory.BeanCreationException?: Error creating bean with name 'rtmpsTransport' defined in class path resource [red5-core.xml]: Invocation of init method failed; nested exception is java.net.BindException?: Address already in use
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory?.initializeBean(AbstractAutowireCapableBeanFactory?.java:1401) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory?.doCreateBean(AbstractAutowireCapableBeanFactory?.java:512) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory?.createBean(AbstractAutowireCapableBeanFactory?.java:450) at org.springframework.beans.factory.support.AbstractBeanFactory?$1.getObject(AbstractBeanFactory?.java:290) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry?.getSingleton(DefaultSingletonBeanRegistry?.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory?.doGetBean(AbstractBeanFactory?.java:287) at org.springframework.beans.factory.support.AbstractBeanFactory?.getBean(AbstractBeanFactory?.java:189) at org.springframework.beans.factory.support.DefaultListableBeanFactory?.preInstantiateSingletons(DefaultListableBeanFactory?.java:557) at org.springframework.context.support.AbstractApplicationContext?.finishBeanFactoryInitialization(AbstractApplicationContext?.java:842) at org.springframework.context.support.AbstractApplicationContext?.refresh(AbstractApplicationContext?.java:416) at org.springframework.context.support.FileSystemXmlApplicationContext?.<init>(FileSystemXmlApplicationContext?.java:140) at org.springframework.context.support.FileSystemXmlApplicationContext?.<init>(FileSystemXmlApplicationContext?.java:106) at sun.reflect.NativeConstructorAccessorImpl?.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl?.newInstance(NativeConstructorAccessorImpl?.java:57) at sun.reflect.DelegatingConstructorAccessorImpl?.newInstance(DelegatingConstructorAccessorImpl?.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at org.springframework.beans.BeanUtils?.instantiateClass(BeanUtils?.java:126) ... 20 more
Caused by: java.net.BindException?: Address already in use
at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl?.bind(ServerSocketChannelImpl?.java:137) at sun.nio.ch.ServerSocketAdaptor?.bind(ServerSocketAdaptor?.java:77) at org.apache.mina.transport.socket.nio.NioSocketAcceptor?.open(NioSocketAcceptor?.java:251) at org.apache.mina.transport.socket.nio.NioSocketAcceptor?.open(NioSocketAcceptor?.java:48) at org.apache.mina.core.polling.AbstractPollingIoAcceptor?.registerHandles(AbstractPollingIoAcceptor?.java:521) at org.apache.mina.core.polling.AbstractPollingIoAcceptor?.access$200(AbstractPollingIoAcceptor?.java:65) at org.apache.mina.core.polling.AbstractPollingIoAcceptor?$Acceptor.run(AbstractPollingIoAcceptor?.java:405) at org.apache.mina.util.NamePreservingRunnable?.run(NamePreservingRunnable?.java:64) at java.util.concurrent.ThreadPoolExecutor?.runWorker(ThreadPoolExecutor?.java:1110) at java.util.concurrent.ThreadPoolExecutor?$Worker.run(ThreadPoolExecutor?.java:603) at java.lang.Thread.run(Thread.java:636)

Comment by karlo...@gmail.com, May 19, 2011

Just change the port for RTMPS. You can find it in conf/red5.properties.

Comment by sukrant2...@gmail.com, May 27, 2011

I tried it many times, don't know what is issue after step 1 , it never gos to step 2.... Please post writer if you really configure this Server in any Centos Server, only then comment & try to help them out..

Otherwise Please don't misguid more like the same Post..

Comment by lowraid...@gmail.com, Aug 29, 2011

On 64 bit centos a symlink to the lame lib needs to be created else the the make process will fail.

ln -s /usr/lib/libmp3lame.so.0 /usr/lib64/libmp3lame.so.0

Comment by loivgi...@gmail.com, Oct 24, 2011

Caused by: java.net.BindException?: Address already in use

at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl?.bind(ServerSocketChannelImpl?.java:
137)
at sun.nio.ch.ServerSocketAdaptor?.bind(ServerSocketAdaptor?.java:77) at org.apache.mina.transport.socket.nio.NioSocketAcceptor?.open(NioSocket?
Acceptor.java:251)
at org.apache.mina.transport.socket.nio.NioSocketAcceptor?.open(NioSocket?
Acceptor.java:48)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor?.registerHandle
s(AbstractPollingIoAcceptor?.java:521)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor?.access$200(Abs
tractPollingIoAcceptor.java:65)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor?$Acceptor.run(A
bstractPollingIoAcceptor.java:405)
at org.apache.mina.util.NamePreservingRunnable?.run(NamePreservingRunnabl?
e.java:64)
at java.util.concurrent.ThreadPoolExecutor?.runWorker(ThreadPoolExecutor?.
java:1110)
at java.util.concurrent.ThreadPoolExecutor?$Worker.run(ThreadPoolExecutor?
.java:603)
at java.lang.Thread.run(Thread.java:679)
Bootstrap complete

I get that after running Red5.sh, when i go to http://IPaddress:5080/openmeetings/install; i am getting a "HTTP Status 404 - /openmeetings/install

type Status report

message /openmeetings/install

description The requested resource (/openmeetings/install) is not available. Apache Tomcat/6.0.18" What else am I missing?

Powered by Google Project Hosting