Here’s a quick follow up to my previous post about my first steps with a BigBlueButton server installation. Like Jitisi, getting a basic BBB instance up and running in a VM is straight forward. There is a good description over here with lots of details that you should definitely read before giving it a go. Before you do, here’s a super abbreviation of it with some additional tips and tricks thrown in for good measure:
To install BBB, you need a VM with at least 2 cores and 4 GB of memory so the basic setup requires a bit more hardware than a basic Jitsi install. One thing that I found a bit strange at first is that BBB currently still requires Ubuntu 16.04 LTS whose support ends in April 2021. There seems to be a BBB beta version that runs on Ubuntu 18.04 but perhaps they should wait for Ubuntu 20.04 and then have a go with that one? A bit strange to base the system on such an old OS software version as the software is actively developed. Fortunately, cloud providers (still) offer Ubuntu 16.04 as a base system.
The Single Command Goodness!
In the end, however, installing BBB boils down to a single command line:
wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v xenial-220 -s bbb.yourdomain.com -e email@example.com -g
This command will install BBB on the server, the Greenlight web front end for user and room management and installs a Let’s encrypt certificate. Once the command is done, the BBB server is ready for use. And here are some things to think about after you’ve made the first steps:
Create an Admin Account
By default, the instance lets anyone register. If you want to keep it for private use, create an administrator account and then switch-off open registration in the web based user interface:
docker exec greenlight-v2 bundle exec rake user:create["admin","firstname.lastname@example.org","ultrasecretpwd","admin"]
That’s all there is to it!
Block Incoming SIP Traffic
Next, one important thing is to block port 5060 for incoming traffic. BBB uses a SIP component that exposes its port to the outside world. It only takes a few minutes for bots to find the new server and bombarding it with SIP register and invite messages. It doesn’t hurt but creates some load. So here’s how to stop the SIP bots:
iptables -A INPUT -p udp --destination-port 5060 -j DROP
By default, BBB records all sessions. For privacy reasons that might not be desirable. The following two variables in the BBB properties file turns this off completely:
cd /usr/share/bbb-web/WEB-INF/classes nano bigbluebutton.properties # 1. Disallow the user to start/stop recording. # The following is TRUE by default allowStartStopRecording=false # 2. Disable background recording # Set from FALSE to TRUE disableRecordingDefault=true
Then restart BBB:
sudo bbb-conf --restart
And that’s it, you are good to go then!