Skip to content

Instantly share code, notes, and snippets.

@tuanpembual
Created December 12, 2015 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuanpembual/b31617f46721ffd1a1dd to your computer and use it in GitHub Desktop.
Save tuanpembual/b31617f46721ffd1a1dd to your computer and use it in GitHub Desktop.
script for install BigBlueButton in Ubuntu 14.04 LTS
#!/bin/bash
## set repo
sudo cp /etc/apt/sources.list /etc/apt/sources.list.ori
sudo echo "
deb http://repo.ugm.ac.id/ubuntu/ trusty main restricted universe multiverse
deb http://repo.ugm.ac.id/ubuntu/ trusty-updates main restricted universe multiverse
deb http://repo.ugm.ac.id/ubuntu/ trusty-security main restricted universe multiverse
" > /etc/apt/sources.list
sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get -y dist-upgrade
## install libreoffice
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:libreoffice/libreoffice-4-4
## prepare install
wget http://ubuntu.bigbluebutton.org/bigbluebutton.asc -O- | sudo apt-key add -
echo "deb http://ubuntu.bigbluebutton.org/trusty-090/ bigbluebutton-trusty main" | sudo tee /etc/apt/sources.list.d/bigbluebutton.list
sudo apt-get update -y
## install ffmpg
sudo apt-get install -y 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
cd ~
echo "version ffmpg"
ffmpeg -version
## install
sudo apt-get install -y bigbluebutton
## config
echo "enablewebrtc"
sudo bbb-conf --enablewebrtc
echo "clean"
sudo bbb-conf --clean
echo "check"
sudo bbb-conf --check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment