BigBlueButton安装方法

BigBlueButton安装方法

BigBlueButton只需架设一台服务器,其他客户用浏览器访问服务器输入用户密码就能使用。

 

设备条件

系统:Ubuntu10.04

内存:2G

可用硬盘:5G

具有root的访问权限

80端口可用

 

步骤一:使用Ubuntu架设BigBlueButton0.71a服务器

参考http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu

1.      安装BigBlueButton,得到仓库密钥

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

 2。 安装语音会议服务器

BigBlueButton现在允许您选择使用语音会议或者Asterisk或者FreeSWITCH。 我们提供两个配置包,所以很容易安装其中之一。 我们建议FreeSWITCH。

要安装FreeSWITCH:(推荐)

 

   sudo apt-get install python-software-properties 
  sudo add-apt-repository ppa:freeswitch-drivers/freeswitch-nightly-drivers
  sudo apt-get update
  sudo apt-get install bbb-freeswitch-config
 
或者,替换为Asterisk的安装( 警告:不要同时安装 ):

   sudo apt-get update
   sudo apt-get install bbb-voice-conference

再次提醒,只能安装上述之一。

3。 安装BigBlueButton

现在,我们准备安装BigBlueButton。 输入:

 

    sudo apt-get install bigbluebutton 

一行命令产生魔术般的变化。 该命令将安装 所有 与他们的依赖关系BigBlueButton分量。 这里的一个屏幕快照将安装包了。


输入'y'和按下回车键。 然后坐下来。 片刻之后,如果你没有安装MySQL,MySQL的包脚本会要求指定一个为MySQL'root'用户的密码。


 

输入MySQL的'root'用户密码(您需要输入两次)。 接着会提示你输入MySQL root密码(如下所示)。 BigBlueButton需要访问MySQL创建数据库。 输入前面相同的密码验证。

注:MySQL的密码不应该包含以下字符  ! # [ ^ $ ]( )  ,因为它们会导致BigBlueButton web的安装脚本中断。

 

4。 默认配置重新启动

为确保BigBlueButton已默认配置启动,输入以下命令:

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

从输出  sudo bbb-conf --check 会显示您的当前设置和文字后," Potentialproblems described below ",打印任何配置或启动问题已检测。 通常情况下,没有消息文本的。

如是远程服务器

修改bigbluebutton端口:将默认的ip改成ssh地址:80

bbb-conf –setip[host]:[port] : 用来修改运行主机的地址和端口.  主机地址可以是IP,也可以是域名.

 

试用你的服务器(14:42分钟后)

你已经有了一个完整的BigBlueButton服务器上运行(不只是爱你的Ubuntu / Debian的包功率)。 打开一个Web浏览器到您的服务器的URL(服务器ip地址)。 您应该看到BigBlueButton欢迎屏幕。


 要开始使用您的BigBlueButton服务器,请输入您的姓名,然后点击'加入'按钮。 您可以加入演示会议。


OK !

参考http://bigbluebutton.org/support

参考http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu

 

步骤二: 安装Moodle(为了能使用密码登录)

1.   安装Apache2

sudoapt-get install apache2

 

启动Apache
$ sudo /usr/sbin/apache2ctl start
停止Apache
$ sudo /usr/sbin/apache2ctl stop
重启Apache
$ sudo /etc/init.d/apache2 restart

 

如ServerName有问题,

sudo vi/etc/apache2/httpd.conf

增加ServerName localhost

 

备注:apache服务器与bigbluebutton的服务器都采用80端口,如果两个服务器部署到同一台机器上,需要修改一个服务器为其他端口。

 

修改bigbluebutton端口:(不推荐)

bbb-conf –setip [host]:[port] : 用来修改运行主机的地址和端口.  主机地址可以是IP, 也可以是域名.

 

修改apache服务器端口方法如下:(推荐)

修改/etc/apache2/ports.conf,将Listener改为其他值,例如8090

2.   安装php5.2(注:不能安装5.3)

