XenCenter之上安装的Ubuntu系统10.04.4(64)位---->特别申明必须是10.04.4版本的系统
----系统安装过程中我没配置网络地址,不过配置了主机名和管理用户及密码----
---ubuntu网络地址配置---
1、打开Ubuntu的/etc/network/interfaces文件 。默认内容如下:
auto lo
iface lo inet loopback
2、添加一块网卡的地址eth0的
$ vi /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.196
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
$ sudo /etc/init.d/networking restart
$ ifconfig
3、配置DNS服务器的地址,最多可以使用3个DNS服务器
nameserver 127.0.0.1
nameserver 192.168.1.2
nameserver 192.168.1.3
============================开启BigBlueButton之旅=============================================
1.更新系统:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"
$ cat /etc/default/locale
LANG="en_US.UTF-8"
如果你没安装运行下面命令:
sudo apt-get install language-pack-en
sudo update-locale LANG=en_US.UTF-8
运行80端口:sudo apt-get install lsof
lsof -i :80
添加bbb keywget -O- | sudo apt-key add -
添加源地址
# Add the BigBlueButton repository URL and ensure the multiverse is enabled
echo "deb bigbluebutton-lucid main" | sudo tee /etc/apt/sources.list.d/bigbluebutton.list
echo "deb lucid multiverse" | sudo tee -a /etc/apt/sources.list
最愁人的就是更新系统了:-------------->等的吧..........sudo apt-get update
终于好了.....
2.安装ruby:
安装之前看看安装过没:dpkg -l | grep ruby
If you do, the version must match 1.9.2p290.
$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553)
没安装就需要安装了...............sudo apt-get install zlib1g-dev libssl-dev libreadline5-dev libyaml-dev build-essential bison checkinstall libffi5 gcc checkinstall libreadline5 libyaml-0-2
创建一个脚本
$ sudo vi install-ruby.sh
#!/bin/bash cd /tmp
wget
tar xvf ruby-1.9.2-p290.tar.gz
cd ruby-1.9.2-p290 ./configure --prefix=/usr\
--program-suffix=1.9.2\
--with-ruby-version=1.9.2\
--disable-install-doc
make
sudo checkinstall -D -y\
--fstrans=no\
--nodoc\
--pkgname='ruby1.9.2'\
--pkgversion='1.9.2-p290'\
--provides='ruby'\
--requires='libc6,libffi5,libgdbm3,libncurses5,libreadline5,openssl,libyaml-0-2,zlib1g'\
--maintainer=brendan.ribera@gmail.com
sudo update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.9.2 500 \ --slave /usr/bin/ri ri /usr/bin/ri1.9.2 \ --slave /usr/bin/irb irb /usr/bin/irb1.9.2 \ --slave /usr/bin/erb erb /usr/bin/erb1.9.2 \ --slave /usr/bin/rdoc rdoc /usr/bin/rdoc1.9.2 sudo update-alternatives --install /usr/bin/gem gem /usr/bin/gem1.9.2 500
以上脚本注意第5行中,官方文档中的那个有问题;
赋予脚本执行权限chmod +x install-ruby.sh
./install-ruby.sh
$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553)
$ gem -v
1.3.7
$ sudo gem install hello
Successfully installed hello-0.0.1 1 gem installed Installing ri documentation for hello-0.0.1... Installing RDoc documentation for hello-0.0.1...
3.安装BigBlueButton
sudo apt-get install bigbluebutton
4.安装API Demossudo apt-get install bbb-demo