Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
setup_and_deploy_bbb_081

PROD Ship list: https://docs.google.com/a/expertus.com/spreadsheets/d/1884ywQSatx9IezmbJaBCd6PyQNiJRBFQplQJ-sU4cXs/edit#gid=0

Setup and Deploy BBB 081

Setup BBB and Client

1. Setup BBB 0.81 - http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu#Installing_BigBlueButton_0.81

2. Setup BBB 0.81 development environment - http://code.google.com/p/bigbluebutton/wiki/Developing#Setup_a_Development_Environment

3. Setup BBB 0.81 client development environment - http://code.google.com/p/bigbluebutton/wiki/Developing#Client_Development

Verify that the BBB app launches fine with the client loading from development directory.

4. Changes to the config files -

sudo vi /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties

defaultWelcomeMessage=  //(just leave it empty)
defaultWelcomeMessageFooter= //(just leave it empty)
defaultClientUrl=${bigbluebutton.web.serverURL}/client/LiveEvent.html
beans.presentationService.defaultUploadedPresentation=${bigbluebutton.web.serverURL}/DefaultMockPresentationXYZ.pdf

cd /var/www/bigbluebutton-default/ 
sudo touch DefaultMockPresentationXYZ.pdf

sudo vi /etc/bigbluebutton/nginx/client_dev

//change location /client/BigBlueButton.html {  -> location /client/LiveEvent.html {

5. Checkout client from meeting client repository and place it at <home of bbb user>/dev/bigbluebutton/bigbluebutton-client

6. Client config changes - Change config.xml file ( <home of bbb user>/dev/bigbluebutton/bigbluebutton-client src/conf/config.xml)

     //Replace the ip (For instance - 192.168.2.240) 192.168.2.240 with this machine’s hostname.
     sed -i s/192.168.2.240/qacollab01.learnexa.com/g bigbluebutton-client/src/conf/config.xml
     
     //Replace the ip 192.168.7.52:3000 with this machine’s hostname
     sed -i s/192.168.7.52:3000/qa01.learnexa.com/g bigbluebutton-client/src/conf/config.xml

7. Compile client and restart bbb

cd <home of bbb user>/dev/bigbluebutton/bigbluebutton-client
ant 
ant locales
sudo bbb-conf --restart

Note - Steps 5-7 will be taken care by deploy script once the initial setup is done.

8. Edit Learnexa rails app bigbluebutton.yml settings to place the details of bigbluebutton URL and salt. Restart learnexa rails app.

9. Edit public/crossdomain.xml settings to allow cross domain ajax requests from BBB machine URL.

Setup/Deploy recorder App

1. Change /usr/share/red5/conf/red5-common.xml to replace queueThreshold and deplayWrite values.

<bean id="fileConsumer" scope="prototype" lazy-init="true" class="org.red5.server.stream.consumer.FileConsumer"> 
   <property name="delayWrite" value="false"/> 
   <property name="queueThreshold" value="14400"/> 
</bean>

Just running the deploy script after below mentioned changes is fine.

Setup Streams for video streaming

1) Edit / Verify Hosts. Check whether /etc/hosts has an entry mapping this machine's FQDN to 127.0.0.1 2) Mount “streams” brick.

touch /usr/share/red5/websapps/video/streams/error-if_you_see_this
mount.glusterfs <FQDN>:/streams /usr/share/red5/websapps/video/streams

3) Verify that it is correctly mounted and add to fstab.

Deploy Script changes

1) BBB client

1) Replace all the URLs in sed commands to update the /src/conf/config.xml

2) Make a directory as bbb user.

 mkdir -p ~/dev/srctrunk 

3) Change the value of BBBDIR to “/home/<bbb user>/dev/bigbluebutton”

2) Recorder server

1) Update the bbb user home directory and path to bbb directory correctly.

setup_and_deploy_bbb_081.txt · Last modified: 2018/08/31 16:16 (external edit)