Install Apache OpenMeeting Web Conferencing Platform in Ubuntu 14

OpenMeeting Web Conferencing platform is a project of the Apache Software Foundation and is used for presentation, on-line training, web conferencing,
collaborative white-board drawing and document editing, and user desktop sharing. OpenMeeting is based on OpenLaszlo RIA framework and Red5 media server. Communication takes place in virtual “meeting rooms” which may be set to different communication, security and video quality modes. The recommended database engine for back-end support is MySQL. The product can be set up as an installed server product, or used as a hosted service.

1 Install JAVA

At first upgrade your system

root@demohost:~# sudo apt-get update
root@demohost:~# sudo apt-get upgrade

OpenMeeting need Java to work. Add its repository and install it using following commands.

root@demohost:~# sudo add-apt-repository ppa:webupd8team/java
root@demohost:~# sudo apt-get update
root@demohost:~# sudo apt-get install oracle-java8-installer

Choose Oracle JAVA if you have more than one JAVA version installed.

root@demohost:~# sudo update-alternatives --config java

2. Install libREoffice

libREoffice is needed to convert the uploaded files to PDF format.

Add the following repository information to APT database, update the database and install libreoffice

root@demohost:~# sudo add-apt-repository ppa:libreoffice/ppa
root@demohost:~# sudo apt-get update
root@demohost:~# sudo apt-get install libreoffice

3. Install ImageMagic

ImageMagic is needed for image manipulation in OpenMeeting white-board. Install ImageMagic along with other libraries using following command.

root@demohost:~# sudo apt-get install -y imagemagick gdebi libgif4 libjpeg62 synaptic zlib1g-dev liboil0.3 unzip make build-essential wget

4. Install SOX

SOX is needed for sound processing. We will compile and install SOX

root@demohost:# cd /usr/src
root@demohost:/usr/src# wget
root@demohost:/usr/src# tar xzvf sox-14.4.2.tar.gz
root@demohost:/usr/src# cd /usr/src/sox-14.4.2
root@demohost:/usr/src/sox-14.4.2# ./configure
root@demohost:/usr/src/sox-14.4.2# make && make install

5. Install Swftools

LibreOffice will convert the uploaded office files to pdf and Swftools will convert these pdf to swf (flash file) that will be shown in the whiteboard.

root@demohost:~# cd /usr/src

For 64 bit

root@demohost:/usr/src# wget
root@demohost:/usr/src# dpkg -i swftools_0.9.1-1_amd64.deb

For 32 bit

root@demohost:/usr/src# wget
root@demohost:/usr/src# dpkg -i swftools_0.9.1-1_i386.deb

6. Install Adobe flash player

Edit /etc/apt/sources.list file . Find and uncomment/add the following lines.

deb trusty partner
deb-src trusty partner

Update the repository.

root@demohost:~# sudo apt-get update

Now Install the flash plugin using the following command.

root@demohost:~# sudo apt-get install adobe-flashplugin

7.  Instalar JODConverter

JODConverter, the Java OpenDocument Converter, converts documents between different office formats.

root@demohost:~# cd /opt
root@demohost:/opt# wget
root@demohost:/opt# unzip
root@demohost:/opt# rm

8. Compilation of FFMPEG

FFMPEG is needed to work with videos. To compile and install FFMPEG, use this link

9. Install MariaDB

Install MariaDB using apt-get. Provide root password when the installer prompts for it.

root@demohost:~# sudo apt-get install mariadb-server
root@demohost:~# /etc/init.d/mysql start
root@demohost:~# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 37
Server version: 5.5.49-MariaDB-1ubuntu0.14.04.1 (Ubuntu)
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> GRANT ALL PRIVILEGES ON open312.* TO 'hola'@'localhost' IDENTIFIED BY '123456' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> quit

10. Installation of OpenMeeting Web Conferencing platform

Create a directory by the name red5312 in /opt . We will install OpenMeeting in this directory.

