Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

With Apache 2.4.5 the support for proxying WebSockets was introduced. For the following configuration to work the following modules need to be enabled: proxy, proxy_http, proxy_wstunnel, headers.


Install Kopano Webmeetings and the WebApp Webmeetings plugin


Tabs group
bordervertical-sides
contentcolorgray-light
navcolornavy


Debian and Ubuntu

enabled proxy, proxy_http, proxy_wstunnel, headers Apache modules

bash


Create a file called kopano.list in /etc/apt/sources.list.d/  and add the following.

Take note that the following is an example for Debian 8. Adjust them according to your specific distribution if needed, such as Ubuntu_16.04

Our packages are signed so we need to add the key as well.

bash


All our packages are signed by the same key so you only need to add the key once


Now install kopano-webmeetings





RHEL and CentOS

Create a file called kopano.repo in /etc/yum.repos.d/kopano.repo and add the following.

Take note that the following is an example for RHEL 7 and CentOS 7. Adjust them according to your specific distribution if needed




SUSE

Create a file called kopano.repo in /etc/zypp/repos.d/kopano.repo and add the following.

Take note that the following is an example for SLE 12. Adjust them according to your specific distribution if needed.





Apache configuration

Tabs group
bordervertical-sides
contentcolorgray-light
navcolornavy


Debian and Ubuntu


Make sure you have configured SSL for Apache correctly

After this is done a vhost with the following configuration can be created in sites-available:

/etc/apache/sites-available/webmeetings.conf



In the Kopano Webapp config file, add the following underneath "Alias /webapp /usr/share/kopano-webapp":

/etc/apache/sites-available/kopano-webapp.conf




RHEL and CentOS


Make sure you have configured SSL for Apache correctly


Add the following inside the SSL virtualhost part of Apache ssl.conf

/etc/httpd/conf.d/ssl.conf




In the Kopano Webapp config file, add the following underneath "Alias /webapp /usr/share/kopano-webapp"

/etc/httpd/conf.d/kopano-webapp.conf



SUSE


Make sure you have configured SSL for Apache correctly

After this is done a vhost with the following configuration can be created in sites-available:

/etc/apache/conf.d/webmeetings.conf



In the Kopano Webapp config file, add the following underneath "Alias /webapp /usr/share/kopano-webapp":

/etc/apache/conf.d/kopano-webapp.conf






Configure WebMeetings

We need 2 secret keys that are 32 bytes long

Code Block
xxd -ps -l 32 -c 32 /dev/random

In this example we will use the following keys

Code Block
webmeetings shared secret = 423f4308d0ffbb8e6a589894f6eda003addf6da40932105991e1867a5bd9bdf6
presence shared secret = 8fb26dc0adccc82fcbc5c46f59973bbf83413c3a42e328de1214333b1815f422


Add the webmeetings  key in /etc/kopano/webmeetings.cfg 

Code Block
sharedsecret_secret = 423f4308d0ffbb8e6a589894f6eda003addf6da40932105991e1867a5bd9bdf6


Add the presence key in /etc/kopano/presence.cfg

Code Block
server_secret_key = 8fb26dc0adccc82fcbc5c46f59973bbf83413c3a42e328de1214333b1815f422


Add both keys in /etc/kopano/webapp/config-meetings.php

Code Block
DEFINE('PLUGIN_SPREEDWEBRTC_USER_DEFAULT_ENABLE', true);

DEFINE('PLUGIN_SPREEDWEBRTC_WEBMEETINGS_SHARED_SECRET', '423f4308d0ffbb8e6a589894f6eda003addf6da40932105991e1867a5bd9bdf6');

DEFINE('PLUGIN_SPREEDWEBRTC_PRESENCE_SHARED_SECRET', '8fb26dc0adccc82fcbc5c46f59973bbf83413c3a42e328de1214333b1815f422');


Kopano WebApp

Open Kopano Webapp and you should be able to see the Webmeetings icon.

If not please enable the plugin first in the users' WebApp settings.

Click on the icon and you should see the following