bigbluebutton 自动安装脚本, 文档乱码

复制windows字体到bigbluebutton文档转换服务器的指定目录解决文件转化乱码问题
C:\Windows\Fonts\* -> /usr/share/fonts/windows

#!/bin/sh
#
# ubuntu-14.04.1-server-amd64
#

# Step 1: Update your server
#echo "deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse" | tee -a /etc/apt/sources.list
apt-get update
apt-get dist-upgrade

# Step 2: Install key for BigBlueButton
wget http://ubuntu.bigbluebutton.org/bigbluebutton.asc -O- | apt-key add -
echo "deb http://ubuntu.bigbluebutton.org/trusty-090/ bigbluebutton-trusty main" | tee /etc/apt/sources.list.d/bigbluebutton.list
apt-get update

# Step 3: Install ffmpeg
apt-get install build-essential git-core checkinstall yasm texi2html libvorbis-dev libx11-dev libvpx-dev libxfixes-dev zlib1g-dev pkg-config netcat
FFMPEG_VERSION=2.3.3
cd /usr/local/src
if [ ! -d "/usr/local/src/ffmpeg-${FFMPEG_VERSION}" ]; then
  wget "http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2"
  tar -xjf "ffmpeg-${FFMPEG_VERSION}.tar.bz2"
fi
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
ffmpeg -version

# Step 4: Install BigBlueButton
apt-get update
apt-get install bigbluebutton

# Step 5: Install API Demos
apt-get install bbb-demo

# Step 6: Enable WebRTC audio
bbb-conf --enablewebrtc

# Step 7: Do a Clean Restart
bbb-conf --clean
bbb-conf --check

发表评论

电子邮件地址不会被公开。 必填项已用*标注