Install OpenMeetings

OpenMeetings – An Open Source Web Conferencing Solution that share microphone or webcam, share documents on a white board, share your screen or record meetings.

Install Development Tools

# yum groupinstall “Development Libraries” -y
# yum groupinstall “Development Tools” -y

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

iptables -A INPUT -p tcp -m tcp –dport 1935 -j ACCEPT
iptables -A INPUT -p tcp -m tcp –dport 8088 -j ACCEPT
iptables -A INPUT -p tcp -m tcp –dport 5080 -j ACCEPT
iptables -A INPUT -p tcp -m tcp –dport 4445 -j ACCEPT
iptables -A INPUT -p tcp -m tcp –dport 8443 -j ACCEPT

# yum update

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

[root@server3 ~]# java -version
java version “1.6.0_20”
OpenJDK Runtime Environment (IcedTea6 1.9.10) (rhel-1.23.1.9.10.el5_7-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

Firewall configuration

http://wiki.centos.org/HowTos/SELinux

Security Level: Disabled
SELinux: Disabled

# sestatus

System servcies
………………………..

# ps aux | grep ‘service’

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

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

# vi /etc/rc.local

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

# 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++

# yum groupinstall ‘Office/Productivity’
# yum install openoffice.org-headless

# rpm -e –nodeps ghostscript ghostscript-devel

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

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

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

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

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

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

Download OpenMeetings package

# 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/red5/webapps/openmeetings/conf
# cp mysql_hibernate.cfg.xml hibernate.cfg.xml (add mysql password)

mysql> create database openmeetings;

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

# nohup /usr/lib64/openoffice.org3/program/soffice “-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager” -nologo -headless -nofirststartwizard &

http://SERVER_IP_ADDRESS:5080/openmeetings/install

Errors:

NetConnection.Call.Failed rtmpt://localhost:8088/openmeetings/hibernate