Setup BigBlueButton(BBB) on Ubuntu 10.04 with Asterisk and BBB wordpress plugin
Posted by danielJul 30
Requirements
Ubuntu 10.04 32-bit or 64-bit server
2 GB of memory
5G of free disk space
Install BBB apt repository
wget http://ubuntu.bigbluebutton.org/bigbluebutton.asc -O- | apt-key add - echo 'deb http://ubuntu.bigbluebutton.org/lucid/ bigbluebutton-lucid main' | tee /etc/apt/sources.list.d/bigbluebutton.list echo 'deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse' | tee -a /etc/apt/sources.list
Install Asterisk
apt-get update apt-get install bbb-voice-conference
Install BBB
apt-get install bigbluebutton
Restart service and check for any errors in configuration
bbb-conf --clean bbb-conf --check
Access BBB at http://yourip
Make sure port 80 is not blocked by your server and no other service except nginx
is listening on port 80.
Create meeting rooms with BBB wordpress plugin
Add php support to nginx
apt-get install python-software-properties add-apt-repository ppa:brianmercer/php apt-get update apt-get install php5-fpm
Edit /etc/php5/fpm/php5-fpm to include
listen = /var/run/php5-fpm.socket
Add the following line to /etc/nginx/sites-enabled/bigbluebutton
location ~ .php$ { fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_pass unix:/var/run/php5-fpm.socket; fastcgi_param SCRIPT_FILENAME /var/www/bigbluebutton-default$fastcgi_script_name; include /etc/nginx/fastcgi_params; fastcgi_index index.php; }
Restart nginx and php5-fpm
/etc/init.d/php5-fpm restart /etc/init.d/nginx restart
Install wordpress
cd /usr/local/src wget -c http://wordpress.org/latest.tgz tar xzvf latest.tgz mv latest /var/www/bigbluebutton-default/bbbwordpress cd /var/www/bigbluebutton-default/bbbwordpress cp wp-config-sample.php wp-config.php
Create mysql database for worpress
mysql -u root -p (enter your password, or if there is no password set,just type
mysql -u root)
create database bbbwordpress;
grant all privileges on *.bbbwordpress to bbbuser@localhost identified by 'yourpass'; exit;
Then edit wp-config.php
define('DB_NAME', 'bbbwordpress'); define('DB_USER', 'bbbuser'); define('DB_PASSWORD', 'yourpass');
Go to http://yourip/wordpress and set administrative user and password. Then login to the administrative
dashboard and click on the plugins in the left hand pane. In the ‘search plugin’ box, type “bigbluebutton”
and install/activate it.
To integrate it with BBB click on Appearance–>Widgets–>BigBlueButton and drag/drop it to the content area.
GO to Settings–> put the URL to your BBB link http://yourip/bigbluebutton and insert the salt from the
setting page.
Within the administrative wordpress dashboard you can create meetings and the passwords for participants/moderator.
You should be able to access the rooms in http://yourip/wordpress/.
-
Sources
http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu
http://cbanta.wordpress.com/2010/12/18/enable-php-on-bigbluebutton/
http://wordpress.org/extend/plugins/bigbluebutton/
8 comments
Comment by EB on November 3, 2011 at 3:36 pm
Thanks for this. When i try to go to http://yourip/wordpress i get ‘file not found’
when i try http://yourip/bbbwordpress i get ‘forbidden’
any ideas? I was able to go directly to bbbwordpress/index.php
but then no bigbluebutton plugin is found
Any ideas?
Thanks
EB
Comment by daniel on November 5, 2011 at 8:09 pm
Can you access the administrative dashboard for wordpress? It is under /wp-admin url. Then you need to install the bbb wordpress plugin as mentioned in the article.
Comment by EB on November 5, 2011 at 8:29 pm
Thank you for responding.
I am able to get to it.. However, BBB is not an option for a plugin. When I click “Add New” and search for it, I am then asked for ftp information.
EB
Comment by daniel on November 8, 2011 at 7:31 pm
WordPress needs some config changes to allow automatic installation of plugins without using ftp. But the easiest way would be to directly upload the plugin to your plugins directory using ssh or other file transfer. Download the bbb wordpress plugins from http://wordpress.org/extend/plugins/bigbluebutton/ and place it in your plugins directory. It should be accessible from your wordpress dashboard after that.
Comment by EB on November 8, 2011 at 10:32 pm
Thank so much! Got it installed. I am still getting ‘Forbidden’ when I go to http://myip/bbbwordpress
Any suggestions?
Comment by EB on November 9, 2011 at 12:21 pm
Got it figured out. Needed to add index.php to index line of NGINX.
Now I can’t get in to join meetings, but I can create them at least.
Comment by EB on November 9, 2011 at 12:32 pm
Got it! Yay!! Thanks so much! This is great!
Comment by daniel on November 9, 2011 at 8:01 pm
I am glad you finally did it!
You must be logged in to post a comment.