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

开发BBB-Web

下面的部分将教你怎么开发bigbluebutton-web

首先,你需要根据你的设置升级最新的bigbluebutton.properties文件。总的来说,你不得不改变URLsecurity salt,如果你不知道你的salt,运行命令 sudo bbb-conf --salt

然后依次执行下面2条命令:

cd /home/firstuser/dev/bigbluebutton/

# Edit the file and change the values of bigbluebutton.web.serverURL and securitySalt. 

# Make sure you don't include the "/bigbluebutton" at the end of your serverURL.
vi bigbluebutton-web/grails-app/conf/bigbluebutton.properties

现在你需要给你的用户账户添加访问幻灯片、上传演示文稿、写入日志文件的权限,依次执行下面2条命令:

sudo chmod -R ugo+rwx /var/bigbluebutton
sudo chmod -R ugo+rwx /var/log/bigbluebutton

现在你需要创建nginx文件,使其重定向到你的bbb-web开发目录中。执行命令:

echo "
# Handle request to bbb-web running within Tomcat. This is for
# the BBB-API and Presentation.
location /bigbluebutton {
proxy_pass http://127.0.0.1:8888;
proxy_redirect default;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;

# Allow 30M uploaded presentation document.
client_max_body_size 30m;
client_body_buffer_size 128k;

proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;

proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;

include fastcgi_params;
}
" | sudo tee /etc/bigbluebutton/nginx/web_dev > /dev/null 2>&1

现在我们仅仅需要创建一个链接,以至于请求能够被重定向,然后重启nginx,依次执行下面2条命令:

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值