linux centos openmettings 2.2 安装

Installatie Openmeetings


  • Install CentOS 6.3 64-bit
  • I’m installing OM on /data, as this server will be a node in a cluster which will be configured at a later stage.


# mkdir -p /install/openmeetings/swftools/ && cd /install/openmeetings/swftools/
 # wget
 # tar xvzf swftools-0.9.2.tar.gz
 # cd swftools-0.9.2
 # yum install gcc-c++ zlib-devel libjpeg-devel freetype-devel giflib-devel
 # ./configure --libdir=/usr/lib --bindir=/usr/bin
 # make
 # vi swfs/Makefile #to avoid a problem while doing "make install"

Remove “-o” and “-L” after each “rm” command

# make install


# yum install ghostscript


# yum install unzip
 # mkdir /install/openmeetings/jodconverter && cd /install/openmeetings/jodconverter/
 # wget
 # unzip

lame & ffmpeg

# mkdir /install/openmeetings/lame && cd /install/openmeetings/lame
 # wget
 # tar xvzf lame-3.99.5.tar.gz && cd lame-3.99.5
 #  ./configure --libdir=/usr/lib --bindir=/usr/bin
 # make && make install
 # mkdir /install/openmeetings/ffmpeg && cd /install/openmeetings/ffmpeg
 # wget
 # tar xvzf ffmpeg-1.1.1.tar.gz
 # cd ffmpeg-1.1.1
 # ./configure --libdir=/usr/lib --bindir=/usr/bin --enable-libmp3lame --disable-yasm
 # make && make install


# yum install sox


# yum install libre-office


# mkdir /install/java && cd/install/java
download Java SE 7 SDK from
 # tar jre-7u11-linux-x64.tar.gz
 # mv jre1.7.0_11 /opt
 # vi /etc/profile.d/
 export JAVA_HOME=/opt/jre1.7.0_11
 export PATH=$PATH:$JAVA_HOME/bin
 # source /etc/profile.d/
 # mkdir -p /install/openmeetings/openmeetings && cd /install/openmeetings/openmeetings
 # wget
 # mkdir /data/openmeetings && cd /data/openmeetings #voor cluster later
 # tar xvzf apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz
 # vi /etc/my.cnf
 # Disabling symbolic-links is recommended to prevent assorted security risks
 default-character-set = utf8
 collation-server = utf8_unicode_ci
 init-connect='SET NAMES utf8'
 character-set-server = utf8
 # service mysqld restart
 # mkdir /install/openmeetings/mysql-connector-java && cd /install/openmeetings/mysql-connector-java
 # wget
 # tar xvzf mysql-connector-java-5.1.22.tar.gz
 # cp mysql-connector-java-5.1.22/mysql-connector-java-5.1.22-bin.jar /data/openmeetings/webapps/openmeetings/WEB-INF/lib/
 # cp /data/openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml /data/openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml
 # vim /data/openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml

Change password

# chmod 640 /data/openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml
 # cd /data/openmeetings/
 # ./

Browse to http://_hostname_:5080/openmeetings/install
username: admin
userpass: password
user time zone: France, … Etc/GMT+1
org name: Your Organization
allow self-reg: no
default rooms: no
smtp-server: your-smtp-server
default language: english
default font: arial
JOD path: /install/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib
Enable SIP: no
Click “Install”, wait untill finished, ctrl-c in terminal windows where was started

