您的位置:首页 > 其它

BigBleButton v0.8 在ubuntu10.04上安装

2013-02-20 11:22 295 查看
一 安装前准备:

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

2 服务器的语言必须是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

上面的一切准备就绪,开始转入安装:
1 更新你的服务器
# 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

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

二 安装Ruby
1 安装依赖包编译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

3 接下类执行
chmod +x install-ruby.sh

./install-ruby.sh
4 安装完毕后,执行ruby -v,你应该看到输出1.9.2p290
$ ruby -v

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

5执行gem -v
$ gem -v

1.3.7
6 确保你安装了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
1 执行如下命令
sudo apt-get install bigbluebutton



2 键入”Y”,接着安装
四 安装API Demos
1 执行如下命令安装Demos
sudo apt-get install bbb-demo

wuwu

五 执行Clean 使服务器重启
sudo bbb-conf --clean

sudo bbb-conf --check

--clean 选项清楚日志文件. --check 检查服务器存在的错误。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: