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

Introduction

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.

Installation

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.

session

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

cat /etc/default/locale

bbb1

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

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

bbb4

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 http://ubuntu.bigbluebutton.org/bigbluebutton.asc -O- | sudo apt-key add -

Add BBB repo key.

echo "deb http://ubuntu.bigbluebutton.org/trusty-090/ 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 ffmpeg.sh:

vim install-ffmpeg.sh

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
FFMPEG_VERSION=2.3.3
cd /usr/local/src
if [ ! -d "/usr/local/src/ffmpeg-${FFMPEG_VERSION}" ]; then
sudo wget "http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2"
sudo tar -xjf "ffmpeg-${FFMPEG_VERSION}.tar.bz2"
fi
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
bbb12
Sample output

Set executable permission and run the script using command.

chmod 755 install-ffmpeg.sh
./install-ffmpeg.sh

bbb14

You can verify version of ffmpeg using command:

ffmpeg -version

bbb15

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

apt-get install bigbluebutton
bbb16
Installing BBB-1

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

bbb18
BBB-2

Install a demo setup for BigBlueButton

apt-get install bbb-demo

bbb21

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

bbb25

Then, run:

bbb-conf --clean

bbb26

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

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

bbb-conf --setip 172.16.25.130

bbb27

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
bbb29
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.

bbb30

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

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

final_snap_shot

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

Capture

 

(0 vote(s))
Helpful
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 192.168.1.7 is the static IP address that we want to set.
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.7
gateway 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255

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 192.168.1.10, 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.
search test.com
nameserver 192.168.1.10

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
address 192.168.1.60
netmask 255.255.255.0
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/bigbluebutton.properties (bbb-web)
/usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.properties
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:
Email:
Comments:
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