Live Chat Software by Kayako
Knowledgebase: Ubuntu
Install BigBlueButton Web Conferencing System In Ubuntu
Posted by Thang Le Toan on 14 November 2015 07:30 AM


BigBlueButton is the open source video based web conferencing system for on-line learning. We can easily integrate it with various on-line learning platforms like WordPress, and Moodle etc. Also, we can have multiple sessions with voice and video support, live chat, you can share documents like pdf or ppt. It requires webcam, head phone from your desktop for live sessions and each session can be recorded for later playback.

Minimum requirements:
  • Minimum 4 GB RAM. But, less then 4 GB memory can make the session slow.
  • Must be installed on a minimum of Quad-Core System.
  • Minimum 500 GB Disk Storage for recording Purpose.
  • Ubuntu 14.04 64 bit System (Server with GUI is preferred)
  • Stop or do not install https services, as 80  ports must be free.
  • Good Internet Speed.
  • Latest Adobe Flash player must be installed on Browser.


The latest version of BigBlueButton is easy to install in comparison of previous versions. First of all install install a Ubuntu 14.04 Server 64 Bit.

Then, install any GUI DE, for example XFCE.

sudo su
apt-get update
apt-get install xubuntu-desktop

After installing the GUI DE, reboot and log in to your server.


Verify, Locale of the server must be en.US_UTF-8.

cat /etc/default/locale


Upgrade your server, make sure you have  trusty multiverse  in sources.list repo file.

grep "multiverse" /etc/apt/sources.list


Update your server.

apt-get update

Then, do dist-upgrade as well.

apt-get dist-upgrade

Add Libreoffice 4.3 PPA to apt repo of Ubuntu Server, this is required for Web Conferencing tool.

apt-get install software-properties-common
add-apt-repository ppa:libreoffice/libreoffice-4-3

Add BigBlueButton Key to server, followed by addition of BigBluebutton Repo list.

wget -O- | sudo apt-key add -

Add BBB repo key.

echo "deb bigbluebutton-trusty main" | sudo tee /etc/apt/sources.list.d/bigbluebutton.list

Again, Update server.

apt-get update

Install ffmpeg, a software that produce program for handling of audio/video codec libraries.

Create a file called


Copy following script to that file, change permission and run the script.

sudo apt-get install build-essential git-core checkinstall yasm texi2html libvorbis-dev libx11-dev libvpx-dev libxfixes-dev zlib1g-dev pkg-config netcat libncurses5-dev
cd /usr/local/src
if [ ! -d "/usr/local/src/ffmpeg-${FFMPEG_VERSION}" ]; then
sudo wget "${FFMPEG_VERSION}.tar.bz2"
sudo tar -xjf "ffmpeg-${FFMPEG_VERSION}.tar.bz2"
cd "ffmpeg-${FFMPEG_VERSION}"
sudo ./configure --enable-version3 --enable-postproc --enable-libvorbis --enable-libvpx
sudo make
sudo checkinstall --pkgname=ffmpeg --pkgversion="5:${FFMPEG_VERSION}" --backup=no --deldoc=yes --default
Sample output

Set executable permission and run the script using command.

chmod 755


You can verify version of ffmpeg using command:

ffmpeg -version


Finally, install BigBlueButton (shortly BBB), using command:

apt-get install bigbluebutton
Installing BBB-1

During installation of BBB this page will appear, simply press Ok.


Install a demo setup for BigBlueButton

apt-get install bbb-demo


Install a self-check utility for BBB.

apt-get install bbb-check

Enable WEB-RTC audio with BBB, which is a real time communication tool for web applications, required to handle communication in BBB web conferencing.

bbb-conf --enablewebrtc


Then, run:

bbb-conf --clean


