BigBleButton v0.8 在ubuntu10.04上安装
2013-02-20 11:22
295 查看
一 安装前准备:
1验证Linux版本
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
注意:服务器最好的配置
2 GB of memory (4 GB is better)
Dual-core 2.6 GHZ CPU (quad core is better)
Ports 80, 1935, 9123 accessible
Port 80 is not used by another application
50G of free disk space (or more) for recordings
2 服务器的语言必须是en_US.UTF-8
$ cat /etc/default/locale
LANG="en_US.UTF-8"
3 确保80端口没被使用
sudo apt-get install lsof
lsof -i :80
若使用,执行下面的命令
1查看80端口使用的进程
[root@gzcourt bin]# netstat -an |grep 80
2清除80端口的进程
lsof -i :80|grep -v "PID"|awk '{print "kill -9",$2}'|sh
上面的一切准备就绪,开始转入安装:
1 更新你的服务器
# Add the BigBlueButton key
wget 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
sudo apt-get dist-upgrade
2执sudo apt-get dist-upgrade命令后 重启执行
reboot
二 安装Ruby
1 安装依赖包编译Ruby
sudo apt-get install zlib1g-dev libssl-dev libreadline5-dev libyaml-dev build-essential bison checkinstall libffi5 gcc checkinstall libreadline5 libyaml-0-2
2创建一个install-ruby.sh 文件,该文件放在/home/hzzx/ccc/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 xvzf 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
3 接下类执行
chmod +x install-ruby.sh
./install-ruby.sh
4 安装完毕后,执行ruby -v,你应该看到输出1.9.2p290
$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553)
5执行gem -v
$ gem -v
1.3.7
6 确保你安装了gems
$ 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...
注意:
Make sure you can execute the above three commands without errors before continuing with these instructions. If you do encounter errors, please post to bigbluebutton-setup and we'll help you resolve the errors.
见网址:http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu#Before_you_install
三 安装BigBlueButton
1 执行如下命令
sudo apt-get install bigbluebutton
2 键入”Y”,接着安装
四 安装API Demos
1 执行如下命令安装Demos
sudo apt-get install bbb-demo
wuwu
五 执行Clean 使服务器重启
sudo bbb-conf --clean
sudo bbb-conf --check
--clean 选项清楚日志文件. --check 检查服务器存在的错误。
1验证Linux版本
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
注意:服务器最好的配置
2 GB of memory (4 GB is better)
Dual-core 2.6 GHZ CPU (quad core is better)
Ports 80, 1935, 9123 accessible
Port 80 is not used by another application
50G of free disk space (or more) for recordings
2 服务器的语言必须是en_US.UTF-8
$ cat /etc/default/locale
LANG="en_US.UTF-8"
3 确保80端口没被使用
sudo apt-get install lsof
lsof -i :80
若使用,执行下面的命令
1查看80端口使用的进程
[root@gzcourt bin]# netstat -an |grep 80
2清除80端口的进程
lsof -i :80|grep -v "PID"|awk '{print "kill -9",$2}'|sh
上面的一切准备就绪,开始转入安装:
1 更新你的服务器
# Add the BigBlueButton key
wget 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
sudo apt-get dist-upgrade
2执sudo apt-get dist-upgrade命令后 重启执行
reboot
二 安装Ruby
1 安装依赖包编译Ruby
sudo apt-get install zlib1g-dev libssl-dev libreadline5-dev libyaml-dev build-essential bison checkinstall libffi5 gcc checkinstall libreadline5 libyaml-0-2
2创建一个install-ruby.sh 文件,该文件放在/home/hzzx/ccc/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 xvzf 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
3 接下类执行
chmod +x install-ruby.sh
./install-ruby.sh
4 安装完毕后,执行ruby -v,你应该看到输出1.9.2p290
$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553)
5执行gem -v
$ gem -v
1.3.7
6 确保你安装了gems
$ 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...
注意:
Make sure you can execute the above three commands without errors before continuing with these instructions. If you do encounter errors, please post to bigbluebutton-setup and we'll help you resolve the errors.
见网址:http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu#Before_you_install
三 安装BigBlueButton
1 执行如下命令
sudo apt-get install bigbluebutton
2 键入”Y”,接着安装
四 安装API Demos
1 执行如下命令安装Demos
sudo apt-get install bbb-demo
wuwu
五 执行Clean 使服务器重启
sudo bbb-conf --clean
sudo bbb-conf --check
--clean 选项清楚日志文件. --check 检查服务器存在的错误。
相关文章推荐
- 在ubuntu 12.04上安装bigbluebutton 0.8
- Ubuntu 10.04下安装配置NFS过程
- ubuntu 10.04 编译安装飞鸽传输软件
- ubuntu10.04-LTS 安装使用笔记
- ubuntu 10.04 安装itpp库方法
- ubuntu10.04 wine1.3 安装 IE6、QQ和迅雷
- ubuntu 10.04安装kscope
- Ubuntu 10.04 安装在 VMware Workstation 后,键盘无法输入的问题的解决方法
- UBUNTU10.04安装stackless python运行高性能服务器
- ubuntu10.04安装curb问题及解决方案
- ubuntu 10.04 64 位安装 sun-java6-jdk
- 在Ubuntu 10.04 上安装及使用 Xilinx ISE DS 10.1 sp3 的要点
- ubuntu10.04 VLC安装
- wubi硬盘安装Ubuntu 10.04教程
- 在Ubuntu 10.04上安装Mysql-python出错
- ubuntu10.04-x86_64安装xen 4.0.1
- ubuntu10.04中安装Qt creator环境及开发工具
- vmware 中安装Ubuntu 10.04 LTS 后键盘失效问题解决
- Ubuntu10.04安装配置笔记-使用crosstool建立交叉编译器