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 /dev/bigbluebutton/bigbluebutton-client
6. Client config changes - Change config.xml file ( /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 /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.
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 :/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//dev/bigbluebutton"
=== 2) Recorder server ===
1) Update the bbb user home directory and path to bbb directory correctly.