# vi /etc/init.d/red5
#!/bin/sh -e
# Startup script for Red5
export RED5_HOME=/data/openmeetings/
start_red5="$RED5_HOME/ start"
stop_red5="$RED5_HOME/ stop"
start() {
        echo -n "Starting Red5: "
        ${start_red5} &
        echo "done."
stop() {
        echo -n "Shutting down Red5: "
        echo "done."
case "$1" in
        sleep 10
        echo "Usage: $0 {start|stop|restart}"
exit 0
# chmod +x /etc/init.d/red5

securing: request certificate and creeation of keystore

  • remove existing keystore:
    # rm -f /data/openmeetings/conf/keystore
  • create new keystore:
    # /opt/jre1.7.0_11/bin/keytool -keysize 2048 -genkey -alias red5 -keyalg RSA -keystore /data/openmeetings/conf/keystore

password: password
first and last name: DNS-name-OM-server
name OU: your-OU
organization: your-organzation
city: city
state: state
country code: country-code
return (same password)

  • create CSR:
  1. /opt/jre1.7.0_11/bin/keytool -certreq -keyalg RSA -alias red5 -file /data/openmeetings/conf/red5.csr -keystore /data/openmeetings/conf/keystore
# cd /install/openmeetings/certs && unzip && cd certs
  • install root certificate:
    # /opt/jre1.7.0_11/bin/keytool -import -alias root -keystore /data/openmeetings/conf/keystore -trustcacerts -file TrustedRoot.crt
    still add? YES
  • install intermediate certificate:
    # /opt/jre1.7.0_11/bin/keytool -import -alias intermed -keystore /data/openmeetings/conf/keystore -trustcacerts -file DigiCertCA.crt
  • installeer server certificate – alias moet hetzelfde zijn als van de CSR:
    # /opt/jre1.7.0_11/bin/keytool -import -alias red5 -keystore /data/openmeetings/conf/keystore -trustcacerts -file crt_file.crt
  • check contents keystore:
    # /opt/jre1.7.0_11/bin/keytool -v -list -keystore /data/openmeetings/conf/keystore
  • copy keystore to keystore.screen to secure the screen sharing functionality
    # cp /data/openmeetings/conf/keystore /data/openmeetings/conf/keystore.screen

secure RMTP

  • change config files:
    # vi /data/openmeetings/conf/red5-core.xml
    below  <!-- RTMPS --> remove the comment characters in order to make the section active

    also replace:

    <property name="keystoreFile" value="conf/keystore" />


    <property name="keystoreFile" value="/data/openmeetings/conf/keystore" />
    # vi /data/openmeetings/conf/

rtmps.keystorepass= password

# chmod 640 /data/openmeetings/conf/
# vi /data/openmeetings/webapss/openmeetings/config.xml
# /etc/init.d/red5 restart
  • test with “tcpdump tcp port 5443″ should result into several packets. “tcpdump tcp port 1935″ should show just 1 packet.

secure HTTP

# cp /data/openmeetings/conf/jee-container-ssl.xml /data/openmeetings/conf/jee-container.xml
 # vi /data/openmeetings/webapps/openmeetings/config.xml
# vi /data/openmeetings/conf/


# /etc/init.d/red5 restart


  • redo installation:
    # rm /data/openmeetings/webapps/openmeetings/conf/install.xml
  • translating: look at /data/openmeetings/webapps/openmeetings/languages and look for text string + id. Look for same id in Openmeetings’ translation tool and translate there.
  • debugging: start openmeetings with (though my /etc/init.d/red5 seemed to show DEBUG output.

Upgrade to Openmeetings 2.1


  • better for intergration with Asterisk. OM 2.0 is troublesome
  • login in with admin account in local DB
  • Administration, Backup, System Backup
    # cd /install/openmeetings/openmeetings
     # /etc/init.d/red5 stop
     # mv /data/openmeetings /data/openmeetings20
     # mkdir /data/openmeetings
     # mv /install/openmeetings/openmeetings/ /install/openmeetings/openmeetings20
     # mkdir /install/openmeetings/openmeetings21 && cd /install/openmeetings/openmeetings21
     # wget
     # tar xvzf *
     # mv * /data/openmeetings/
     # cd /data/openmeetings
     # cp /install/openmeetings/mysql-connector-java/mysql-connector-java-5.1.22/mysql-connector-java-5.1.22-bin.jar ./webapps/openmeetings/WEB-INF/lib/
     # cp webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml
     # vim webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml

, Password=password“/>

# chmod 640 /data/openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml
 # mysqladmin -p drop openmeetings
 # /etc/init.d/red5 start #wait quite some time
  • http://_hostname_:5080/openmeetings/install

Continue with step 1
from here on it’s the same steps as for 2.0
step 2 (takes quite some time)

  • http://_hostname_:5080/openmeetings/
  • Administration, Backup, System Import – import backup
  • log out
    # /etc/init.d/red5 stop
  • Securing RMTP and HTTP the same as for Openmeetings 2.0, requested and imported new certificate.
  • restore the LDAP config files from backup:
    # cp /data/openmeetings20/webapps/openmeetings/conf/edir.ldap.cfg /data/openmeetings/webapps/openmeetings/conf/
    # /etc/init.d/red5 start

    resulted into this error message:
    ERROR 02-02 00:36:32.388 66485 49 org.apache.openmeetings.utils.crypt.ManageCryptStyle NioProcessor-18 - getInstanceOfCrypt
    java.lang.ClassNotFoundException: org.openmeetings.utils.crypt.MD5Implementation
    this is supposed to be fixed in (Committed revision 1442468). It’s the result of importing the backup. It has a faulty setting for the database encryption as this has changed for 2.1 Manul fix:

    # mysql -p -D openmeetings -e "update configuration set conf_value = 'org.apache.openmeetings.utils.crypt.MD5Implementation' where conf_key = 'crypt_ClassName';"


  • in /data/openmeetings/webapps/openmeetings/config.xml:
    <currentappname>Your Organization Conferencing Tool</currentappname>
  • link below that name:
  • remove logo (is this allowed by license?):
    <displayelement name="logo" display="false" x="5" y="5"/></nowiki>
  • get rid of “/openmeetings” in de URL: you don’t need to do anything for this, when you browse to the URL without this suffix, it will redirect correctly.


电子邮件地址不会被公开。 必填项已用 * 标注

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>