整理下这段时间的研究结果,对BBB更进一步的熟悉和掌握,分享一下。
1. bbb服务器nginx默认监听80端口;
2. /etc/nginx/nginx.conf会包含/etc/nginx/sites-enabled/*中的配置;
3. /etc/nginx/sites-enabled/bigbluebutton会链接到/etc/nginx/sites-available/bigbluebutton配置文件;
4. /etc/nginx/sites-available/bigbluebutton配置了关于bbb的server配置,其中默认“/”会直接访问/var/www/bigbluebutton-default网站目录;并且包含了/etc/bigbluebutton/nginx/*.nginx配置;
5. 符合通配的第一个配置文件/etc/bigbluebutton/nginx/client.nginx会链接到/etc/bigbluebutton/nginx/client,指明了"/client"会直接访问/var/www/bigbluebutton;
6. 符合通配的第二个配置文件/etc/bigbluebutton/nginx/web.nginx会链接到/etc/bigbluebutton/nginx/web,指明了"/bigbluebutton"会访问http://127.0.0.1:8080;
7. 8080端口被tomcat监听, /var/lib/tomcat7/conf链接到/etc/tomcat7/,/etc/tomcat7/server.xml指明了port="8080",appBase="webapps"也就是app的目录;
8. 在/var/lib/tomcat7/webapps中部署了BigBlueButton的webapp;
9. 结合一张图教你读懂BBB更容易理解整个流程,当进入到会议里面后,所有涉及到的应用就是Red5提供的支持。