BigBleButton v0.8 在ubuntu10.04上安装

本指南详细说明了如何在Ubuntu服务器上安装BigBlueButton,包括安装前提条件、Ruby和BigBlueButton的安装步骤,以及清理服务器的最终操作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一 安装前准备:

1验证Linux版本

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu 
DISTRIB_RELEASE=10.04 
DISTRIB_CODENAME=lucid 
注意:服务器最好的配置

2 GB of memory (4 GB is better)

Dual-core 2.6 GHZ CPU (quad core is better)

Ports 80, 1935, 9123 accessible

Port 80 is not used by another application

50G of free disk space (or more) for recordings

服务器的语言必须是en_US.UTF-8

$ cat /etc/default/locale 
LANG="en_US.UTF-8"

3 确保80端口没被使用

  sudo apt-get install lsof 
  lsof -i :80

若使用,执行下面的命令

1查看80端口使用的进程

[root@gzcourt bin]# netstat -an |grep 80

2清除80端口的进程 

lsof -i :80|grep -v "PID"|awk '{print "kill -9",$2}'|sh 

上面的一切准备就绪,开始转入安装:

更新你的服务器

# Add the BigBlueButton key 
wget http://ubuntu.bigbluebutton.org/bigbluebutton.asc -O- | sudo apt-key add - 
 
# Add the BigBlueButton repository URL and ensure the multiverse is enabled 
echo "deb http://ubuntu.bigbluebutton.org/lucid_dev_08/ bigbluebutton-lucid main" | sudo tee /etc/apt/sources.list.d/bigbluebutton.list 
echo "deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse" | sudo tee -a /etc/apt/sources.list

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

2sudo apt-get dist-upgrade命令后 重启执行

reboot

 安装Ruby

安装依赖包编译Ruby

sudo apt-get install zlib1g-dev libssl-dev libreadline5-dev libyaml-dev build-essential bison checkinstall libffi5 gcc checkinstall libreadline5 libyaml-0-2

2创建一个install-ruby.sh 文件,该文件放在/home/hzzx/ccc/install-ruby.sh

#!/bin/bash 
cd /tmp 
wget http://ftp.ruby-lang.org/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@gmail.com 
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

接下类执行

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

安装完毕后,执行ruby -v,你应该看到输出1.9.2p290 

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

5执行gem -v

$ gem -v 
1.3.7

确保你安装了gems

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. 

见网址:http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu#Before_you_install

 安装BigBlueButton

执行如下命令

 sudo apt-get install bigbluebutton

键入Y,接着安装

四 安装API Demos

执行如下命令安装Demos

sudo apt-get install bbb-demo

wuwu

五 执行Clean 使服务器重启

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

 --clean 选项清楚日志文件--check 检查服务器存在的错误。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值