歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 10.04.4 安裝BigBlueButton(視頻教室)

Ubuntu 10.04.4 安裝BigBlueButton(視頻教室)

日期:2017/2/28 14:29:33   编辑:Linux教程

系統環境:

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 http://ubuntu.bigbluebutton.org/bigbluebutton.asc -O- | sudo apt-key add -

添加源地址

# Add the BigBlueButton repository URL and ensure the multiverse is enabled

echo "deb http://ubuntu.bigbluebutton.org/lucid_dev_08/ bigbluebutton-lucid main" | sudo tee /etc/apt/sources.list.d/bigbluebutton.list

echo "deb http://us.archive.ubuntu.com/ubuntu/ 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 http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz

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'\

[email protected]

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

Ubuntu 14.04 下載、安裝、配置的相關知識 http://www.linuxidc.com/Linux/2014-04/100370.htm

Ubuntu 14.04系統下載地址:http://www.linuxidc.com/Linux/2014-04/100352.htm

Windows 7下硬盤安裝Ubuntu 14.04圖文教程 http://www.linuxidc.com/Linux/2014-04/100369.htm

Copyright © Linux教程網 All Rights Reserved