How to Install Apache OpenMeetings on Ubuntu Linux

apps on screen
apps on screen

OpenMeetings is a cross-platform, free, open-source Apache project that provides video conferencing, instant messaging, whiteboard, and document collaboration for individuals and businesses.

This app is a Java-based app and, similar to WebEx and other remote conference tools, it can be used for online training and many more.

There are four primary audio/video options available when using OpenMeetings. These are audio + video, audio only, video only, and picture only.

You can also record sessions with advanced file explorer with drag n drop interface, multi-whiteboard, chat, user management, and more.

For more about OpenMeetings, please visit its homepage.

Install Oracle JAVA 8

To support OpenMeetings, make sure to have Java installed. To do that, run the commands below. Of course, the easiest way to install Oracle Java JDK 8 on Ubuntu is via a third-party… To add that PPA, run the commands below.

 sudo add-apt-repository ppa:webupd8team/java

After running the commands above, you should see a prompt to accept the PPA key onto Ubuntu… accept and continue.

Now that the PPA repository has been added to Ubuntu, run the commands below to download Oracle Java 8 installer…. the installer should install the latest Java JDK 8 on your Ubuntu machines.

sudo apt update
sudo apt install oracle-java8-installer

When you run the commands above, you’ll be prompted to access the license terms of the software… accept and continue.

oracle java 9

Set Oracle JDK8 as default; install the oracle-java8-set-default package to do that. This will automatically set the JAVA env variable.

sudo apt install oracle-java8-set-default

Now that JAVA is installed, run the commands below to set its home directory.

sudo nano /etc/environment

Then copy and paste the hihighlightedine below and save the file.

export JAVA_HOME

After that, run the commands below.

source /etc/environment

When you run echo $JAVA_HOME, you should see the Java home directory.

Install Required Dependencies for OpenMeetings

After installing Java, run the commands below to install dependencies for OpenMeetingts.

sudo apt install imagemagick ghostscript jodconverter dnsutils build-essential zlib1g-dev libxt6 libxrender1 ffmpeg sox

Install MariaDB Database Server

MariaDB database server is a great place to start when looking at open-source database servers to use with OpenMeetings. To install MariaDB run the commands below.

sudo apt-get install mariadb-server mariadb-client

After installing MariaDB, the commands below can stop, start and enable the MariaDB service to start up when the server boots.

Run these on Ubuntu 16.04 LTS

sudo systemctl stop mysql.service
sudo systemctl start mysql.service
sudo systemctl enable mysql.service

Run these on Ubuntu 17.10 and 18.04 LTS

sudo systemctl stop mariadb.service
sudo systemctl start mariadb.service
sudo systemctl enable mariadb.service

After that, run the commands below to secure the MariaDB server by creating a root password and disallowing remote root access.

sudo mysql_secure_installation

When prompted, answer the questions below by following the guide.

  • Enter current password for root (enter for none): Just press the Enter
  • Set root password? [Y/n]: Y
  • New password: Enter password
  • Re-enter new password: Repeat password
  • Remove anonymous users? [Y/n]: Y
  • Disallow root login remotely? [Y/n]: Y
  • Remove test database and access to it? [Y/n]:  Y
  • Reload privilege tables now? [Y/n]:  Y

Restart MariaDB server

After installing MariaDB, run the commands below to create a database for OpenMeetings.

To log on to the MariaDB database server, run the commands below.

sudo mysql -u root -p

Then create a database called openmeetings

CREATE DATABASE openmeetings;

Create a database user called openmeetingsuser with a new password

CREATE USER 'openmeetingsuser'@'localhost' IDENTIFIED BY 'new_password_here';

Then grant the user full access to the database.

GRANT ALL ON openmeetings.* TO 'openmeetingsuser'@'localhost' IDENTIFIED BY 'user_password_here' WITH GRANT OPTION;

Finally, save your changes and exit.


Download and Install OpenMeetings

Now that Java and MariaDB are installed and configured, run the commands below to download the OpenMeetings package.

cd /tmp && wget

Once the download is completed, extract the downloaded file with the following command:

sudo mkdir -p /opt/openmeetings
sudo tar xvf apache-openmeetings-4.0.4.tar.gz -C /opt/openmeetings

Next, install the Java MySQL connector by running the commands below.

sudo apt-get install libmysql-java
sudo cp /usr/share/java/mysql-connector-java.jar /opt/openmeetings/webapps/openmeetings/WEB-INF/lib/

Finally, run the commands below to start the OpenMeetings process.

cd /opt/openmeetings
sudo sh openmeetings

OpenMeetings should now be created and listening on port 5080.

Open your browser and browse to the server hostname or IP address followed by port 5080/openmeetings


Select MySQL database connection. By default, OpenMeetings uses its internal integrated Apache Derby database. In a production environment, you may want to use MySQL or MariaDB. Please select it, type in the database info you created above, and continue.

OpenMeetings install

Follow the on-screen wizard until the setup is complete. Create an admin account.

openmeetings ubuntu install


You may also like the post below:

Posted by

I love computers; maybe way too much. What I learned I try to share at


  1. I get the error: Unable to load proper DB driver, please download appropriate jar file, and restart the OM. Instructions: MySQL

    Plus apparently I don’t have “red5” installed???
    sh: 0: Can’t open

    Not sure if the two are related.

    Really there’s a lot of hoops to get this program to work in Linux! Wondering if it’s easier just to use Windows 10.

    BTW the current version is “apache-openmeetings-5.0.0-M3.tar.gz ” in which I’m having problems with.

  2. once i choose MySql for Db configuration i got below error:
    “Couldnot create connection to database server.Attempted reconnect 3 times.Giving up”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: