已阅读5页,还剩6页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
InstallingBigBlueButtonHow to install BigBlueButton like a real developer. :-)UpdatedFeb 15, 2011This guide has been updated for 0.71a and is currently DRAFT - if you are unable to complete these instructions, please post tobigbluebutton-setupand well correct any errors.This guide shows you how to install BigBlueButton from source on Ubuntu 10.04.x 32-bit.In most cases, youll want to install frompackages, but if you want to really understand how BigBlueButton is setup, go through the step-by-step instructions below and youll become familiar with each component.To start, youll need a computer running Ubuntu 10.04 32-bit or 64-bit, either a physical machine or a virtual machine (VM). When you boot your Ubuntu VM, it needs to have a network IP that you can access from another computer (such as the host computer running the VM).Also ensure that port 80 (HTTP), port 1935 (RTMP), and port 9123 (desktop sharing) are open on your server. Port 80 must not be already in use by another server (such as apache2).The instructions below assumes you are running a Ubuntu 10.04 VM with root access.Log in as rootLog in as root to avoid having to type sudo in front of most of the commands required to install BigBlueButton.sudo -iCheck if you have a internet connectionping If you get an error saying your eth0 is not connected, check if the VM is using eth1:ifconfig -aIf it shows the following:eth1 Link encap:Ethernet HWaddr 00:0c:29:dd:b4:51 inet addr:54 Bcast:55 Mask: inet6 addr: fe80:20c:29ff:fedd:b451/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4080349 errors:0 dropped:0 overruns:0 frame:0 TX packets:3932137 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1216680270 (1.2 GB) TX bytes:822963271 (822.9 MB) Interrupt:19 Base address:0x2000lo Link encap:Local Loopback inet addr: Mask: inet6 addr: :1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:12938 errors:0 dropped:0 overruns:0 frame:0 TX packets:12938 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:40299608 (40.2 MB) TX bytes:40299608 (40.2 MB)Make it use eth0 insteadvi /etc/udev/rules.d/70-persistent-net.rulesThis will show:# This file was automatically generated by the /lib/udev/write_net_rules# program, run by the persistent-net-generator.rules rules file.# You can modify it, as long as you keep each rule on a single# line, and change only the value of the NAME= key.# PCI device 0x1022:0x2000 (pcnet32)SUBSYSTEM=net, ACTION=add, DRIVERS=?*, ATTRaddress=00:0c:29:23:d1:b3, ATTRtype=1, KERNEL=eth*, NAME=eth1# PCI device 0x1022:0x2000 (pcnet32)SUBSYSTEM=net, ACTION=add, DRIVERS=?*, ATTRaddress=00:0c:29:dd:b4:51, ATTRtype=1, KERNEL=eth*, NAME=eth0Swap the two entries by editing NAME=eth1 to NAME=eth0 and vice versa.Reboot your machine. Check if you manage to connect to the internet. Make sure the VMs network adapter is using a Bridged connection instead of NAT. On the VMWare player this is enabled in the Devices menu at the top.More info can be found here/showthread.php?t=221768Update and Upgrade your VMOnce you have internet connection, update and upgrade your VM.apt-get updateapt-get upgradeInstall MySQLapt-get install mysql-serverWhen prompted, enter a password for the MySQL root account and keep this handy.Install Tomcatapt-get install tomcat6Confirm that tomcat is runninghttp:/:8080/To determine your ip:ifconfigsee ifconfig -a command above for output. Your ip should be the value of inet addr: which from above is 54Install swftoolsapt-get install swftoolsIf the installer does not find the package swftools to install, you have to edit the sources.list file for apt and uncomment the partner repository. To do this:vi /etc/apt/sources.listOnce here, uncomment the partner repositorydeb /ubuntu lucid partnerRunapt-get updatethen try installing it once more.Install ImageMagickapt-get install imagemagickInstall Nginxapt-get install nginxInstall ActiveMQmkdir /tmp/bbbcd /tmp/bbbwget http:/apache.mirror.rafal.ca/activemq/apache-activemq/5.4.1/apache-activemq-5.4.1-bin.tar.gztar zxvf apache-activemq-5.4.1-bin.tar.gzmv /tmp/bbb/apache-activemq-5.4.1 /usr/share/activemqchown -R root:root /usr/share/activemqActiveMQ depends on Jsvc, to install:apt-get install jsvcInstall red5cd /tmp/bbbwget /downloads/0.70/red5-0.9.1.tar.gztar xvf red5-0.9.1.tar.gzmv /tmp/bbb/red5-0.9.1 /usr/share/red5Create red5 useradduser -system -home /usr/share/red5 -no-create-home -group -disabled-password -shell /bin/false red5Assign proper permissionschown -R root:root /usr/share/red5chown -R red5:adm /usr/share/red5/logchmod 755 /usr/share/red5/logchgrp red5 /usr/share/red5/webappschmod 775 /usr/share/red5/webappsDownload BigBlueButton files filesThese .tar.gz files have created from a installation of BigBlueButton 0.71a.cd /tmp/bbbwget /downloads/0.71a/init-scripts.tar.gzwget /downloads/0.71a/freeswitch-config.tar.gzwget /downloads/0.71a/red5-bigbluebutton.tar.gzwget /downloads/0.71a/red5-deskshare.tar.gzwget /downloads/0.71a/red5-sip.tar.gzwget /downloads/0.71a/red5-video.tar.gzwget /downloads/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-start activeMQ, bbb-openoffice-headless, and red5 on rebootcd /etc/init.dtar xzvf /tmp/bbb/init-scripts.tar.gzchmod +x /etc/init.d/activemqchmod +x /etc/init.d/red5chmod +x /etc/init.d/bbb-openoffice-headlessupdate-rc.d activemq defaultsupdate-rc.d red5 defaultsupdate-rc.d bbb-openoffice-headless defaultsInstall FreeSWITCHBigBlueButton uses an external conferencing server to handle voice calls. FreeSWITCH allows BigBlueButton to be integrated with a PBX system and when configured properly, can accept incoming calls from a SIP trunking provider. Since FreeSWITCH isnt in the Ubuntu repositories we need to add it to our sources. To do this:apt-get install python-software-propertiesadd-apt-repository ppa:freeswitch-drivers/freeswitch-nightly-drivers apt-get updateapt-get install freeswitch freeswitch-lang-enConfigure FreeSWITCHcd /opt/freeswitch/tar xzvf /tmp/bbb/freeswitch-config.tar.gzchown -R freeswitch:daemon confchmod -R 755 confsed -i s/FREESWITCH_ENABLED=false/FREESWITCH_ENABLED=true/g /etc/default/freeswitchConfigure NginxBe sure to replace with your IP or domain.cat /tmp/bbb/nginx-bigbluebutton.conf | sed s/5/ /etc/nginx/sites-available/bigbluebuttonEnable the bigbluebutton nginx configln -s /etc/nginx/sites-available/bigbluebutton /etc/nginx/sites-enabled/bigbluebuttonInstall OpenOfficeapt-get install Start openoffice as a serviceservice bbb-openoffice-headless startDisable Security settings for TOMCAT6sed -i s/#TOMCAT6_SECURITY=yes/TOMCAT6_SECURITY=no/ /etc/default/tomcat6 Setup the databasemysql -u root -pThis is an important step. If you skip this, BigBlueButton will not work at all. Just hit Enter when prompted for a password if you didnt enter one, otherwise use the root password you added ealier.On themysqlprompt, typecreate database bigbluebutton_dev;grant all on bigbluebutton_dev.* to bbblocalhost identified by secret;flush privileges;quitInstall bbb-webcp /tmp/bbb/bigbluebutton.war /var/lib/tomcat6/webapps/bigbluebutton.warDetermine PDF2SWF, CONVERT and GS applicationsMake a note of where pdf2swf is installedwhich pdf2swfYou should see something like/usr/bin/pdf2swfMake a note of where the convert application is installedwhich convertYou shoud see something like./usr/bin/convertNote where GhostScript is installedwhich gsYou shoud see something like./usr/bin/gsGenerate a GUIDFor security, you need to generate a GUID. You can use an online GUID generator, such asthis one. Keep this GUID handy as we will need it shortly. You will need to generate aHEX Encodedstring and copy itminusthe0x.Edit bbb-web propertiesvi /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/pertiesChange the following: swfToolsDir to thedirectorywhere pdf2swf is located imageMagickDir to thedirectorywhere convert is located ghostScriptExec to point to the gsexecutable change bigbluebutton.web.serverURL=http:/ set beans.dynamicConferenceService.securitySalt to be equal to the guid we just generated (i.e. beans.dynamicConferenceService.securitySalt=)Create noPdfMarkWorkaround.psCreate/etc/bigbluebutton/nopdfmark.pswith the following content:%!/pdfmark cleartomark bind defRestart Tomcat6service tomcat6 restartCreate the Presentation Upload directorymkdir /var/bigbluebuttonchown -R tomcat6:adm /var/bigbluebuttonchmod -R 777 /var/bigbluebuttonInstall bbb-appscd /usr/share/red5/webappstar xzvf /tmp/bbb/red5-bigbluebutton.tar.gzInstall bbb-deskshare-apptar xzvf /tmp/bbb/red5-deskshare.tar.gzInstall bbb-video-apptar xzvf /tmp/bbb/red5-video.tar.gzInstall bbb-voice-apptar xzvf /tmp/bbb/red5-sip.tar.gzAt this point we have to edit one of the configuration files to point to your sip server. This document assumes it is your current machine, but it can be another stand alone machine all you need is its IP address.Open the filevi /usr/share/red5/webapps/sip/WEB-INF/pertiesEdit the line that sayssip.server.host=5and replace the IP with .Install default web pagescd /var/wwwtar xzvf /tmp/bbb/www-bigbluebutton-default.tar.gzInstall bbb-clienttar xzvf /tmp/bbb/www-bigbluebutton.tar.gzNow we need to create bbb_api_conf.jsp, which will hold our GUID and the !BigBlueButtonURL. Be sure to replace and with the GUID we generated earlier and your IP, respectively.echo %!/ This is the security salt that must match the value set in the BigBlueButton serverString salt = ;/ This is the URL for the BigBlueButton serverString BigBlueButtonURL =
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 第七单元21 古诗词三首山居秋暝说课稿-2024-2025学年五年级上册语文统编版
- 别墅保洁合同
- 北京市非居民其他垃圾清运合同
- 肝胆管癌外科治疗方案
- 旅游活动的分类依据
- 广东省茂名市信宜市2024-2025学年五年级上册期中考试语文试卷(无答案)
- 17 A光的折射 基础版2025新课改-高中物理-选修第1册(21讲)
- 河南省郑州市新密市2024-2025学年一年级(上)期中语文试卷(含答案)
- 激光比长仪相关行业投资规划报告范本
- 社交电商相关行业投资方案2
- 我家乡宜兴介绍课件
- 二手房屋买卖物品交接清单
- 家畜育种新技术
- 4.2+酶催化细胞的化学反应(教学课件)-【知识精讲精研】高一生物 (沪科版2020必修1)
- 小学生汽车发展史新能源课件
- 森林资源概况课件
- 王贵启-玉米田杂草发生发展及除草剂优解-合肥0728
- 幼儿园幼小衔接实施方案(修改)
- 2023北京海淀区八上初二期末数学试卷及答案
- 浙江重症医学专科护士理论考核试卷与答案
- 沟槽土方开挖工程专项施工方案范文
评论
0/150
提交评论