[jitsi-dev] JitMeet on OS X with Openfire and Apache


#1

I'd like to share the following if it turns out to be of interest to
anyone at all. I've done it for development purposes so it's pretty
basic.

Instead of Prosody which is just weird to me with respect to
installation on OS X and Windows, I went with Openfire which is very
simple to deploy there:

1. In the Openfire Admin Console, go to Plugins and delete the Jitsi
VideoBridge plugin of Openfire because it's a modified version of the
vanilla Jitsi Videobridge project. Besides, I'm using the setup for
the development of Jitsi Videobridge so I want to modify it.

2. Go to Server > Server Settings > External Component Settings and
click on Enabled in the section Service Enabled. Note the Port value
and specify a Default shared password. These two will be specified to
Jitsi Videobridge later on upon its startup. Click Save Settings.

3. Go to Server > Server Settings > HTTP Binding. Click Enabled. Note
the Port value because you'll have to specify it in the Apache
configuration later on. Click Enabled in the sections Script Syntax
and Provides support for CORS (Cross-Origin Resource Sharing). Click
Save Settings.

Instead of nginx, use Apache on OS X because it's part of the operating system:

1. Paste the following in /etc/apache2/users/lyubomir.conf replacing
lyubomir with your OS X username and /Users/lyubomir/Sites/jitmeet
with the full path to your jitmeet git clone:

NameVirtualHost 127.0.0.1:80

<VirtualHost 127.0.0.1:80>
  DocumentRoot "/Users/lyubomir/Sites/jitmeet"
  ServerName jitmeet.lyubomiinovsair

  <Directory "/Users/lyubomir/Sites/jitmeet/">
    Options Indexes MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
  </Directory>

  ProxyPass /http-bind http://127.0.0.1:7070/http-bind/
  ProxyPassReverse /http-bind http://127.0.0.1:7070/http-bind/

  RewriteEngine on
  RewriteRule ^/([a-zA-Z0-9]+)$ /index.html
</VirtualHost>

Execute sudo apachectl restart after you make changes to the Apache
configuration files.


#2

Very, very helpful! Thanks Lyubo!

···

On Tue, Feb 11, 2014 at 7:11 PM, Lyubomir Marinov <lyubomir.marinov@jitsi.org> wrote:

I'd like to share the following if it turns out to be of interest to
anyone at all. I've done it for development purposes so it's pretty
basic.

Instead of Prosody which is just weird to me with respect to
installation on OS X and Windows, I went with Openfire which is very
simple to deploy there:

1. In the Openfire Admin Console, go to Plugins and delete the Jitsi
VideoBridge plugin of Openfire because it's a modified version of the
vanilla Jitsi Videobridge project. Besides, I'm using the setup for
the development of Jitsi Videobridge so I want to modify it.

2. Go to Server > Server Settings > External Component Settings and
click on Enabled in the section Service Enabled. Note the Port value
and specify a Default shared password. These two will be specified to
Jitsi Videobridge later on upon its startup. Click Save Settings.

3. Go to Server > Server Settings > HTTP Binding. Click Enabled. Note
the Port value because you'll have to specify it in the Apache
configuration later on. Click Enabled in the sections Script Syntax
and Provides support for CORS (Cross-Origin Resource Sharing). Click
Save Settings.

Instead of nginx, use Apache on OS X because it's part of the operating system:

1. Paste the following in /etc/apache2/users/lyubomir.conf replacing
lyubomir with your OS X username and /Users/lyubomir/Sites/jitmeet
with the full path to your jitmeet git clone:

NameVirtualHost 127.0.0.1:80

<VirtualHost 127.0.0.1:80>
  DocumentRoot "/Users/lyubomir/Sites/jitmeet"
  ServerName jitmeet.lyubomiinovsair

  <Directory "/Users/lyubomir/Sites/jitmeet/">
    Options Indexes MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
  </Directory>

  ProxyPass /http-bind http://127.0.0.1:7070/http-bind/
  ProxyPassReverse /http-bind http://127.0.0.1:7070/http-bind/

  RewriteEngine on
  RewriteRule ^/([a-zA-Z0-9]+)$ /index.html
</VirtualHost>

Execute sudo apachectl restart after you make changes to the Apache
configuration files.

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
Jitsi
emcho@jitsi.org PHONE: +33.1.77.62.43.30
https://jitsi.org FAX: +33.1.77.62.47.31