Blah blah intro:
Openmeetings has been dramatically improved over the years, as has its documentation. However, the documentation is still a little tricky and I found I needed to combine a couple sources to really understand what was going on. The English in Openmeetings docs tends to be a little off, which I assume is because the software is of German origin. Anyway, I figured I might be able to help make it more accessible. (I’ve spent so much time using the work of others in the open source community, I might as well try to give something back for once.)
Primarily, the following is drawn from the these two pdf-documents:
- Installation of Apache OpenMeetings 2.x on Ubuntu 12.10 and 12.04 – 32 or 64 bits
- Installing OpenMeetings in Squeeze.pdf
The technical stuff (what you’re likely here for):
Note: The following is what I used to get it working on my computer, running 64bit Ubuntu 12.04.
Flash: Openmeetings is one great big flash application. Everything on it is flash, the text, the video the entry boxes… everything. Needless to say, I wasn’t so psyched about this (being a 64bit linux user) but I was happily surprised to find how stable it is and how much bitching it doesn’t do. Really, I completely forget it’s flash…until I try to right-click something but eh, it’s not so bad.
Step 1: Install Flash on whatever computer you’ll be accessing open meetings on
I almost feel like this isn’t worth going into, there are a whole bunch of articles on it online depending on your operating system. I figure if you have a computer and it’s hooked to the internet, you probably already have flash.
Step 2: Install oracle Java
You will need Oracle’s JDK.; substitutes such as OpenJDK won’t cut it. For Ubuntu users, use the following steps:
- Add the repository:
sudo add-apt-repository ppa:webupd8team/java
- Update your system with the new repo:
sudo apt-get update
- Install Oracle Java6:
sudo apt-get install oracle-java6-installer
Tech note: The above will install the Java6 installer, which will (as part of its install process) run and install the Java6 JDK after it’s installed. I don’t really know why it works this way but there you have it. Also I’ve read that Java7 plays with Openmeetings just fine but haven’t tried it myself.
Once the installer starts going automatically it will inform you that you MUST AGREE TO THE LICENCE (hit enter for ok). Then it will ask you DO YOU AGREE TO THE LICENSE? Since they’ve already given you the ultimatum that you have to, I guess you don’t have much choice; arrow over to yes and hit enter…only after reading the ENTIRE agreement at the url they provide of course ;-D (oh that’s too funny).
Step 3: Install Open-Libre-Whatever Office (or make sure it’s already installed)
Openmeetings has a really sweet document upload feature where all participants can examine word documents, ppt presentations etc in real-time. This uses OpenOffice or LibreOffice to do the conversion (either one will work). So make sure you have a copy installed on the server.
Step 4: Install more conversion software
You’ll need the following packages to properly convert uploaded files to display during the meeting.
1. Sudo apt-get yourself the packages:
sudo apt-get install imagemagick gdebi libgif4 libjpeg62 synaptic2. Download and install swftools using the method below. This will render files into .swf flash when you’re using Openmeetings.
Install this repository:
sudo add-apt-repository ppa:guilhem-fr/swftools
Update your system:
sudo apt-get update
Install the package:
sudo apt-get install swftools
Step 5: Install FFMPG
FFMPG is necessary for the video stuff that Openmeetings needs. The official documentation advises that one should compile FFMPEG…which is a bit of a pain. Being lazy and a humble student of the sacred way of the half-assed, I just used the latest version from the repositories:
sudo apt-get install ffmpeg. I’ve found this to work well enough, though apparently it can present problems when trying to record Openmeetings video feeds. Or, to quote the official documentation in its original prose:
Now should Compile FFMPEG for video. To install the one that comes in the repositories, we would find very possibly problems with the recording video. Our compiled ffmpeg will have characteristics that do not find in the normal version.
…hey at least it reads better than the nonsense I’d have written, were I to explain this in German.
But anyway, if you don’t want to find very possibly problems with the recording video, go ahead and compile ffmpeg. I might add in how to do this later, but the Googler yields some great tutorials on how to make this happen in Ubuntu. I haven’t needed to record the Openmeetings feed yet on my server and so the repo version has worked just fine for me.
Step 6: Install MYSQL
It’s quite likely that you have this going already BUT if you dont…
sudo apt-get install mysql-server
2) It’ll ask you for a new password for the root user. Make up a good one and don’t forget it.
Ok, now a little work here. We need to create a database for Openmeetings to use. So in your terminal and….
- Get into mysql using:
mysql -uroot -p
- It’ll ask you for your password… enter it. (As per usual with the terminal and password, no characters will appear)
- Then enter:
mysql> CREATE DATABASE open2final DEFAULT CHARACTER SET 'utf8';
There, you have now created the database “open2final” Of course you can enter any name for your database you wish and just adjust the configurations to follow; this is just the name the official documentation suggests.
- Now, with mysql still open, create the mysql user that will access the database for openmeetings:
mysql> GRANT ALL PRIVILEGES ON open2final.* TO 'openmeetings'@'localhost' IDENTIFIED BY '123456' WITH GRANT OPTION;
- Again, the name/password are pulled directly from the official documentation; call it whatever you like and adjust the settings below accordingly.
- “open2final” is the database we gave the user access to,
- “openmeetings” is the database username
- “123456” is the password for the user openmeetings
Go ahead and quit out of your mysql terminal by typing “quit” and hitting enter.
Step 7: Finally install the software you were after the whole time
So yea, finally we get to install Openmeetings. Here’s how:
- Go to openmeetings.apache.com and download the latest version ending in tar.gz. (Zip will work too, but I’ll be doing the commands for tar.gz)
$ cd /opt
$ tar zxf /wherever/you/downloaded/openmeetings/to/apache-openmeetings-2.1.whatever.the.version.you.downloaded.tar.gz
- Now rename the Openmeetings directory:
mv apache-openmeetings-version/ red52/(I don’t know why they call it red52 but it works with the install process)
- To get rid of the compressed file:
$ rm /wherever/you/downloaded/openmeetings/to/apache-openmeetings-2.1.whatever.the.version.you.downloaded.tar.gz
- Backup the original configuration file:
$ mv /opt/red52/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml /opt/red52/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml-ori
- Create a new configuration file from template:
$ mv /opt/red52/webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml /opt/red52/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml
- Now we need to edit that configuration file:
$ sudo nano /opt/red52/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml
- Once in persistence.xml, we’re here to change the database settings.
- Look for the line that contains:
- Change “openmeetings” in that line to “open2final” …or whatever you ended up calling your database.
- Then find the line containing :
- Change “root” to “openmeetings” or whatever you named your mysql user above.
- And add the password to the line:
Password="/>so that it reads
Password=123456"/>or whatever password you gave your msql user.
Step 8: Connect Openmeetings to MySQL
Wait, I know what you’re thinking “didn’t I just do that?” Nope, not yet. We need a little java-script package so that your username and password above can actually log into the database and do their thing. (That’s as far as I’ll go into it… because that’s possibly a bit further than I understand it.)
Anyway, carry out the following:
$ cd /opt
Download the connector from here: http://dev.mysql.com/downloads/connector/j/
- Copy the zip file into /opt/
$ unzip mysql-connector-java-5.1.23.zip
$ cp /opt/mysql-connector-java-5.1.23/mysql-connector-java-5.1.23-bin.jar /opt/red52/webapps/openmeetings/WEB-INF/lib
$ rm mysql-connector-java-5.1.23.zip
$ rm -R mysql-connector-java-5.1.23/
$ mv red52/ /usr/lib
$ chown -R nobody /usr/lib/red52
Step 9: Install the JOD converter
The JOD converter is the thing that allows Openmeetings to talk with WhateverOffice.
So monkey see monkey do:
$ cd /opt
$ wget http://jodconverter.googlecode.com/files/jodconverter-core-3.0-beta-4-dist.zip
$ unzip jodconverter-core-3.0-beta-4-dist.zip
$ rm jodconverter-core-3.0-beta-4-dist.zip
Step 10: Get the Red5-OpenMeetings Script
I found this step was especially confusing in the documentation and I really didn’t understand what was going on until I did some hunting around. Red5 is the Openmeetings install script and can be found here:
But depending on this or that, the script needs to be modified, so I’ve saved you a little hunting/typing see below:
- Here’s the directory that the install script (red5) needs to go to:
- Download from one of the two links:
- If you are using OpenOffice:
$ wget https://dl.dropboxusercontent.com/u/11993667/OpenofficeRed5/red5
- If you are using LibreOffice:
$ wget https://dl.dropboxusercontent.com/u/11993667/LibreofficeRed5/red5
- If you are using OpenOffice:
- Make sure it’s executable:
$ chmod +x /etc/init.d/red5
Step 10: Run Openmeetings!
Ok just a few final instructions here:
$ /etc/init.d/red5 start
- You will get some sort of message to the following effect:
start-stop-daemon: --start needs --exec or --startas Try 'start-stop-daemon --help' for more information.Just ignore it, everything should be fine.
- Give it a minute, then open your browser and go to:
- You should see the following page:
- Click Continue with step 1
- Then you’ll get this:
- Configure your administrator name
- Give your admin a password
- enter your email address
- Enter your time zone and the rest
- Then you should get a page presenting you with a few technical options:
- Your JOD path should be /opt/jodconverter-core-3.0-beta-4/lib
- Configure any other unique settings (folks who complied FFMPEG from scratch, I might be looking in your direction)
- Scroll down and click install.
- Grab a snack and come back. (Actually it only took a minute or so on mine)
- And you should get an affirming message in your browser.
To Get at Openmeetings
To access openmeetings for general use as an admin, go to http://localhost:5080/openmeetings/
There you should be asked for your username and password and then be free to go.
Anyway, that’s all! Enjoy! Openmeetings is a really great program and a lot of smart folks have apparently put a lot of work into it and are continuing to do so.
In the likely event that I screwed something up above, please do let me know.
Notice: I did pluck the pictures above from other documentation I found on the Apache Openmeetings site. I figured they were used to promote the software and the writer wouldn’t mind me posting them to help users out. If the owner has an issue with this, for whatever reason, please give me a shout and I’ll take them down and snap my own instead.
18 thoughts on “How to install Open Meetings on Ubuntu 12.04”
Thanks for the great guide! Worked like a charm! The only itty-bitty problem is that in a couple of the commands posted above, the apostrophe character pasted as a “smart” one instead of the standard (‘ instead of ‘), which will cause an error for those who cut and paste.
Hey dude, glad to hear that it helped you out. Good of you to note the comma thing; I actually just installed it on my production server today and kept trying to coppy-paste the stuff into my terminal, only to be confronted with the same aggrivating message you doubtlessly found. I was gonna say screw it, but now I suppose I better clean it up 😉 Thanks again!
I’m thinking of installing OpenMeetings on my server so I can host webinars to show my software off to clients and potential clients. I’d be setting up all my own webinars. I want the barrier to being a successful attendee to be as low as possible, which leads me to ask…
Must an attendee register with a username and password simply to attend an “openmeeting”? Can an openmeeting be configured to require an attendee to provide nothing more than a screen name?
Thanks for the question. Unfortunately I don’t know the answer to it. I’d figure you’d use either the SOAP or REST API to take advantage of their external user function. Check this out: http://openmeetings.apache.org/UserService.html. Using that (at the very least) you could write a php script to dynamically add and remove users as a last resort.
Best chance would be to contact the openmeetings mailing list. They’re really helpful: http://openmeetings.apache.org/mail-lists.html.
Hope this helps! Good luck!
Ultimately I installed and tested it. When you go to Home/Calendar and set up a conference appointment and load the invitee list with invitees, OpenMeetings sends each invitee an email containing a specially formed link. The invitee needs only follow the link to be placed directly into the conference. This is exactly what I was hoping for.
Right on dude, glad it worked out for you and thanks for sharing your usage!
I followed your guide for OM 2.2.0 on a Ubuntu 12.04 machine, but as I call localhost:5080/openmeetings/install i get the following errors:
HTTP Status 500 –
type Exception report
description The server encountered an internal error that prevented it from fulfilling this request.
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.
What should I do? Any good tip for me?
Unfortunately the error message you got is roughly equivalent to “Openmeetings stuff didn’t work in java.” I imagine you took a look through Google and saw the wide range of causes of this problem. My advice to you (surely not as helpful as one would wish) would be to delete all your Openmeetings changes and start from scratch. When you go through it again, look closely at your terminal’s output for errors along the way. Much of the time this problem seems to be caused by people missing an error along the way that prevents the installation from properly working. Let me know if you find anything from that.
Ok, I’ll have it an extra shot tomorrow!
There was a guy who posted the same issue on issues.apache.org but nobody answered.
One thing: at the end of the procedure, do you end up having the hole OM under /usr/lib/red52 ?
That’s what it seems you do on point 8 of step 8, after having always worked on /opt/red52…So, all I have to do is delete the folder red52 and start from step 7 again!
First, note that people like you who document steps like this deserve a large piece of chocolate cake! I hope to be that fabulous of a citizen some day.
My question – hopefully you are still monitoring this thread – following your swftools instructions (which other sites confirm) I am left with no executable for pdf2swf. Openmeetings stack trace indicates this clearly. I am pulling 0.9.2 for the swftools package (latest) and other sites confirm that the all-important pdf2swf utility does not come with.
Did you hit this, or can you point me to some reliable good documentation? The Google is letting me down so far.
Thanks again for your karmic deposit of sanity.
P.S. Ubuntu 14.04 x64
I think I see the problem. In checking the launchpad summary of the listed ppa, it does not have a package for 14.04. Given that, there are a couple options.
You could downgrade your server to 12.04 if that’s convenient. I’m still using 12.04 on all my VPS and it’s still supported for some time to come.
The other option would look for another ppa for the program that supports 14.04.
As a last resort, you could try compiling it from source.
Let me know how it goes for you. If there seems to be no solution I might compile from source and post it to the page. Good luck!
Success with swftools including pdf2utils. Now I am loading various file formats in into the whiteboard with success. Wow, really cool and worth the trouble.
Compiling from source is the only way that I can find. but dependencies make it a 2-cola challenge.
This post by “Mikhail” was invaluable: http://designbye.wordpress.com/2010/02/23/installing-swftools-and-pdf2swf-on-ubuntu-linux/
I did the above, but with most recent versions. If you have a place to stash it, I’d be happy to turn over my keystroke recording text file.
Help please. 😦
Help please! 😦
start-stop-daemon: –start needs –exec or –startas
Try ‘start-stop-daemon –help’ for more information.
Hi Armlook, it should be working in spite of that error message. Did you give the next steps a shot? I think you’ll be pleasantly surprised!
there’s no ppa for this?
Unfortunately not, it must be built using apache resources