当前位置:文档之家› BBB服务端安装指南

BBB服务端安装指南

服务器需求:ubuntu 10.04 X64

安装步骤:
1、添加bbb的私服到安装源
# Add the BigBlueButton key
wget https://www.doczj.com/doc/6d15035940.html,/bigbluebutton.asc -O- | sudo apt-key add -

# Add the BigBlueButton repository URL and ensure the multiverse is enabled
echo "deb https://www.doczj.com/doc/6d15035940.html,/lucid_dev_08/ bigbluebutton-lucid main" | sudo tee /etc/apt/sources.list.d/bigbluebutton.list
echo "deb https://www.doczj.com/doc/6d15035940.html,/ubuntu/ lucid multiverse" | sudo tee -a /etc/apt/sources.list

2、升级系统软件
sudo apt-get update
sudo apt-get dist-upgrade

3、安装ruby
sudo apt-get install zlib1g-dev libssl-dev libreadline5-dev libyaml-dev build-essential bison checkinstall libffi5 gcc checkinstall libreadline5 libyaml-0-2

Next, create a file called install-ruby.sh and copy and paste in the following script.

#!/bin/bash
cd /tmp
wget https://www.doczj.com/doc/6d15035940.html,/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz
tar xvzf ruby-1.9.2-p290.tar.gz
cd ruby-1.9.2-p290
./configure --prefix=/usr\
--program-suffix=1.9.2\
--with-ruby-version=1.9.2\
--disable-install-doc
make
sudo checkinstall -D -y\
--fstrans=no\
--nodoc\
--pkgname='ruby1.9.2'\
--pkgversion='1.9.2-p290'\
--provides='ruby'\
--requires='libc6,libffi5,libgdbm3,libncurses5,libreadline5,openssl,libyaml-0-2,zlib1g'\
--maintainer=brendan.ribera@https://www.doczj.com/doc/6d15035940.html,
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
Next, run the script

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

After the install finishes, type ruby -v. You should see the ruby interpreter output 1.9.2p290 (or later).

$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553)
Next type gem -v.

$ gem -v
1.3.7
Finally, to make sure you can install gems, type sudo gem install hello (BigBlueButton does not need the gem hello; rather, we're just testing to makes sure gem is working properly).

$ 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...
Make sure you can execute the above three commands without errors before continuing with these instructions. If you do encounter errors, please post to bigbluebutton-setup and we'll help you resolve the errors.

You might be wondering why not use the default Ruby packages for Ubumtu 10.04? Unfortunately, they are out of date. Thanks to Brendan Ribera for the above script for installing the lat

est ruby on Ubuntu 10.04 as a package.

4、安装bbb
sudo apt-get install bigbluebutton
5、安装升级ffmpeg
安装ffmpeg的时候:参考bbb的页面,然后参照kan安装时候加上的参数。

sudo apt-get install build-essential git-core checkinstall yasm texi2html libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libvorbis-dev libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev --yes
livpx时候需要下载新的源码来编译安装即可通过。
sudo git clone https://www.doczj.com/doc/6d15035940.html,/webm/libvpx.git
cd libvpx
sudo ./configure
sudo make
sudo make install


sudo aptitude install libmp3lame-dev 安装MP3所需要的库。

sudo wget https://www.doczj.com/doc/6d15035940.html,/releases/ffmpeg-0.11.2.tar.gz
sudo tar -xvzf ffmpeg-0.11.2.tar.gz
cd ffmpeg-0.11.2
sudo ./configure --enable-version3 --enable-postproc --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-gpl --enable-libmp3lame --enable-avfilter
sudo make
sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(./version.sh)" --backup=no --deldoc=yes --default

6、安装成功新的之后,还需要将一些配置和文件迁移一下;
以便实现nfs的集群。

7、unlimit的配置
防止open file太多




相关主题
文本预览
相关文档 最新文档