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
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... )
Building SWFTools did not work on CentOS5.5 64 bit.
I just did a 'yum install swftools' instead.
Hi, you can install swftools via yum but I don't know if you will run into any conversion issues.
When i do sh ./red5.sh
I end up with
PreservingRunnable?.java:64)
Bootstrap completeIt 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
how to add this as a default service so that every time i need not to start it
speak in chinese please
FFmpeg 的下载地址无法打开。
FFmpeg has moved from svn to git.
new install instructions:
mysql install instructions:
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
make mysqld auto start on system boot
想问一下,openmeetings 有支持2000个点需要什么样的方案。
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
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
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?
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
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.
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?
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
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
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 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 Caused by: java.net.BindException?: Address already in useJust change the port for RTMPS. You can find it in conf/red5.properties.
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..
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
Caused by: java.net.BindException?: Address already in use
137) Acceptor.java:251) Acceptor.java:48) s(AbstractPollingIoAcceptor?.java:521) tractPollingIoAcceptor.java:65) bstractPollingIoAcceptor.java:405) e.java:64) java:1110) .java:603) Bootstrap completeI 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?