1使用办公室的ubuntu,将其中的~/installPhp5.2中的文件传给远程服务器

Scp XXX 用户名@ip:/XX/XX

再用dpkg 安装deb包

libapache2-mod-php5_5.2.10.dfsg.1-2ubuntu6_amd64.deb

php5-cli_5.2.10.dfsg.1-2ubuntu6_amd64.deb

php5-common_5.2.10.dfsg.1-2ubuntu6_amd64.deb

php5-curl_5.2.10.dfsg.1-2ubuntu6_amd64.deb

php5-gd_5.2.10.dfsg.1-2ubuntu6_amd64.deb

php5-ldap_5.2.10.dfsg.1-2ubuntu6_amd64.deb

php5-mysql_5.2.10.dfsg.1-2ubuntu6_amd64.deb

php5-xmlrpc_5.2.10.dfsg.1-2ubuntu6_amd64.deb

 

 

dpkg –I php5-common_5.2.10.dfsg.1-2ubuntu6_amd64.deb

 

dpkg –I php5-cli_5.2.10.dfsg.1-2ubuntu6_amd64.deb

 

dpkg –I php5-curl_5.2.10.dfsg.1-2ubuntu6_amd64.deb php5-gd_5.2.10.dfsg.1-2ubuntu6_amd64.debphp5-ldap_5.2.10.dfsg.1-2ubuntu6_amd64.deb php5-mysql_5.2.10.dfsg.1-2ubuntu6_amd64.debphp5-xmlrpc_5.2.10.dfsg.1-2ubuntu6_amd64.deb

 

dpkg –I libapache2-mod-php5_5.2.10.dfsg.1-2ubuntu6_amd64.deb

 

如有问题,可以先安装moodle,按照提示

Apt-get install moodle

修复:apt-get –f install

装好php5.3后

dpkg -l | grep php查看php的依赖关系

之后删除5.3的

sudo dpkg -P libapache2-mod-php5

sudo rm /etc/php5/apache2/ -r

sudo dpkg -P php5-xmlrpc php5-mysql php5-ldap php5-gdphp5-curl

sudo dpkg -P php5-cli

sudo dpkg -P php5-common

之后再装一遍

记得关闭Ubuntu自动更新,否则将来会自动升级到5.3

修改/etc/apt/apt.conf.d/50unattended-upgrades

注释自动更新

// Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
//      "Ubuntu jaunty-security";
//      "Ubuntu jaunty-updates";
};

更多详细查看 https://help.ubuntu.com/10.04/serverguide/C/automatic-updates.html

 

2创建installphp5.2.sh 脚本(有问题,不用了)

#!/bin/bash
# by Ruben Barkow (rubo77) http://www.entikey.z11.de/
 
# Originally Posted by Bachstelze http://ubuntuforums.org/showthread.php?p=9080474#post9080474
# OK, here's how to do the Apt magic to get PHP packages from the karmic repositories:
 
echo "Am I root?  "
if [ "$(whoami &2>/dev/null)" != "root" ] && [ "$(id -un &2>/dev/null)" != "root" ] ; then
  echo "  NO!
 
Error: You must be root to run this script.
Enter
sudo su
"
  exit 1
fi
echo "  OK";
 
 
#install aptitude before, if you don`t have it:
apt-get install aptitude
# or if you prefer apt-get use:
# alias aptitude='apt-get'
 
# finish all apt-problems:
aptitude update
aptitude -f install
#apt-get -f install
 
# remove all your existing PHP packages. You can list them with dpkg -l| grep php
PHPLIST=$(for i in $(dpkg -l | grep php|awk '{ print $2 }' ); do echo $i; done)
echo these pachets will be removed: $PHPLIST 
# you need not to purge, if you have upgraded from karmic:
aptitude remove $PHPLIST
# on a fresh install, you need purge:
# aptitude remove --purge $PHPLIST
 
 
#Create a file each in /etc/apt/preferences.d like this (call it for example /etc/apt/preferences.d/php5_2);
#
#Package: php5
#Pin: release a=karmic
#Pin-Priority: 991
#
#The big problem is that wildcards don't work, so you will need one such stanza for each PHP package you want to pull from karmic:
 
