版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、InstallingBigBlueButtonHowtoinstallBigBlueButtonlikearealdeveloper.:-)UpdatedFeb15,2021byffdixongmailThisguidehasbeenupdatedfor0.71aandiscurrentlyDRAFT-ifyouareunabletocompletetheseinstructions,pleaseposttobigbluebutton-setupandwellcorrectanyerrors.ThisguideshowsyouhowtoinstallBigBlueButtonfromsourc
2、eonUbuntu10.04.x32-bit.Inmostcases,youllwanttoinstallfrompackages,butifyouwanttoreallyunderstandhowBigBlueButtonissetup,gothroughthestep-by-stepinstructionsbelowandyoullbecomefamiliarwitheachcomponent.Tostart,youllneedacomputerrunningUbuntu10.0432-bitor64-bit,eitheraphysicalmachineoravirtualmachine(
3、VM).WhenyoubootyourUbuntuVM,itneedstohaveanetworkIPthatyoucanaccessfromanothercomputer(suchasthehostcomputerrunningtheVM).Alsoensurethatport80(),port1935(RTMP),andport9123(desktopsharing)areopenonyourserver.Port80mustnotbealreadyinusebyanotherserver(suchasapache2).Theinstructionsbelowassumesyouareru
4、nningaUbuntu10.04VMwithrootaccess.LoginasrootLoginasroottoavoidhavingtotypesudoinfrontofmostofthecommandsrequiredtoinstallBigBlueButton.sudo-iCheckifyouhaveainternetconnectionpinggoogleIfyougetanerrorsayingyoureth0isnotconnected,checkiftheVMisusingeth1:ifconfig-aIfitshowsthefollowing:eth1Linkencap:E
5、thernetHWaddr00:0c:29:dd:b4:51inetaddr:54Bcast:55Mask:inet6addr:fe80:20c:29ff:fedd:b451/64Scope:LinkUPBROADCASTRUNNINGMULTICASTMTU:1500Metric:1RXpackets:4080349errors:0dropped:0overruns:0frame:0TXpackets:3932137errors:0dropped:0overruns:0carrier:0实用文档.locollisions:
6、 0 txqueuelen : 1000RX bytes: 1216680270( 1.2 GB) TX bytes : 822963271( 822.9 MB)Interrupt : 19 Base address : 0x2000Link encap : Local Loopbackinet addr:127.0 . 0.1 Mask : 255.0 . 0.0inet6 addr: : 1/128 Scope : HostUP LOOPBACK RUNNING MTU: 16436Metric : 1RX packets TX packets collisions RX bytes:12
7、938 errors:12938 errors:0 txqueuelen:40299608(40.20 dropped: 0 overruns: 0 frame0 dropped: 0 overruns: 0 carrier0MB ) TX bytes : 40299608( 40.2:0:0MB)Makeituseeth0insteadvi/etc/udev/rules.d/70-persistent-net.rulesThiswillshow:#Thisfilewasautomaticallygeneratedbythe/lib/udev/write_net_rules#program,r
8、unbythepersistent-net-generator.rulesrulesfile.#Youcanmodifyit,aslongasyoukeepeachruleonasingle#line,andchangeonlythevalueoftheNAME=key.#PCIdevice0x1022:0x2000(pcnet32)SUBSYSTEM=net,ACTION=addATTRaddress=00:0c:29:23:d1:b3NAME=eth1#PCIdevice0x1022:0x2000(pcnet32)SUBSYSTEM=net,ACTION=addATTRaddress=00
9、:0c:29:dd:b4:51NAME=eth0,DRIVERS=?*,ATTRtype=1,KERNEL=eth*,DRIVERS=?*,ATTRtype=1,KERNEL=eth*SwapthetwoentriesbyeditingNAME=eth1toNAME=eth0andviceversa.Rebootyourmachine.Checkifyoumanagetoconnecttotheinternet.MakesuretheVMsnetworkadapterisusingaBridgedconnectioninsteadofNAT.OntheVMWareplayerthisisena
10、bledintheDevicesmenuatthetop.Moreinfocanbefoundhere:/showthread.php?t=221768UpdateandUpgradeyourVMOnceyouhaveinternetconnection,updateandupgradeyourVM.apt-getupdateapt-getupgradeInstallMySQLapt-getinstallmysql-serverWhenprompted,enterapasswordfortheMySQLrootaccountandkeepthishandy.In
11、stallTomcatapt-getinstalltomcat6Confirmthattomcatisrunning:/:8080/Todetermineyourip:ifconfigseeifconfig-acommandaboveforoutput.Youripshouldbethevalueofinetaddr:whichfromaboveis54Installswftoolsapt-getinstallswftoolsIftheinstallerdoesnotfindthepackageswftoolstoinstall,youhavetoeditthesourc
12、es.listfileforaptanduncommentthepartnerrepository.Todothis:vi/etc/apt/sources.listOncehere,uncommentthepartnerrepositorydeb:/archive.canonical/ubuntulucidpartnerRunapt-getupdatethentryinstallingitoncemore.InstallImageMagickapt-getinstallimagemagickInstallNginxapt-getinstallnginxInstallActiveMQmkdir/
13、tmp/bbbcd/tmp/bbbwget:apache.mirror.rafal.ca/activemq/apache-activemq/5.4.1/apache-activemq-5.4.1-bin.tar.gztarzxvfapache-activemq-5.4.1-bin.tar.gzmv/tmp/bbb/apache-activemq-5.4.1/usr/share/activemqchown-Rroot:root/usr/share/activemqActiveMQdependsonJsvc,toinstall:apt-getinstalljsvcInstallred5cd/tmp
14、/bbbwget:/downloads/0.70/red5-0.9.1.tar.gztarxvfred5-0.9.1.tar.gzmv/tmp/bbb/red5-0.9.1/usr/share/red5Createred5useradduser-system-home/usr/share/red5-no-create-home-group-disabled-password-shell/bin/falsered5Assignproperpermissionschown-Rroot:root/usr/share/red5chown-Rred5:adm/usr/s
15、hare/red5/logchmod755/usr/share/red5/logchgrpred5/usr/share/red5/webappschmod775/usr/share/red5/webappsDownloadBigBlueButtonfilesfilesThese.tar.gzfileshavecreatedfromainstallationofBigBlueButton0.71a.cd/tmp/bbbwget:/down10ads/0.71a/init-scripts.tar.gzwget:/down10ads
16、/0.71a/freeswitch-config.tar.gzwget:/down10ads/0.71a/red5-bigbluebutton.tar.gz实用文档.wget:/downloads/0.71a/red5-deskshare.tar.gzwget:/downloads/0.71a/red5-sip.tar.gzwget:/downloads/0.71a/red5-video.tar.gzwget:/downloa
17、ds/0.71a/www-bigbluebutton-default.tar.gzwget:/downloads/0.71a/www-bigbluebutton.tar.gzwget:/downloads/0.71a/bigbluebutton.warwget:/downloads/0.71a/nginx-bigbluebutton.confwget:/downloads/0.71a/bbb-confAuto-startactiveMQ,bbb-openoff
18、ice-headless,andred5onrebootcd/etc/init.dtarxzvf/tmp/bbb/init-scripts.tar.gzchmod+x/etc/init.d/activemqchmod+x/etc/init.d/red5chmod+x/etc/init.d/bbb-openoffice-headlessupdate-rc.dactivemqdefaultsupdate-rc.dred5defaultsupdate-rc.dbbb-openoffice-headlessdefaultsInstallFreeSWITCHBigBlueButtonusesanexte
19、rnalconferencingservertohandlevoicecalls.FreeSWITCHallowsBigBlueButtontobeintegratedwithaPBXsystemandwhenconfiguredproperly,canacceptincomingcallsfromaSIPtrunkingprovider.SinceFreeSWITCHisntintheUbunturepositoriesweneedtoaddittooursources.Todothis:apt-getinstallpython-software-propertiesadd-apt-repo
20、sitoryppa:freeswitch-drivers/freeswitch-nightly-driversapt-getupdateapt-getinstallfreeswitchfreeswitch-lang-enConfigureFreeSWITCHcd/opt/freeswitch/tarxzvf/tmp/bbb/freeswitch-config.tar.gzchown-Rfreeswitch:daemonconfchmod-R755confsed-is/FREESWITCH_ENABLED=false/FREESWITCH_ENABLED=true/g/etc/default/f
21、reeswitchConfigureNginxBesuretoreplacewithyourIPordomain.cat/tmp/bbb/nginx-bigbluebutton.conf|seds/5/etc/nginx/sites-available/bigbluebuttonEnablethebigbluebuttonnginxconfigln-s/etc/nginx/sites-available/bigbluebutton/etc/nginx/sites-enabled/bigbluebuttonInstallOpenOfficeapt-getinstallope
22、Startopenofficeasaserviceservicebbb-openoffice-headlessstartDisableSecuritysettingsforTOMCAT6sed-is/#TOMCAT6_SECURITY=yes/TOMCAT6_SECURITY=no/etc/default/tomcat6Setupthedatabasemysql-uroot-pThisisanimportantstep.Ifyouskipthis,BigBlueButtonwillnotworkatall.JusthitEnterwhenpromptedforapassw
23、ordifyoudidntenterone,otherwiseusetherootpasswordyouaddedealier.Onthemysqlprompt,typecreatedatabasebigbluebutton_dev;grantallonbigbluebutton_dev.*tobbbocalhostidentifiedbysecret1flushprivileges;quitInstallbbb-webcp/tmp/bbb/bigbluebutton.war/var/lib/tomcat6/webapps/bigbluebutton.warDeterminePDF2SWF,C
24、ONVERTandGSapplicationsMakeanoteofwherepdf2swfisinstalledwhichpdf2swfYoushouldseesomethinglike/usr/bin/pdf2swfMakeanoteofwheretheconvertapplicationisinstalledwhichconvertYoushoudseesomethinglike./usr/bin/convertNotewhereGhostScriptisinstalledwhichgsYoushoudseesomethinglike./usr/bin/gsGenerateaGUIDFo
25、rsecurity,youneedtogenerateaGUID.YoucanuseanonlineGUIDgenerator,suchasthisone.KeepthisGUIDhandyaswewillneeditshortly.YouwillneedtogenerateaHEXEncodedstringandcopyitminusthe0x.Epertievi/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebuttonsChangethefollowing:?swf
26、ToolsDirtothedirectorywherepdf2swfislocated?imageMagickDirtothedirectorywhereconvertislocated?ghostScriptExectopointtothegsexecutable?changebigbluebutton.web.serverURL=:?setbeans.dynamicConferenceService.securitySalttobeequaltotheguidwejustgenerated(i.e.beans.dynamicConferenceService.securitySalt=)C
27、reatenoPdfMarkWorkaround.psCreate/etRRgbluebuttoWnopdfmarkpswiththefollowingcontent:%!/pdfmarkcleartomarkbinddefRestartTomcat6servicetomcat6restartCreatethePresentationUploaddirectorymkdir/var/bigbluebuttonchown-Rtomcat6:adm/var/bigbluebuttonchmod-R777/var/bigbluebuttonInstallbbb-appscd/usr/share/re
28、d5/webappstarxzvf/tmp/bbb/red5-bigbluebutton.tar.gzInstallbbb-deskshare-apptarxzvf/tmp/bbb/red5-deskshare.tar.gzInstallbbb-video-apptar xzvf/tmp/bbb/red5-video.tar.gzInstallbbb-voice-apptarxzvf/tmp/bbb/red5-sip.tar.gzAtthispointwehavetoeditoneoftheconfigurationfilestopointtoyoursipserver.Thisdocumen
29、tassumesitisyourcurrentmachine,butitcanbeanotherstandalonemachineallyouneedisitsIPaddress.Openthefilevi/usr/share/red5/webapps/sip/WEBINF/pertiesEditthelinethatsayssip.serverjost:19268.0.35andreplacetheIPwith.Installdefaultwebpagescd/var/wwwtarxzvf/tmp/bbb/www-bigbluebutton-defa
30、ult.tar.gzInstallbbb-clienttarxzvf/tmp/bbb/www-bigbluebutton.tar.gzNowweneedtocreatebbb_api_conf.jsp,whichwillholdourGUIDandthe旧igBlueButtonURL.BesuretoreplaceandwiththeGUIDwegeneratedearlierandyourIP,respectively.echo%!/ThisisthesecuritysaltthatmustmatchthevaluesetintheBigBlueButtonserverStringsalt
31、=;/ThisistheURLfortheBigBlueButtonserverStringBigBlueButtonURL=:/bigbluebutton/;%/var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jspEditclientconfigvi/var/wwWbigbluebutton/client/conf/config.xml?ChangetheuritoyourIPaddressYourconfig.xmlshouldlooksomethinglike:0.71version3818-2021-01-18/versionporttesthost=5application=video/applicationuri=rtmp:/5/bigbluebuttonhost=:5/bigbluebutton/api/enter/languageuserSelectio
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年智能制造装备入股合作协议范本
- 2024-2030年中国安全鞋内钢包头市场竞争策略分析及发展趋势研究报告
- 2024年度智能制造设备融资合作意向协议书3篇
- 2024-2030年中国反6烯十八酸项目可行性研究报告
- 梅河口康美职业技术学院《生态建筑》2023-2024学年第一学期期末试卷
- 眉山药科职业学院《建筑室内设计制图与识图》2023-2024学年第一学期期末试卷
- 2024年版公司股份转让及业务重组专项合同版B版
- 马鞍山学院《乡镇总体规划》2023-2024学年第一学期期末试卷
- 2024年度水暖电消防设施改造与节能降耗服务合同2篇
- 2024年小学三年级数学(北京版)-简单分数的加减法-3学习任务单
- C程序设计1-5章测试题(答案版本)
- 北京市西城区2023-2024学年高一上学期期末考试 语文 含答案
- 2024消防安全常识60题题库(含答案)
- GB/T 44351-2024退化林修复技术规程
- 2024-2025学年重庆七中八年级(上)第一次月考物理试卷(含答案)
- 水利工程外观质量标准、观感检查项目外观质量现场评定表、外观质量评定表、评定报告格式
- 短视频策划、制作与运营知识学习考试题库(含答案)
- 2024年环保知识生态建设知识竞赛-林业有害生物防治知识竞赛考试近5年真题集锦(频考类试题)带答案
- 2024年新人教版四年级数学上册《教材练习1练习一(附答案)》教学课件
- 我的教育故事
- 2023-2024学年人教版高中信息技术必修一第二章第一节《解决问题的一般过程和用计算机解决问题》教案
评论
0/150
提交评论