Skip to content

Instantly share code, notes, and snippets.

@glennzw
Last active August 29, 2015 13:56
Show Gist options
  • Save glennzw/9252069 to your computer and use it in GitHub Desktop.
Save glennzw/9252069 to your computer and use it in GitHub Desktop.
Install BigBlueButton
#!/bin/bash
# This script should be run on a Digital Ocean Ubuntu 10.4 64 bit droplet.
# Based on: http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu
# After running this script, see: http://code.google.com/p/bigbluebutton/wiki/BBBConf
# [email protected]
apt-get install -y language-pack-en
update-locale LANG=en_US.UTF-8
wget http://ubuntu.bigbluebutton.org/bigbluebutton.asc -O- | apt-key add -
echo "deb http://ubuntu.bigbluebutton.org/lucid_dev_081/ bigbluebutton-lucid main" | tee /etc/apt/sources.list.d/bigbluebutton.list
echo "deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse" | tee -a /etc/apt/sources.list
apt-get update
apt-get dist-upgrade -y
wget http://bigbluebutton.googlecode.com/files/openoffice.org_1.0.4_all.deb
dpkg -i openoffice.org_1.0.4_all.deb
apt-get install -y python-software-properties
apt-add-repository ppa:libreoffice/libreoffice-4-0
apt-get update
apt-get install -y libreoffice-common
apt-get install -y libreoffice
wget https://bigbluebutton.googlecode.com/files/ruby1.9.2_1.9.2-p290-1_amd64.deb
dpkg -i ruby1.9.2_1.9.2-p290-1_amd64.deb
apt-get install -f
dpkg -i ruby1.9.2_1.9.2-p290-1_amd64.deb
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
update-alternatives --install /usr/bin/gem gem /usr/bin/gem1.9.2 500
apt-get install -y 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
git clone http://git.chromium.org/webm/libvpx.git "libvpx-${LIBVPX_VERSION}"
cd "libvpx-${LIBVPX_VERSION}"
git checkout "v${LIBVPX_VERSION}"
./configure
make
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
wget "http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2"
tar -xjf "ffmpeg-${FFMPEG_VERSION}.tar.bz2"
cd "ffmpeg-${FFMPEG_VERSION}"
./configure --enable-version3 --enable-postproc --enable-libvorbis --enable-libvpx
make
checkinstall --pkgname=ffmpeg --pkgversion="5:${FFMPEG_VERSION}" --backup=no --deldoc=yes --default
fi
apt-get install -y bigbluebutton
bbb-conf --clean
bbb-conf --check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment