Gentoo Wiki



Openmeetings is a webbased conferencing and meeting application, written on a red5 architecture in Flash. So you'll need to install Red5. An ebuild is available at . Add it to your overlay.

The complete installation of openmeetings is described at You will also need OpenOfficeConvertor. The installation is described here

Pre installation

So install the following:

echo "app-office/openoffice gnome" >> /etc/portage/package.use
echo "x11-libs/cairo X" >> /etc/portage/package.use
emerge red5 swftools x11-libs/libXrandr libXtst cairo gtk+ imagemagick ghostscript  openoffice

Then create the following two files:

File: /etc/init.d/openoffice
#  headless server script
# chkconfig: 2345 80 30
# description: headless openoffice server script
# processname: openoffice
# Author: Vic Vijayakumar
# Modified by Federico Ch. Tomasczik
# Gentoofied by BraveCobra

start() {
    ebegin "Starting OpenOffice headless server"
    $SOFFICE_PATH -headless -nologo -nofirststartwizard -accept="socket,host=,port=8100;urp" &> /dev/null 2>&1
    eend $?

stop() {
    ebegin "Stopping OpenOffice headless server."
    killall -9 soffice.bin
    eend $?
File: /etc/conf.d/openoffice
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: //etc/conf.d/openoffice


Edit /etc/init.d/red5

File: /etc/init.d/red5
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2
# $Header: $

depend() {
        need net
        use dns logger postgresql mysql

start() {
        ebegin "Starting Red5"
        cd /opt/red5
        su -s /bin/bash -c "/usr/bin/nohup /opt/red5/ &" ${RED5_USER} > /dev/null 2>&1
        eend $?

stop () {
        ebegin "Stopping Red5"
        su -s /bin/bash -c "killall -q -u ${RED5_USER} java" ${RED5_USER} > /dev/null 2>&1
        eend $?


File: /etc/conf.d/red5
# Red5's User


rc-update add openoffice default
rc-update add red5 default


Copy the content of to /opt/red5/webapps so that the openmeetings folder resides in /opt/red5/webapps now

chmod -R red5:red5 /opt/red5/webapps/openmeetings

Now we start the red5 server with

 /etc/init.d/red5 start

Create a database on mysql

 mysql -u root -p < create database openmeetings;

And choose the hibernate.cfg.xml file

 cd /opt/red5/webapps/openmeetings/conf/
 cp mysql_hibernate.cfg.xml hibernate.cfg.xml

Now edit it

File: hibernate.cfg.xml
<!-- User  / Password -->
<property name="connection.username">root</property>
<property name="connection.password">MyPassword</property>
<!-- Database Settings -->
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQLInnoDBDialect</property>
<property name="connection.url">jdbc:mysql://localhost/openmeetings?useUnicode=true&createDatabaseIfNotExist=true&characterEncoding=utf-8</property>

Point your browser to


and follow the instructions

Retrieved from ""

Last modified: Sun, 28 Sep 2008 12:04:00 +0000 Hits: 716