Skip to content

Instantly share code, notes, and snippets.

@mariogasparoni
Last active January 19, 2024 09:28
Show Gist options
  • Save mariogasparoni/8305709c7ab3b16485a476dd5794909e to your computer and use it in GitHub Desktop.
Save mariogasparoni/8305709c7ab3b16485a476dd5794909e to your computer and use it in GitHub Desktop.
Install bigbluebutton 2.3 without bbb-install.sh

Setup development environment

A few considerations before we start:

  • Required OS: Ubuntu 18.04 (bionic)
  • This is intended to run on containers/local-machine setup, such as LXC.
  • This process is similar to BBB 2.2's install. One difference is that we encapsulated Libreoffice in docker for increased security.
  • For public/production servers, we recommend installing BigBlueButton using bbb-install.sh

We'll do this in 3 steps:

Installl BBB 2.3-dev

Install basic deps

Install needed tools

sudo apt-get update && sudo apt-get install curl wget net-tools software-properties-common haveged apt-transport-https openjdk-8-jdk libreoffice -y

Add needed repositories

sudo add-apt-repository ppa:bigbluebutton/support -y
sudo add-apt-repository ppa:rmescandon/yq -y
sudo add-apt-repository ppa:libreoffice/ppa

Upgrade packages

sudo apt-get update && sudo apt-get dist-upgrade

Install MongoDB

(Note: BBB 2.3-dev uses MongoDB 4.2, while BBB 2.2 uses MongoDB 3.4)

Add key for MongoDB's repository

wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -

Add APT's source for MongoDB

echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list

Install MongoDB

sudo apt-get update && sudo apt-get install -y mongodb-org

Install Node.js

(Note: BBB 2.3-dev uses Node.js 12.x, while BBB 2.2 uses Node.js 8.x)
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install nodejs

Install Kurento Media Server

(Note: BBB 2.3-dev uses Kurento Media Server official's repository, instead of forked version. The current version used by BBB 2.3-dev is 6.15.0)

Add key for Kurento

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5AFA7A83

Add APT's source

sudo tee "/etc/apt/sources.list.d/kurento.list" >/dev/null <<EOF
# Kurento Media Server - Release packages
deb [arch=amd64] http://ubuntu.openvidu.io/6.15.0 bionic kms6
EOF

Install it

sudo apt-get update && sudo apt-get install kurento-media-server

Install BigBlueButton

Add key for BigBlueButton

wget https://ubuntu.bigbluebutton.org/repo/bigbluebutton.asc -O- | sudo apt-key add -

Add APT's source for BigBlueButton

echo "deb https://ubuntu.bigbluebutton.org/bionic-230-dev bigbluebutton-bionic main" | sudo tee /etc/apt/sources.list.d/bigbluebutton.list

Install it

sudo apt-get update && sudo apt-get install bigbluebutton

(Optional) Install bbb-demo

If you want to test the installation, you can install demos:

sudo apt-get install bbb-demo

Before testing, make sure you have set secure: false in /usr/share/bbb-web/WEB-INF/classes/application.yml file:

# ...
server:
    session:
        cookie:
            secure: false
# ...

You can access http://BBB_IP_ADDRESS , and you will be able to join bbb-demo (probably WebRTC media won't work because it needs HTTPS to be set). BBB_IP_ADDRESS is the ip address of your container/machine running this installation.

Setup HTTPS

Follow 2.2's Configure SSL on your BigBlueButton server

Setup development environment

Follow 2.2's Setup a Development Environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment