Create a droplet with Digital Ocean credentials ( 4GB RAM and 60 GB HDD - 138.197.4.66 )
1) Steps to install BigBlueButton pre-requesties
For Reference : https://wiki.exphosted.com/doku.php/setup_and_deploy_bbb_10//
cat /etc/default/locale
output LANG="en_US.UTF-8"
If you don’t see LANG=“en_US.UTF-8”, then enter the following commands.
sudo apt-get install language-pack-en sudo update-locale LANG=en_US.UTF-8
Check that your server is running 64-bit.
uname -m
output "x86_64"
Check your version of Ubuntu is Ubuntu 14.04.
cat /etc/lsb-release
output
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.X LTS"
Update your server for adding repository
grep “multiverse” /etc/apt/sources.list
output
you should see an uncommented line for the multiverse repository, which may look like
deb http://archive.ubuntu.com/ubuntu trusty multiverse
or
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
If you don’t, then execute the following line to add the multiverse repository to your sources.list file.
echo “deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse” | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get dist-upgrade
2) Install PPA for LibreOffice 4.4 and libssl
*
To add the repository for LibreOffice 4.4, enter the following commands
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:libreoffice/libreoffice-4-4
In order for FreeSWITCH to support ECDSA key (and let the user connect with WebRTC audio on Chrome 52+), you need to add the follwing PPA
sudo add-apt-repository -y ppa:ondrej/php
3) Install key for BigBlueButton
*
You need to give your server access to the BigBlueButton package repository. First, add the BigBlueButton key
wget http://ubuntu.bigbluebutton.org/bigbluebutton.asc -O- | sudo apt-key add -
Add the BigBlueButton repository URL.
echo “deb http://ubuntu.bigbluebutton.org/trusty-1-0/ bigbluebutton-trusty main” | sudo tee /etc/apt/sources.list.d/bigbluebutton.list
sudo apt-get update
4) Install ffmpeg
create a file called install-ffmpeg.sh with the following content
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
make the script executable and run it
chmod +x install-ffmpeg.sh
./install-ffmpeg.sh
ffmpeg -version
output
ffmpeg version 2.3.3 Copyright © 2000-2014 the FFmpeg developers
built on Aug 18 2014 17:35:05 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1) configuration: --enable-version3 --enable-postproc --enable-libvorbis --enable-libvpx libavutil 52. 92.100 / 52. 92.100 libavcodec 55. 69.100 / 55. 69.100 libavformat 55. 48.100 / 55. 48.100 libavdevice 55. 13.102 / 55. 13.102 libavfilter 4. 11.100 / 4. 11.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100
5) Install BigBlueButton
sudo apt-get install bigbluebutton
To ensure that it has the following contents:
cat /etc/ImageMagick/policy.xml
output
<policymap>
<policy domain="coder" rights="none" pattern="EPHEMERAL" /> <policy domain="coder" rights="none" pattern="URL" /> <policy domain="coder" rights="none" pattern="HTTPS" /> <policy domain="coder" rights="none" pattern="MVG" /> <policy domain="coder" rights="none" pattern="MSL" /> <policy domain="coder" rights="none" pattern="TEXT" /> <policy domain="coder" rights="none" pattern="SHOW" /> <policy domain="coder" rights="none" pattern="WIN" /> <policy domain="coder" rights="none" pattern="PLT" />
</policymap>
To confirm that the security policies have been applied
convert -list policy
6) Install API Demos
sudo apt-get install bbb-demo
7) Install Client Self-Check
sudo apt-get install bbb-check
8) Enable WebRTC audio
sudo bbb-conf –enablewebrtc
9) Do a Clean Restart
sudo bbb-conf –clean
sudo bbb-conf –check
Installing Passenger + Nginx \
*
for Reference : https://www.phusionpassenger.com/library/install/nginx/install/oss/trusty/
sudo apt-key adv –keyserver hkp:keyserver.ubuntu.com:80 –recv-keys 561F9B9CAC40B2F7
sudo apt-get install -y apt-transport-https ca-certificates
sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger trusty main > /etc/apt/sources.list.d/passenger.list'
sudo apt-get update
sudo apt-get install -y nginx-extras passenger
install mysql
wget http://dev.mysql.com/get/mysql-apt-config_0.6.0-1_all.deb
sudo dpkg -i mysql-apt-config_0.6.0-1_all.deb
sudo apt-get update
sudo apt-get install mysql-server
To install mysql client
*
apt-get install libmysqlclient-dev
To install mysql2.so ( Client )
gem install mysql2
To Create a database and migrate
cd /deploy/expertus_meeting/current/
bundle exec rake db:create
bundle exec rake db:migrate
To install sendmail
*
apt-get install sendmail