BigBlueButton 0.81基于Ubuntu 12.04LTS 64位安装


Installing BigBlueButton 0.81

These instructions assume you do not havea previous version of BigBlueButton installed.

If you are upgrading from BigBlueButton0.80 to 0.81, starthere.

1.Update your server

The following steps will install 0.81.

You first need to give your server accessto the BigBlueButton package repository.

In a terminal window, copy and paste thefollowing commands.

# Add the BigBlueButton key
wget http://ubuntu.bigbluebutton.org/bigbluebutton.asc-O- | sudo apt-key add -

# Add the BigBlueButton repository URLand ensure the multiverse is enabled
echo "deb http://ubuntu.bigbluebutton.org/lucid_dev_081/bigbluebutton-lucid main"| sudo tee /etc/apt/sources.list.d/bigbluebutton.list

Next, ensure that you havelucid multiversein yoursources.list. Do the following.

$ grep "lucid multiverse"/etc/apt/sources.list

If you have thelucid multiversein yoursources.list, you should see

deb http://us.archive.ubuntu.com/ubuntu/ lucidmultiverse

If you don't see the deb line forlucid multiverse, execute the following line to add this repository tosources.list.

echo "deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse"| sudo tee -a /etc/apt/sources.list

Before proceeding further, do adist-upgrade to ensure all the current packages on your server are up-to-date.

sudo apt-get update
sudo apt-get dist-upgrade

If you've not updated in a while, apt-getmay recommend you reboot your server afterdist-upgradefinishes. Do the reboot before proceeding to the nextstep.

2.Install LibreOffice

BigBlueButton uses LibreOffice to convertuploaded MS office documents to PDF. LibreOffice does a far better job ofconverting documents than the default OpenOffice packages in Ubuntu 10.04.

First, we'll install a stub package foropenoffice. This will serve as a placeholder for BigBlueButton's dependency onOpenOffice..

wget http://bigbluebutton.googlecode.com/files/openoffice.org_1.0.4_all.deb
sudo dpkg -i openoffice.org_1.0.4_all.deb

If you get an error in the above, check ifyou have openoffice.org-core installed. If so, remove all the existingopenoffice.org pacakges and try to install the above stub package again.

Next, we'll install LibreOffice

sudo apt-get install python-software-properties

sudo apt-add-repository ppa:libreoffice/libreoffice-4-0
sudo apt-get update

sudo apt-get install libreoffice-common
sudo apt-get install libreoffice

3.安装ruby组件之前,需要把一些兼容的依赖包加以安装,这样才能成功安装ruby.

l安装以下依赖包

wKioL1MMwPeytQ1QAAAbF9CsaQE724.png

l安装gcc编译环境:

a)$sudo apt-get installbuild-essential

b)为了成功编译gSOAP,您需要安装GTK+的开发文件和GLib(libraries)

$sudoapt-get install libgtk2.0-dev libglib2.0-dev

c)安装Checkinstall以便管理您系统中直接由源代码编译安装的软件。

$sudoapt-get install checkinstall

llibpq-dev

sudo add-apt-repository ppa:pitti/postgresql
sudo apt-get update
sudo apt-get install postgresql libpq-dev

sudo  apt-get install libpg-de

apt-get install libxslt-dev libxml2-dev libpam-dev libedit-dev

其他包下载:

libbsd0_0.2.0-1_amd64   http://packages.ubuntu.com/zh-cn/lucid/amd64/libbsd0/download

libpq5_9.1.12-0ubuntu0.12.04_amd64http://packages.ubuntu.com/zh-cn/precise/amd64/libpq5/download

libpq-dev_9.1.12-0ubuntu0.12.04_amd64.deb

ruby1.8-dev    

rubygems_1.8.7-1_amd64.deb

ruby1.9.1_1.9.3.0-1ubuntu2.8_amd64.deb

libruby1.9.1_1.9.3.0-1ubuntu2.8_amd64.deb  

4.Install Ruby

The record and playbackinfrastructure uses Ruby for the processing of recorded sessions.

Check if you have a previousversion of ruby install.

   dpkg -l | grep ruby

If you already have rubyinstalled, check it's version

~$ ruby -v
ruby
1.9.2p290(2011-07-09 revision 32553)

If the version of ruby does notmatch the above, uninstallitbefore continuing.


5.Install ffmpeg

BigBlueButton uses ffmpeg toprocess video files for playback. To install ffmpeg, create a file calledinstall-ffmpeg.shandcopy and paste in the following script.

sudo apt-get install 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
 sudo git clone http
://git.chromium.org/webm/libvpx.git "libvpx-${LIBVPX_VERSION}"
 cd
"libvpx-${LIBVPX_VERSION}"
 sudo git checkout
"v${LIBVPX_VERSION}"
 sudo
./configure
 sudo make
 sudo 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
 sudo wget
"http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2"
 sudo tar
-xjf "ffmpeg-${FFMPEG_VERSION}.tar.bz2"
 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
fi

Next, run the commands

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

After the script finishes, checkthat ffmepg is installed by typing the commandffmpeg-version. You should see the following

$ ffmpeg -version
ffmpeg version
2.0.1
built on
Sep1201302:02:28with gcc 4.4.3(Ubuntu4.4.3-4ubuntu5.1)
configuration
:--enable-version3 --enable-postproc --enable-libvorbis --enable-libvpx
libavutil      
52.38.100/52.38.100
libavcodec    
55.18.102/55.18.102
libavformat    
55.12.100/55.12.100
libavdevice    
55.3.100/55.3.100
libavfilter    
3.79.101/3.79.101
libswscale      
2.3.100/2.3.100
libswresample  
0.17.102/0.17.102

6.Install BigBlueButton

We're now ready to install BigblueButton. Type

   sudo apt-get install bigbluebutton

This single command is where all the magic happens. This commandinstallsallof BigBlueButton components with theirdependencies. The packaging will do all the work for you to install andconfigure your BigBlueButton server.

If you are behind a HTTP Proxy, you will get an error from thepackage bbb-record-core. You can resolve this bymanually installing the gems.

If you get an error message

......Error:FreeSWITCH didn't start 

you can ignore it as we'll do a clean restart of all thecomponents in step 7.

7. Install API Demos

To interactively test your BigBlueButton server, you can install aset of API demos.

   sudo apt-get install bbb-demo

You'll need the bbb-demo package installed if you want to join theDemo Meeting from your BigBlueButton server's welcome page. This is the samewelcome page you see atdev081 demoserver.

Later on, if you wish to remove the API demos, you can enter thecommand

   sudo apt-get purge bbb-demo

8. Doa Clean Restart

To ensure BigBlueButton has started cleanly, enter the followingcommands:

   sudo bbb-conf --clean
  sudo bbb
-conf --check

The--cleanoptionwill clear out all the log files for BigBlueButton. The--checkoptionwill grep through the log files looking for errors.

The output fromsudo bbb-conf --checkwilldisplay your current settings and, after the text, "Potential problems described below", print any potentialconfiguration or startup problems it has detected.



你可能感兴趣的:(ubuntu,64,bigbluebutton,0.81,12.04LTS)