You are here: Home / Jitsi Server setup on Ubuntu 16.04

Jitsi Server setup on Ubuntu 16.04

Notes on setting up Jitsi on Ubuntu 16.04

 

Update OS

apt-get update

 

 

Basic Jitsi Meet install

Add the repository

echo 'deb https://download.jitsi.org stable/' >> /etc/apt/sources.list.d/jitsi-stable.list
wget -qO -  https://download.jitsi.org/jitsi-key.gpg.key | apt-key add -

Update the package lists

apt-get update

(If you get an error: E: The method driver /usr/lib/apt/methods/https could not be found. run:

apt-get install apt-transport-https

)

Install Jitsi Meet

Note : Something to consider before installation is how you're planning to serve Jitsi Meet. The installer will check if Nginx or Apache is present (with this order) and configure a virtualhost within the web server it finds to serve Jitsi Meet. If none of the above is found it then configures itself to be served via jetty. So if for example you are planning on deploying Jitsi Meet with a web server, you have to make sure to install the server before installing jitsi-meet.

apt-get -y install jitsi-meet

During the installation, you will be asked to enter the hostname of the Jitsi Meet instance. If you have a FQDN hostname for the instance already set up in DNS, enter it there. If you don't have a resolvable hostname, you can enter the IP address of the machine (if it is static or doesn't change).

This hostname (or IP address) will be used for virtualhost configuration inside the Jitsi Meet and also, you and your correspondents will be using it to access the web conferences.

Generate a Let's Encrypt certificate

Simply run the following in your shell

/usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh

Advanced configuration

If installation is on a machine behind NAT further configuration of jitsi-videobridge is needed in order for it to be accessible. Provided that all required ports are routed (forwarded) to the machine that it runs on. By default these ports are (TCP/443 or TCP/4443 and UDP 10000). The following extra lines need to be added the file /etc/jitsi/videobridge/sip-communicator.properties:

org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=<Local.IP.Address>
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=<Public.IP.Address>

See the documenation of ice4j for details.

By default, anyone who has access to your jitsi instance will be able to start a conferencee: if your server is open to the world, anyone can have a chat with anyone else. If you want to limit the ability to start a conference to registered users, set up a "secure domain". Follow the instructions at https://github.com/jitsi/jicofo#secure-domain.

Open a conference

Launch a web browser (Chrome, Chromium or latest Opera) and enter in the URL bar the hostname (or IP address) you used in the previous step.

Confirm that you trust the self-signed certificate of the newly installed Jitsi Meet.

Enjoy!

 

Securing Jitsi Channel Access

https://github.com/jitsi/jicofo#secure-domain

 

 

 Installing certbot on OpenSuse 13.2

https://community.letsencrypt.org/t/how-to-set-up-letsencrypt-on-opensuse-13-2-tutorial/5580

 

 

 

 

References

 

https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md

 

 

 

 

 

 

 

Filed under:
Navigation