Make sure IP address settings are configured with BBB (Our IP address is

It is recommended to put your ip address entry /etc/hosts.

bbb-conf --setip


Start nginx service.

/etc/init.d/nginx start

Now run BBB self check, If everything OK, you should get the following output.

bbb-conf --check
BBB self check sample output

If it shows any error, then cross check that httpd service is stopped and nginx is running.

Go to the browser which must be  flash enabled, type your ip address.


Now, add following url (Note: This is case sensitive).

http://<ip_address>/client/BigBlueButton.html, and type any log in name and proceed.


Installation is over at this stage. Now this BBB can be integrated with almost all of the web based training tools.



(0 vote(s))
Not helpful

Comments (6)
Thang Lee
20 February 2016 07:11 AM
Muốn thay đổi địa chỉ IP của network máy chủ Ubuntu:
In order to configure DHCP address you will need to edit the 'interfaces' file /etc/network/interfaces .
sudo vi /etc/network/interfaces

Use vi editor to edit this file, vi editor is available by default on the Ubuntu server. You can use gedit on Ubuntu desktop edition, gedit is a GNOME based editor. Inside the file delete or comment (for commenting add hash '#' just before each line) everything. You are advised to use # to comment original setting so that you can revert to old setting if necessary. Now enter the following lines and save the file. And restart the network service.
# The primary network interface use DHCP to find our address
auto eth0
iface eth0 inet dhcp

sudo /etc/init.d/networking restart

How to configure Static IP address for your network card

In order set static IP address you need to edit the /etc/network/interfaces.
sudo vi /etc/network/interfaces

Replace everything with the following lines. Also change eth0 with your own network interface card. Here is the static IP address that we want to set.
# The primary network interface
auto eth0
iface eth0 inet static

After you are done with editing, save the file then you will have to restart the networking services in order to apply the new network settings. Use the following command to do so.
sudo /etc/init.d/networking restart
Thang Lee
20 February 2016 07:12 AM
How to configure the DNS

DNS configuration of the Ubuntu is similar to that of other linux flavors or distributions. For static lookup you will need to add hostname and corresponding IP address to the file /etc/hosts as explained in next section.

In order to use a particular domain name server for name lookup you simply need to add its IP address to the file /etc/resolv.conf. For example if we want to use a domain name server, with IP address, for domain name lookup we will have to edit resolv.conf file. Open the file with the following command.
sudo vi /etc/resolv.conf

And then add the following lines.

How to set or change hostname in Ubuntu

Hostname can be very easily manipulated in Ubuntu. You can directly query, or set the hostname with the hostname command.

To see the current hostname use the following command.
sudo /bin/hostname

To change the hostname use the command given below, change the newhostname with your own hostname.
sudo /bin/hostname newhostname

When your system reboots it will automatically read the hostname from the file /etc/hostname.

How to setup second IP address or virtual IP address in Ubuntu

Sometimes you may need to setup a second IP address for your computer, specially if you are a server administrator. To do this you need to edit the /etc/network/interfaces file.
sudo vi /etc/network/interfaces

Add the following lines in the file. Change according to your IP address settings.
auto eth0:1
iface eth0:1 inet static
network x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x

You need to enter correctly all the network details such as address, netmask, network, broadcast and gateway values. Once you have completed this, save this file and then restart networking services using the following command so that new settings are applied.
sudo /etc/init.d/networking restart
Thang Lee
20 February 2016 07:51 AM
Sau đó phải check các cấu hình trong bbb:

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
/etc/nginx/sites-available/bigbluebutton (nginx)
/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/ (bbb-web)
Thang Lee
20 February 2016 11:08 AM
Phải mở Firewall External các port:

TCP IPv4: 7443 (HTTPS) , 80 (HTTP), 9123, 1935, 5066, 5090, 5060 (SIP)
Thang Le Toan
25 March 2016 06:15 AM
chạy test http://domain/check vẫn còn báo từ ngoài vào hệ thống lỗi: WebRTC Echo Test: 1007 Failed
Thang Le Toan
08 May 2016 03:42 AM
BBB use port 80 (HTTP), 1935 (RTMP), and 9123 (Desktop sharing), 5066 webRTC, 5060-5090 SIP vs FREESWITCH
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Kayako