⬆️ ⬇️

Install openmeetings 5.0.0-M1. WEB-conferences without Flash

Good afternoon, dear Habravchane and guests of the portal!



Not so long ago, I needed to raise a small server for video conferencing. Not so many options were considered - BBB and Openmeetings, because only they responded in terms of functionality:



  1. Is free
  2. Demonstration of the desktop, documents, etc.
  3. Interactive work with users (common board, chat, etc.)
  4. No additional software is required for customers


I started with the BBB ... well, it didn’t actually grow together ... The first is the requirement of real iron, because on the virtual do not guarantee performance; The second is resource consumption. Yes, a good picture and excellent sound, but for my tasks it is not comparable with the resources consumed.

')

Began to try openmeetings. As an amateur of verified by other users and stable releases, I installed the latest stable release 4.0.8 (we will not consider this process here). All is well, except that he is on FLASH. Well, if so, he refused to work in chrome, went to Fox ... but this contradicts clause 4, since Not everyone uses FF and not everyone likes it. I managed to get upset when I saw that version 5.0.0-M1 was declared without FLASH! Here it all began. I will say right away, it didn’t work for me to start everything right away, about 2 weeks, 1-2 hours a day, it took me to a full launch.



And so, I put on ubuntu 18.0.4-LTS. Requirements:





Let's start with JRE8. By default, the repositories are set to 11, so we will add to the repositories, and then we will start the installation of the version we need:



sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer 


After installation, you must specify the default running version of Java:



 sudo apt-get install oracle-java8-set-default 


check version



 java -version 


must issue



 java version "1.8.0_201" Java(TM) SE Runtime Environment (build 1.8.0_201-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode) 


now it is necessary to set home directories.



 cat >> /etc/environment <<EOL JAVA_HOME=/usr/lib/jvm/java-8-oracle JRE_HOME=/usr/lib/jvm/java-8-oracle/jre EOL 


For normal operation of video / audio streams need Kurento Media server (KMS). The options for setting it are different, I used the Docker option. The installation and configuration of Docker is not included in this article, the benefit of the Internet is full of information. And so, we run KMS



 docker run -d --name kms -p 8888:8888 kurento/kurento-media-server:latest 


Now we proceed to the installation of related components:

MySQL - OM has a built-in database, but it is not recommended to use it in the combat version. We put any convenient version of you. Suitable from standard repositories.



 sudo apt-get install mysql 


To connect Java to MySQL, you need to download the connector and put it in the / webapps / openmeetings / WEB-INF / lib / folder. The MySQL connection configuration is in the /webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml file

ImageMagick - Need for a common board, demonstration of documents and images. also take from the standard turnips.



 sudo apt-get install imagemagick 


GhostScript - if we want to work with pdf, nowhere without it. Repositories are also standard.

OpenOffice or Libre Office - for outputting all office document formats ...

FFMpeg and SoX - for recording video conferencing in various formats. Version must be 10.3 or newer.



 sudo apt install ffmpeg sudo apt-get install sox 


Well, now we are ready to download openmeetings itself.

https://openmeetings.apache.org/downloads.html

Download, unpacked in the folder we need.



It seems that everything is ready for launch (especially if you follow the official instructions ), but there is this kind of link https: // localhost: 5443 / openmeetings / install . If you pay attention to https and port 5443, we understand that nothing will come of it. Of course, you can run the script ./bin/startup.sh and start the server. You can even go to it and configure it via the link http: // localhost: 5080 / openmeetings / install , but this will not be normal work. Now all browsers, and Chrome so especially, are fighting for the user's safety and working with the camera and microphone are only allowed via https. Through FF, you will be able to log in and allow work with the camera, but this again binds us to one browser. Therefore, we proceed to the installation and configuration of SSL. You can make a certificate for the money, but you can do it yourself, the OM will not become worse from this.



OM version 5.0.0-M1 is based on TomCat, not Apache. The web server configuration is located in the ./conf/ folder. I have already described how to create a self-signed certificate and install it in TomCate.



Well, https is configured, now go to the ./bin folder and run statup.sh and after starting the server go to the web installer https: // localhost: 5443 / openmeetings / install . Here everything is already simple and intuitively EXCEPT the section “Converters”. Here it is necessary to register the path to our additionally installed packages.



  1. ImageMagick Path / usr / bin
  2. FFMPEG path / usr / bin
  3. SoX Path / usr / bin
  4. OpenOffice / LibreOffice Path for jodconverter / usr / lib / libreoffice (I set up libra)


Further, the settings are not complicated again.



After the first login, we MUST go to “Administration” -> “Configuration”, find the path.ffmpeg item and delete the value written to it “/ usr / bin”. Save the settings.



Well, actually our VKS server is configured and ready to go.



After restarting the server, you must start



  1. database database (if you do not use the built-in Derby)
  2. KMS
  3. script statup.sh


You can manually but you can create startup scripts.



To output "out" in the firewall, you must allow ports 5443,5080,8888



Enjoy using it!



PS If the camera does not transmit the image and you do not see anyone except yourself, you need to add the domain and port to the exceptions in the exceptions. If Casper is, then it works fine and skips everything (surprisingly!), But Avast and Windows built-in work hard. will have to hemorrhage with settings.

Source: https://habr.com/ru/post/451856/



All Articles