Install OpenMeetings on CentOS

OpenMeetings – An Open Source Web Conferencing Solution

Here is my notes for installing OpenMeetings on CentOS

Ensure the following system services are running
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

Run yum update:
yum update

Install MySQL database
edit MySQL config file: /etc/my.cnf, add multi-language(Chinese) support
[mysqld]
default-character-set=utf8
default-collation=utf8_general_ci
character-set-server=utf8
collation-server=utf8_general_ci
init-connect='SET NAMES utf8'

[client]
default-character-set=utf8

Restart MySQL service
/etc/init.d/mysqld start

Make sure the following firewall ports are open
1935 (RTMP), 8088 (RTMP-Over HTTP), 5080 (HTTP), 4445 (Desktop Sharing), 8443 (RTMP over SSL)

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 &
or
/usr/lib64/openoffice.org3/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &

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 install openoffice.org-base openoffice.org-headless openoffice.org-writer openoffice.org-impress openoffice.org-calc
yum groupinstall 'Office/Productivity'
yum install openoffice.org-headless

Edit /etc/sysconfig/i18n
LANG="zh_CN.UTF-8"
SUPPORTED="zh_CN.UTF-8:zh_CN:zh"

Install Chinese font
yum -y install fonts-chinese fonts-ISO8859-2-75dpi

Install Ghostscript
yum install ghostscript

Install Lame
yum install lame

Install SWFTOOLS
yum install swftools

Install ImageMagick
yum install ImageMagick

Install FFmpeg
yum install ffmpeg

Install SoX
yum install sox

Download OpenMeetings package
(Get the latest version from Google Code. Current version is v1.6.2 release 3675 )
cd /usr/src
wget http://openmeetings.googlecode.com/files/openmeetings_1_6_2_r3675.zip
unzip openmeetings_1_6_2_r3675.zip -d om

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

Edit OpenMeetings config file /usr/src/om/webapps/openmeetings/conf/hibernate.cfg.xml,
add your mysql credentials (username and password).
//localhost/openmeetings is the database address and name (you can create an empty database before the installation)

cd /usr/src/om
nohup ./red5.sh &

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

To start install OpenMeetings, type in the following address
http://www.yourdomain.com:5080/openmeetings/install

6 thoughts on “Install OpenMeetings on CentOS

  • Wednesday July 27th, 2011 at 03:54
    Permalink

    Hi Jack,

    I can access the website via port 5080, which module will open this port? I’ve successfully install everything, so I don’t know what should I do for now?

    Sorry to bother you again.

    Thanks,

    Ivan

    Reply
  • Monday August 1st, 2011 at 22:23
    Permalink

    You will need to open port 5080 on the firewall.

    Reply
  • Thursday August 4th, 2011 at 23:54
    Permalink

    After a long struggle i managed to install succesfully. I had to set mysql NOT to bind to any address (besides the informations to do exactly the opposite) and I had to chmod 777 all the openmeeting installation directories.

    I still couldn´t set as a service to run in init.d, any idea?

    Do you have any idea for optimization? My connection seems to close to often.

    Thanks

    Reply
  • Sunday November 4th, 2012 at 10:26
    Permalink

    Hey there how to get it running as a default service on centos as soon as i close the ssh window openmeetings stops working

    Reply
  • Thursday January 31st, 2013 at 13:17
    Permalink

    use “nohup” so that OpenMeetings will continue to work after you close the ssh window.

    Reply

Leave a Reply to Jack Cancel reply

Your email address will not be published. Required fields are marked *