Install BigBlueButton VM Server

 

Install From VM

* Download from BigBlueButton Sourceforge site, e.g. bigbluebutton081-VM.zip
* Start VMPlayer 5
* Select Player > File > Open
* Browse to bigbluebutton-vm.vmx file

Install from Package

Download

* Download Ubuntu 10.4 VM from Thoughtpolice

Config Network

Network Configuration
* Login as notroot/thoughtpolice
* Config IP
– sudo vi /etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.1.137
netmask 255.255.255.0
gateway 192.168.1.1

* Restart eth0

sudo ifdown eth0
sudo ifup eth0

* Assign DNS Servers
sudo vi /etc/resolve.conf

nameserver 192.168.1.21
nameserver 107.170.95.180
nameserver 75.127.14.107
domain mytest.local
search mytest.local

Setup SSH Server

* SSH/OpenSSH/Configuring

sudo apt-get update
sudo apt-get install openssh-server
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config/ori
sudo chmod a-w /etc/ssh/sshd_config.ori
sudo vi /etc/ssh/sshd_config
sudo restart ssh

Install BBB 0.81

Check Ubuntu

cat /etc/default/locale
LANG="en_US.UTF-8"
uname -m
x86_64
ruby -v
The program 'ruby' is currently not installed.  You can install it by typing:
sudo apt-get install ruby

Update apt-get Repository

* To Access BigBlueButton Package Repository

# Add the BigBlueButton key
wget http://ubuntu.bigbluebutton.org/bigbluebutton.asc -O- | sudo apt-key add -
 
# Add the BigBlueButton repository URL and ensure the multiverse is enabled
echo "deb http://ubuntu.bigbluebutton.org/lucid_dev_081/ bigbluebutton-lucid main" | sudo tee /etc/apt/sources.list.d/bigbluebutton.list

* Check lucid multiverse exists in your apt-get souces

grep "lucid multiverse" /etc/apt/sources.list
 
deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse

* Update server

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

Install LibreOffice

* Install a stub package for openoffice

wget http://bigbluebutton.googlecode.com/files/openoffice.org_1.0.4_all.deb
sudo dpkg -i openoffice.org_1.0.4_all.deb

* Install LibreOffice

sudo apt-get install python-software-properties
 
sudo apt-add-repository ppa:libreoffice/libreoffice-4-0
sudo apt-get update
 
sudo apt-get install libreoffice-common
sudo apt-get install libreoffice

Install Ruby

* Download Ruby package:

wget https://bigbluebutton.googlecode.com/files/ruby1.9.2_1.9.2-p290-1_amd64.deb

* Install

sudo dpkg -i ruby1.9.2_1.9.2-p290-1_amd64.deb
sudo apt-get install -f

* Setup paths to ruby executable:

sudo update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.9.2 500 \
                         --slave /usr/bin/ri ri /usr/bin/ri1.9.2 \
                         --slave /usr/bin/irb irb /usr/bin/irb1.9.2 \
                         --slave /usr/bin/erb erb /usr/bin/erb1.9.2 \
                         --slave /usr/bin/rdoc rdoc /usr/bin/rdoc1.9.2
sudo update-alternatives --install /usr/bin/gem gem /usr/bin/gem1.9.2 500

* Check versions:

ruby -v
 
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
 
gem -v
 
1.3.7

* Install a test gem

sudo gem install hello
 
Successfully installed hello-0.0.1
1 gem installed
Installing ri documentation for hello-0.0.1...
Installing RDoc documentation for hello-0.0.1...

Install ffmpeg

* Create install-ffmpeg.sh file:

sudo apt-get install build-essential git-core checkinstall yasm texi2html libvorbis-dev libx11-dev libxfixes-dev zlib1g-dev pkg-config
 
LIBVPX_VERSION=1.2.0
FFMPEG_VERSION=2.0.1
 
if [ ! -d "/usr/local/src/libvpx-${LIBVPX_VERSION}" ]; then
  cd /usr/local/src
  sudo git clone http://git.chromium.org/webm/libvpx.git "libvpx-${LIBVPX_VERSION}"
  cd "libvpx-${LIBVPX_VERSION}"
  sudo git checkout "v${LIBVPX_VERSION}"
  sudo ./configure
  sudo make
  sudo checkinstall --pkgname=libvpx --pkgversion="${LIBVPX_VERSION}" --backup=no --deldoc=yes --default
fi
 
if [ ! -d "/usr/local/src/ffmpeg-${FFMPEG_VERSION}" ]; then
  cd /usr/local/src
  sudo wget "http://ffmpeg.org/releases/ffmpeg-${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
fi

* Run the script file:

 chmod +x install-ffmpeg.sh
./install-ffmpeg.sh

* Check ffmpeg version

ffmpeg -version
 
ffmpeg version 2.0.1
built on Nov  8 2014 00:27:43 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
configuration: --enable-version3 --enable-postproc --enable-libvorbis --enable-libvpx
libavutil      52. 38.100 / 52. 38.100
libavcodec     55. 18.102 / 55. 18.102
libavformat    55. 12.100 / 55. 12.100
libavdevice    55.  3.100 / 55.  3.100
libavfilter     3. 79.101 /  3. 79.101
libswscale      2.  3.100 /  2.  3.100
libswresample   0. 17.102 /  0. 17.102

Install BigBlueButton

* Install

sudo apt-get install bigbluebutton

* Update applet?

wget https://github.com/bigbluebutton/bigbluebutton/blob/v0.81-release/bigbluebutton-client/resources/prod/bbb-deskshare-applet-0.8.1.jar
 
sudo cp bbb-deskshare-applet-0.8.1.jar /var/www/bigbluebutton/client/bbb-deskshare-applet-0.8.1.jar

Install API Demo

sudo apt-get install bbb-demo

* Remove bbb-demo

sudo apt-get purge bbb-demo

Clean Restart

sudo bbb-conf --clean
sudo bbb-conf --check
BigBlueButton Server 0.81 (1556)
                    Kernel version: 2.6.32-21-server
                      Distribution: Ubuntu 10.04.4 LTS (64-bit)
                            Memory: 493 MB
 
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): 192.168.1.137
                              Red5: 192.168.1.137
 
/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 192.168.1.137
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton
 
/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: 192.168.1.137
 
/var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp (API demos)
                           api url: 192.168.1.137
 
/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH
                     capture video: true
                   capture desktop: true
 
/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: 192.168.1.137
 
 
** Potential problems described below **
# Warning: You are running BigBlueButton on a server with less than 2G of memory.  Your
# performance may suffer.
 
# Warning: The API demos are installed and accessible from:
#
#    http://192.168.1.137/
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    sudo apt-get purge bbb-demo

References

* BigBlueButtonVM

This entry was posted in ubuntu and tagged . Bookmark the permalink.

One Response to Install BigBlueButton VM Server

Leave a Reply

Your email address will not be published. Required fields are marked *


*

This site uses Akismet to reduce spam. Learn how your comment data is processed.