如何搭建BigBlueButton开发环境(二)

本文档详细介绍了如何在Ubuntu环境下搭建BigBlueButton客户端开发环境,包括设置环境、构建客户端、作出修改、切换客户端以及使用FlashBuilder进行开发。通过修改config.xml文件、更新nginx配置并重启服务,确保客户端正常运行。最后,文章提到了使用FlashBuilder进行客户端开发的步骤,包括安装、导入项目、配置SDK和编译选项。
摘要由CSDN通过智能技术生成

客户端开发

下面的部分将教你怎么在BigBlueButton客户端上作出改变:

设置环境

首先我们需要拷贝最新的config.xml文件,并且通过安装来更新。依次执行下面2条命令:

cd ~/dev/bigbluebutton/
cp bigbluebutton-client/resources/config.xml.template bigbluebutton-client/src/conf/config.xml

然后将下面的ip地址改成你服务器的ip地址,执行命令:

# Update config.xml (replace the 192.168.1.145 with !BigBlueButton hostname/ip address)
sed -i s/HOST/192.168.1.145/g bigbluebutton-client/src/conf/config.xml

根据需要,更新你的文件,执行命令:

vi bigbluebutton-client/src/conf/config.xml

保存退出,现在我们需要设置nginx重定向客户端回到开发版本,如果你的/etc/bigbluebutton/nginx/nginx/client_dev 目录还没有nginx 客户端开发文件,执行下面命令来创建一个:(如果你的用户名不是firstuser,firstuser改为你的用户名)

echo "
location /client/BigBlueButton.html {
root /home/firstuser/dev/bigbluebutton/bigbluebutton-client;
index index.html index.htm;
expires 1m;
}
# BigBlueButton Flash client.
location /client {
root /home/firstuser/dev/bigbluebutton/bigbluebutton-client;
index index.html index.htm;
}
" | sudo tee /etc/bigbluebutton/nginx/client_dev 

检查内容,确保它和上面的匹配。同时,确保你将\home\firstuser改成了你的目录,执行下面命令:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值