successfully installed BBB 0.6.3 in openvz vps (complete procedure)

199 views
Skip to first unread message

lucadx

unread,
Jan 15, 2010, 1:26:37 PM1/15/10
to BigBlueButton-dev

challenge:
install bigbluebutton 0.6.3 on a vps (provided by fivebean.com)

difficulties:
1. openvz-based vps has not access to kernel headers or sources
2. specific version/sub-version kernel, available only as rpm from
openvz.org website

basic attempts (more than 10 times):
1. tried with quick procedure without success, with error message
related to unmet dependencies in bbb-config package

intermediate attempts (many tries):
2. manual installation procedure, with any kind of research about
kernel header/source workaround
3. tried to get as many libraries as possible prior to start final
setup step, withou success

advanced attempts (3 times)
4. tried to migrate folder by folder and file by file

###################################################################################
#
#
# GOTCHA! (last attempt, before to migrate to amazon ec2
platform) #
#
#
###################################################################################

#### (1) prepare a centos 5.4 (virtual) machine with SAME kernel of
openvz VPS
#### for us, "uname -r" command returned:
2.6.18-164.2.1.el5.028stab066.10

#### (2) in centos machine home folder, as root user, download kernel
sources rpm package

mkdir tmp
cd tmp
wget http://download.openvz.org/kernel/branches/rhel5-2.6.18/028stab066.10/ovzkernel-2.6.18-164.2.1.el5.028stab066.10.src.rpm

#### (3) extract kernel source files
#### reference: http://hack2live.blogspot.com/2010/01/how-to-extract-files-in-rpm-on-linux.html

rpm2cpio ovzkernel-2.6.18-164.2.1.el5.028stab066.10.src.rpm | cpio -
idvm

#### (4) upload kernel source folder to destination home folder (for
us: /home)

#### (5) move kernel source folder to /usr/src and create symbolic
link to it

mv /home/ovzkernel-2.6.18 /usr/src
cd /usr/src
ln -s ovzkernel-2.6.18 linux

#### (6) install bigbluebutton 0.6.2

wget http://archive.bigbluebutton.org/bigbluebutton.asc
apt-key add bigbluebutton.asc
echo "deb http://archive.bigbluebutton.org bigbluebutton main" > /etc/
apt/sources.list.d/bigbluebutton.list
apt-get update
apt-get install bigbluebutton

#### (7) configure application ip address, reboot vps, flush iptables
if needed and finally test application

#### note: bigbluebutton 0.6.2 is functioning, again with audio
problems; server behaviour is slower than past

#### (8) proceed to upgrade application to 0.6.3

vi /etc/apt/sources.list.d/bigbluebutton.list

#### (9) change "http://archive.bigbluebutton.org" to "http://
archive.bigbluebutton.org/dev", save and close editor

apt-get update
apt-get install bigbluebutton

#### (10) reboot vps and flush iptables if needed and test application

#### note: application has not been upgraded to 0.6.3 version

#### (11) proceed to manually change files, using another functioning
installation
rsync /var/www
rsync /usr/share/red5/webapps
rsync /usr/share/red5/
rsync /var/lib/tomcat6/webapps/bigbluebutton.war
rsync /var/lib/tomcat6/webapps/bigbluebutton

#### (12) manually change IP address in configuration files:
/var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api.jsp
/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/
bigbluebutton.properties
/var/www/bigbluebutton/client/conf/config.xml

#### (13) reboot vps, flush iptables if needed and test application

#### (14) note: worked not at 100%; reinstalled grails (apt-get
install groovy), restarted vps; better result; rstarted tomcat and
red5 (/etc/init.d/tomcat6 restart and /etc/init.d/red5 restart); got
red5 working; application working; test positive

#### (15) install desktop sharing

apt-get install bbb-apps-deskshare

#### (16) reboot vps, flush iptables if needed and test application

Finally, bigbluebutton 0.6.3 works fine on a fivebean.com VPS (vps
turbo, ubuntu 9.04 32 bit)

Denis Zgonjanin

unread,
Jan 15, 2010, 1:29:24 PM1/15/10
to bigblueb...@googlegroups.com
congrats!

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.




Reply all
Reply to author
Forward
0 new messages