echo ''>/etc/apt/preferences.d/php5_2
for i in $PHPLIST ; do echo "Package: $i
Pin: release a=karmic
Pin-Priority: 991
">>/etc/apt/preferences.d/php5_2; done
 
# duplicate your existing sources.list replacing lucid with karmic and save it in sources.list.d:
#sed s/lucid/karmic/g /etc/apt/sources.list | sudo tee /etc/apt/sources.list.d/karmic.list
 
# better exactly only the needed sources, cause otherwise you can get a cachsize problem:
echo "# needed sources vor php5.2:
deb http://de.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ karmic main restricted
 
deb http://de.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
 
deb http://de.archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://de.archive.ubuntu.com/ubuntu/ karmic universe
deb http://de.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://de.archive.ubuntu.com/ubuntu/ karmic-updates universe
 
deb http://de.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://de.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
 
deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
" >> /etc/apt/sources.list.d/karmic.list
 
aptitude update
 
apache2ctl restart
 
echo install new from karmic:
aptitude -t karmic install $PHPLIST
 
# at the end retry the modul libapache2-mod-php5 in case it didn't work the first time:
aptitude -t karmic install libapache2-mod-php5
 
apache2ctl restart

 

修改为权限为可执行文件chmod +x ./installphp5.2

执行 sudo ./installphp5.2

 

3.   安装Moodle

sudo apt-get install moodle

 

1.  选择mysql-server

2.  选择否

3.  选择是

4.  选择否

5.  选择是

6.  设置密码

 

sudo gedit/etc/moodle/config.php

修改$CEFG->wwwroot=’http://自己的ip:8090/moodle’

 

(装错卸载: sudo apt-get remove --purge moodle)

 

4.   安装Moodle中BigBlueButton的插件

参考http://blindsidenetworks.com/integration#moodle19

参考http://blindsidenetworks.com/video/moodle19/index.html

 

1.     下载http://blindsidenetworks.com/downloads/moodle/bbb_activity_module_moodle19.zip

 

2.     键入下面的命令

   cd /usr/share/moodle
   sudo unzip bbb_activity_module_moodle19.zip

 

3.     打开浏览器输入

http://机器ip:8090/moodle

4.     登陆 用户密码默认都是admin

5.     点击notifications,你会看到数据库表的设置

6.  点击 'Continue'按钮,你将会被要求配置设置活动模块。

7.  输入网址和密钥(你的BigBlueButton服务器)(或使用默认值)

url:为bigbluebutton的服务器网址,例如http://192.168.10.113/bigbluebutton

salt的值可以在/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties文件的beans.dynamicConferenceService.securitySalt=<value_of_salt>

 

5.   修改字体(如果中文乱码)

1)复制Win系统中文字体到Ubuntu系统中(Win系统字体存放路径为C:\Windows\Fonts,Ubuntu系统中字体存放路径为/usr/share/fonts)
2)在Ubuntu系统字库库中创建一个目录,将Win系统中中文字体拷贝进去
sudo cd /usr/share/fonts
sudo mkdir myfonts
sudo chmod 755 myfonts
cp /win/*.ttf /usr/shar/fonts/myfonts
3)建立字体缓存
sudo mkfontscale
sudo mkfontdir
sudo fc-cache –fv
4)重启Ubuntu系统
/sbin/shutdown -r now
注:如果不重启,将不会生效

 

步骤三: 使用

1.   创建会议

登陆:http://机器ip:8090/moodle

 

 

2.   使用会议

1.用户登陆,选择available courses

2.选择会议(如是学生登录,必须老师创建会议后才能进入)

3.   修改语言

1.       Language-〉Language packs

2.在Availablelanguage packs中选择语言并安装

3.Language editing在Currentlanguage选中文

4.       语言设置中的缺省语言设为中文 –〉保存更改

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值