root@demohost:~# mkdir /opt/red5312
root@demohost:~# cd /opt/red5312
root@demohost:/opt/red5312# wget
--2016-09-06 08:16:43--
Resolving (
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 113599334 (108M) [application/zip]
Saving to: ‘’
100%[==========================================================================================>] 113,599,334  906KB/s   in 92s
2016-09-06 08:18:16 (1.18 MB/s) - ‘’ saved [113599334/113599334]

Unzip the folder.

root@demohost:/opt/red5312# unzip
root@demohost:/opt/red5312# mv /opt

Change the ownership of /opt/red5312 to nobody

root@demohost:/opt/red5312# chown -R nobody /opt/red5312

Install the MySQL connector so that OpenMeeting can connect to MariaDB

root@demohost:/opt/red5312# cd /opt
root@demohost:/opt# wget
root@demohost:/opt# cp /opt/mysql-connector-java-5.1.39.jar /opt/red5312/webapps/openmeetings/WEB-INF/lib

Edit mysql_persistence.xml to provide MySQL database information

root@demohost:/opt# vim /opt/red5312/webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml

Around line 71, change  ………., Url=jdbc:mysql://localhost:3306/openmeetings_3_1?……………to
………., Url=jdbc:mysql://localhost:3306/open312?
the database name that we have created earlier.

Around line 76, Change Username=root to  Username=hola the MySQL user that we have created in step 9.

Around line 77, change  Password=” />  to  Password=123456″ />

Openmeeting Edit MySQL Persistence param

Now change the permission of the file.

root@demohost:/opt# chmod 640 /opt/red5312/webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml

Startup script for red5-OpenMeetings

root@demohost:~# cd /opt
root@demohost:/opt# wget
--2016-09-06 08:32:06--
Resolving (
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1124 (1.1K) [application/octet-stream]
Saving to: ‘red5-ubdeb’
100%[=========================================================================================>] 1,124       --.-K/s   in 0s
2016-09-06 08:32:07 (36.4 MB/s) - ‘red5-ubdeb’ saved [1124/1124]
root@demohost:/opt# cp red5-ubdeb /etc/init.d/
root@demohost:/opt# chmod +x /etc/init.d/red5-ubdeb

Start MySQL

root@demohost:# service mysql start

Start OpenMeetings

root@demohost:# /etc/init.d/red5-ubdeb start

The following lines will appear in the shell
start-stop-daemon: –start needs –exec or –startas
Try ‘start-stop-daemon –help’ for more information.

Nothing to worry about this message.

11. Configure firewall

Configure firewall to allow traffic to port no 1935 5080


[root@demohost ~]# vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 1935 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 5080 -j ACCEPT
[root@demohost ~]# iptables-save > /etc/iptables/rules.v4
[root@demohost ~]# service iptables-persistent restart


[root@demohost ~]# ufw allow 1935/tcp
[root@demohost ~]# ufw allow 5080/tcp
[root@demohost ~]# ufw reload

Now open your favorite browser and point it to http://YOUR-DOMAIN-NAME:5080/openmeetings/install You will get a screen like below.

Start Openmeeting installation


Click “>” Sign


Openmeeting DB configuration


Select DB type as MySQL and click “>”


Openmeeting Userdata


Enter Userdata, group and click “>”


Openmeeting installation complete


Click “Finish”


Openmeeting enter the application


Click “Enter the Application”


Openmeeting sign in


Login to OpenMeeting Web Conferencing system


Openmeeting administration configuration


Click “Administrator” and then “Configuration”


Openmeeting SWF tools path


Edit parameters for the conversion of files, the audio and the video and save it.


Openmeeting image magic path


Provide the value for imagemagic_path parameter and save it.


Openmeeting SOX path


Provide the value for SOX parameter and save it.


Openmeeting FFMPEG path


Provide the value for ffmpeg_path parameter and save it.


Openmeeting office path


Provide the value for office.path parameter and save it.


Openmeeting JOD path


Provide the value for jod.path parameter and save it.


Openmeeting start conference



To start a conference, goto OpenMeeting dashboard and click “Start”


Openmeeting select room


Select a room and click “Enter”


Openmeeting choose device


Choose device and start conference.


Openmeeting allow camera and microphone


Allow “Camera” and “Microphone”


Openmeeting Conference whiteboard


12. CleanUp

Remove the following directories

root@demohost:~# rm -f /opt/
root@demohost:~# rm -f /opt/mysql-connector-java-5.1.39.jar
root@demohost:~# rm -f /opt/sox-14.4.2.tar.gz
root@demohost:~# rm -f -R /opt/sox-14.4.2


Congratulation ! Your OpenMeeting Web Conferencing platform installation is now completed , Hope you have enjoyed this tutorial.

Was this article helpful to you?


Comments are closed.