Before installing BigBlueButton 1.1-beta please check with the minimum requirement for installation as below.
Ubuntu 16.04 64-bit OS4 GB of memory with swap enabled (8 GB of memory is better)
Quad-core 2.6 GHZ CPU (or faster)
TCP ports 80, 443,and 1935 are accessible
TCP port 7443 is accessible if you intend to configure SSL (recommended), otherwise port 5066 is accessible
UDP ports 16384 - 32768 are accessible
Port 80 is not in use by another application
Other recommendations :-
500G of free disk space (or more) for recordings100 Mbits/sec bandwidth (symmetrical)
Dedicated (bare metal) hardware (not virtualized)
After the OS installation done, need to check some configuration as below.
First of all check the locale of your server with below command and the output should be as below.
$ cat /etc/default/locale
LANG="en_US.UTF-8"
If your result is not as above command then use below commands to set the locale to "en_US.US.UTF-8"
$ sudo apt-get install language-pack-en
$ sudo update-locale LANG=en_US.UTF-8
You should have minimum 4GB free memory in your Ubuntu server as you can face lots of errors in case of low system memory.
To check the free memory on your server use below command.
$ free -h
total used free shared buff/cache available
Mem: 31G 5.9G 314M 1.8G 25G 21G
Swap: 31G 360M 31G
Now check your server that it has Ubuntu 16.04 as required for the BigBlueButton installation. user below command to check the same.
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.x LTS"
Check now that your system has 64bit operating system for the bigbluebutotn installation.
$ uname -m
x86_64
Configure your firewall and allow below ports
TCP ports 80, 443, 1935, and 7443
UDP ports in the range 16384 - 32768
or you can simply turned off the firewall with below command
$ sudo ufw disable
Now Installation of your BigBlueButton Server begins.
Login to you SSH and use below command to check that you have xenail multiverse in your sources.list
$ grep "multiverse" /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu xenial multiverse
or
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
If your result is not as above then use below command to add the multiverse repository in your source.list.
$ echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" | sudo tee -a /etc/apt/sources.list
Now upgrade your server with the latest package using below commands.
$ sudo apt-get update
$ sudo apt-get dist-upgrade
Before installing BigBlueButton, you need to add the project’s public key to your server so apt-get can validate the signed packages. To do this, enter the following commands:
$ wget http://ubuntu.bigbluebutton.org/repo/bigbluebutton.asc -O- | sudo apt-key add -
To configure the package repository, enter the following command:
$ echo "deb http://ubuntu.bigbluebutton.org/xenial-110/ bigbluebutton-xenial main" | sudo tee /etc/apt/sources.list.d/bigbluebutton.list
Now run apt get to download the latest bigbluebutton packages.
$ sudo apt-get update
You are ready for the installation now. Use below command to install the bigbluebutton.
$ sudo apt-get install bigbluebutton
It will ask for Y/N during the installation. Type Y for continuing the installation.
Once the installation is done type below command to restart the bigbluebutton service.
$ sudo bbb-conf --restart
You can check with error with below command and can ensure for the successful installation.
$ bbb-conf --check
it will prompt as below after the check command
BigBlueButton Server 1.1.0-beta (NNN)
Kernel version: 4.4.0-47-generic
Distribution: Ubuntu 16.04.N LTS (64-bit)
Memory: NNNN MB
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
Port test (tunnel): 10.0.3.192
red5: 10.0.3.192
useWebrtcIfAvailable: true
/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
websocket port: 5066
WebRTC enabled: true
/etc/nginx/sites-available/bigbluebutton (nginx)
server name: 10.0.3.192
port: 80
bbb-client dir: /var/www/bigbluebutton
/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
bbb-web host: 10.0.3.192
/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
url: 10.0.3.192
/var/www/bigbluebutton/check/conf/config.xml (client check)
client check: 10.0.3.192
/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
voice conference: FreeSWITCH
/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
playback host: 10.0.3.192
** Potential problems described below **
It will show all the errors below (Potential problems described below) line if there is any issue.
you can assign an IP address or Hostname to the bigbluebutton server with below command.
$ sudo bbb-conf --setip HOSTNAME/IP
Install demo with below command to check the configuration
$ sudo apt-get install bbb-demo
Once you have done with the API of bigbluebutton then remove this demo with below command
$ sudo apt-get purge bbb-demo
Restart and clean your server with below commands.
$ sudo bbb-conf --restart
$ sudo bbb-conf --clean
Now enter the host name in the browser and it will show as below.
Enter any user name and join the demo meeting. For API and other things use below URL
http://docs.bigbluebutton.org/
No comments:
Post a Comment