Windows下部署BigBlueButton.docx
- 文档编号:7282856
- 上传时间:2023-01-22
- 格式:DOCX
- 页数:9
- 大小:67.66KB
Windows下部署BigBlueButton.docx
《Windows下部署BigBlueButton.docx》由会员分享,可在线阅读,更多相关《Windows下部署BigBlueButton.docx(9页珍藏版)》请在冰豆网上搜索。
Windows下部署BigBlueButton
Windows下部署BigBlueButton
Tag:
BigblueButton,视频会议,WhiteBoard,deskShare,Red5
1.在red5下部署bigbluebutton,video,deskshare,sip等应用,其中bigbluebutton是必须的,并用red5的demo:
echo_test测试其可用性,bigbluebutton在启动中会连接asterisk或freeswitch,如果你需要配置VOIP则配置相应的xml文件,并在red5-web.xml里进行import
事先安装好ant与gradle部署工具.
2.下载activemq,并启动(运行win32/wrapper.exe),不需要配置
查看61616端口是否有tcp在监听
3.下载nginx的windows版本,配置如下:
nginx在此系统中的作用主要是url转向,根据URL向5080或8080端口跳转.
#usernobody;
worker_processes1;
#error_loglogs/error.log;
#error_loglogs/error.lognotice;
#error_loglogs/error.loginfo;
#pidlogs/nginx.pid;
events{
worker_connections1024;
}
http{
includemime.types;
default_typeapplication/octet-stream;
#log_formatmain'$remote_addr-$remote_user[$time_local]"$request"'
#'$status$body_bytes_sent"$http_referer"'
#'"$http_user_agent""$http_x_forwarded_for"';
#access_loglogs/access.logmain;
sendfileon;
#tcp_nopushon;
#keepalive_timeout0;
keepalive_timeout65;
#gzipon;
server{
listen80;
server_namelocalhost;
#charsetkoi8-r;
#access_loglogs/host.access.logmain;
#location/{
#roothtml;
#indexindex.htmlindex.htm;
#}
location~(/open/|/close/|/idle/|/send/){
proxy_passhttp:
//127.0.0.1:
8088;
proxy_redirectoff;
proxy_set_headerX-Forwarded-For$proxy_add_x_forwarded_for;
client_max_body_size10m;
client_body_buffer_size128k;
proxy_connect_timeout90;
proxy_send_timeout90;
proxy_read_timeout90;
proxy_bufferingoff;
}
location/bigbluebutton{
proxy_passhttp:
//127.0.0.1:
8080;
proxy_redirectdefault;
proxy_set_headerX-Forwarded-For$proxy_add_x_forwarded_for;
client_max_body_size10m;
client_body_buffer_size128k;
proxy_connect_timeout90;
proxy_send_timeout90;
proxy_read_timeout90;
proxy_buffer_size4k;
proxy_buffers432k;
proxy_busy_buffers_size64k;
proxy_temp_file_write_size64k;
includefastcgi_params;
}
location/{
rootM:
/BigBlueButton/nginx-1.0.5/nginx-1.0.5/html/bigbluebutton-default;
indexindex.htmlindex.htm;
}
location/client{
rootM:
/BigBlueButton/nginx-1.0.5/nginx-1.0.5/html/bigbluebutton;
indexindex.htmlindex.htm;
}
location/deskshare{
proxy_passhttp:
//127.0.0.1:
5080;
proxy_redirectdefault;
proxy_set_headerX-Forwarded-For$proxy_add_x_forwarded_for;
client_max_body_size10m;
client_body_buffer_size128k;
proxy_connect_timeout90;
proxy_send_timeout90;
proxy_read_timeout90;
proxy_buffer_size4k;
proxy_buffers432k;
proxy_busy_buffers_size64k;
proxy_temp_file_write_size64k;
includefastcgi_params;
}
#error_page404/404.html;
#redirectservererrorpagestothestaticpage/50x.html
#
error_page500502503504/50x.html;
location=/50x.html{
roothtml;
}
#proxythePHPscriptstoApachelisteningon127.0.0.1:
80
#
#location~\.php${
#proxy_passhttp:
//127.0.0.1;
#}
#passthePHPscriptstoFastCGIserverlisteningon127.0.0.1:
9000
#
#location~\.php${
#roothtml;
#fastcgi_pass127.0.0.1:
9000;
#fastcgi_indexindex.php;
#fastcgi_paramSCRIPT_FILENAME/scripts$fastcgi_script_name;
#includefastcgi_params;
#}
#denyaccessto.htaccessfiles,ifApache'sdocumentroot
#concurswithnginx'sone
#
#location~/\.ht{
#denyall;
#}
}
#anothervirtualhostusingmixofIP-,name-,andport-basedconfiguration
#
#server{
#listen8000;
#listensomename:
8080;
#server_namesomenamealiasanother.alias;
#location/{
#roothtml;
#indexindex.htmlindex.htm;
#}
#}
#HTTPSserver
#
#server{
#listen443;
#server_namelocalhost;
#sslon;
#ssl_certificatecert.pem;
#ssl_certificate_keycert.key;
#ssl_session_timeout5m;
#ssl_protocolsSSLv2SSLv3TLSv1;
#ssl_ciphersHIGH:
!
aNULL:
!
MD5;
#ssl_prefer_server_cipherson;
#location/{
#roothtml;
#indexindex.htmlindex.htm;
#}
#}
}
nginx中有两个目录:
1)bigbluebutton(下载www-bigbluebutton.tar.gz得到)
---client(文件夹)
------
---index.html
其中conf下需要配置config.xml文件,把ip改成服务器IP(注意不能改成127.0.0.1)
2)bigbluebutton-default(下载www-bigbluebutton-default.tar.gz得到)
4.0安装mysql,新建数据库bigbluebutton_dev
4.1在tomcat目录下安装bigbluebutton-web,
重命名为bigbluebutton
更改demo/bbb_api_conf.jsp中的ip为服务器IP(注意不能改成127.0.0.1)
当连接nginx:
localhost:
80后输入用户名,将跳转到tomcat:
localhost:
8080/bigbluebutton/demo/demo3.jsp页,再跳转到nginx:
IP:
80/client/…..swf
配置web-inf/class/bigbluebutton.properties文件,注意里面所有的路径中不能有空格,我的配置如下:
(最好下载pdftk.exe,也放到swftools路径中)
#
#ThesearethedefaultproperitesforBigBlueButtonWebapplication
dataSource.url=jdbc:
mysql:
//localhost/bigbluebutton_dev
dataSource.username=root
dataSource.password=jjjddd
dataSource.driverClassName=com.mysql.jdbc.Driver
#----------------------------------------------------
#DirectorywhereBigBlueButtonstoresuploadedslides
presentationDir=i:
/upload
#----------------------------------------------------
#DirectorywhereSWFTOOLS(pdf2swf,jpeg2swf,png2swf)arelocated
swfToolsDir=i:
/SWFTools/
#----------------------------------------------------
#DirectorywhereImageMagick'sconvertexecutableislocated
imageMagickDir=i:
/ImageMagick-6.7.1-Q16/
#----------------------------------------------------
#Usefullpathtoghostscriptexecutablesincetheexecnamesaredifferent
#foreachplatform.
ghostScriptExec=E:
/ProgramFiles/gs/gs9.01/bin/gswin32c.exe
#----------------------------------------------------
#FontsdirectorypassedintoPDF2SWFtosupporthighlightingoftexts
#intheSWFslides.
fontsDir=C:
/Windows/Fonts
#----------------------------------------------------
#ThisisaworkaroundforaproblemconvertingPDFfiles,referencedat
#
noPdfMarkWorkaround=/etc/bigbluebutton/nopdfmark.ps
#----------------------------------------------------
#Thesewillbecopiedincaseswheretheconversionprocess
#failstogenerateaslidefromtheuploadedpresentation
BLANK_SLIDE=/var/bigbluebutton/blank/blank-slide.swf
BLANK_THUMBNAIL=/var/bigbluebutton/blank/blank-thumb.png
#----------------------------------------------------
#Numberofminutestheconversionshouldtake.Ifittakes
#morethanthistime,canceltheconversionprocess.
maxConversionTime=5
#----------------------------------------------------
#Maximumnumberofpagesallowedforanuploadedpresentation(default100).
maxNumPages=100
#----------------------------------------------------
#Defaultdialaccessnumber
defaultDialAccessNumber=613-555-1234
#----------------------------------------------------
#Defaultwelcomemessagetodisplaywhentheparticipantjoinstheweb
#conference.Thisisonlyusedfortheoldschedulingwhichwillbe
#removedinthefuture.UsetheAPItocreateaconference.
defaultWelcomeMessage= http: //www.bigbluebutton.org/content/videos">checkoutthesevideos. #---------------------------------------------------- #Injectvaluesintograilsservicebeans beans.presentationService.presentationDir=${presentationDir} beans.dynamicConferenceService.serviceEnabled=true beans.dynamicConferenceService.apiVersion=0.7 beans.dynamicConferenceService.minutesElapsedBeforeMeetingExpiration=60 beans.dynamicConferenceService.securitySalt=8cb12ea1f9bd7c59c118d7ac76239899 beans.dynamicConferenceService.defaultWelcomeMessage=${defaultWelcomeMessage} beans.dynamicConferenceService.defaultDialAccessNumber=${defaultDialAccessNumber} #---------------------------------------------------- #ThisURLiswheretheBBBclientisaccessible.Whenausersucessfully #entersanameandpassword,sheisredirectedheretoloadtheclient. bigbluebutton.web.serverURL=http: //118.229.139.43 #---------------------------------------------------- #AssignURLwherethelogged-outparticipantwillberedirectedaftersign-out. #Ifcommented-out,itreturnstobigbluebutton.web.serverURL #bigbluebutton.web.logoutURL=http: //118.229.139.43 #------------------------------------------------------ #Settingtoenabletheoldschedulingmechanism.Thisistemporary #aswewillbemovingtousetheAPIlater. # beans.schedulingService.schedulingServiceEnabled=false #------------------------------------------------------ #Thesepropertiesareusedtotesttheconversionprocess. #Conferencenamefolderin${presentationDir}(seeabove) beans.presentationService.testConferenceMock=conference-mock-default beans.dynamicConferenceService.testConferenceMock=conference-mock-default #Conferenceroomfolderin${presentationDir}/${testConferenceMock} beans.presentationService.testRoomMock=conference-mock-default #Uploadedpresentationname beans.presentationService.testPresentationName=appkonference #Uploadedpresentationfile beans.presentationService.testUploadedPresentation=appkonference.txt #TestvoiceBridgenumber beans.dynamicConferenceService.testVoiceBridge=99999 5.安装openoffices 安装完成后运行(OpenOffice.org3.0\program): soffice.exe-headless-nologo-norestore-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager 查看8100端口是否打开了: netstat-anptcp TCP127.0.0.1: 81000.0.0.0: 0LISTENING 6.现在打开tomcat,activeMQ,red5,nginx。 red5的bigbluebutton应用是依赖于activemq的,所以先打开activemq. 浏览器中输入http: //localhost/
WelcometothisBigBlueButtonDemoServer.
ForhelpusingBigBlueButton
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Windows 部署 BigBlueButton