Bigbluebuttonの最近のブログ記事

bigbluebutton config.xml設定

| コメント(0)

設定ファイル

/var/www/bigbluebutton/client/conf/config.xml

  1. showLogButton="false"
  2. showVideoLayout="false"
  3. showResetLayout="true"
  4. showToolbar="true"
  5. showHelpButton="true"
  6. showLogoutWindow="true"

モジュール

  1. ChatModule
  2. ViewersModule
  3. ListenersModule
  4. WhiteboardModule
  5. PresentModule_____________________これをfalseで中央ホワイトボード非表示
  6. VideodockModule__________________これがカメラ、コメントアウトで非表示

http://www2.innov.mie-u.ac.jp/~mishima/2014/10/bigbluebutton.html こちらを参考にさせていただきました。

ってか、まるっきりぱくりました。

会議室、ビデオチャットのお勉強。ubuntu server 14.04 OS再インストールしました。

# cat /etc/default/locale
LANG="ja_JP.UTF-8"

# uname -m
x86_64

# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

# grep "multiverse" /etc/apt/sources.list
## multiverse WILL NOT receive any review or updates from the Ubuntu
deb http://jp.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://jp.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb http://jp.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

#echo "deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse" | tee -a /etc/apt/sources.list
deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse

#apt-get update
#apt-get dist-upgrade

#wget http://ubuntu.bigbluebutton.org/bigbluebutton.asc -O- |apt-key add -

#echo "deb http://ubuntu.bigbluebutton.org/trusty-090/ bigbluebutton-trusty main" | tee /etc/apt/sources.list.d/bigbluebutton.list
deb http://ubuntu.bigbluebutton.org/trusty-090/ bigbluebutton-trusty main

#apt-get update

install-ffmpeg.sh を作成
----(ここから)
sudo apt-get install build-essential git-core checkinstall yasm texi2html libvorbis-dev libx11-dev libvpx-dev libxfixes-dev zlib1g-dev pkg-config netcat

FFMPEG_VERSION=2.3.3

cd /usr/local/src
if [ ! -d "/usr/local/src/ffmpeg-${FFMPEG_VERSION}" ]; then
sudo wget "http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2"
sudo tar -xjf "ffmpeg-${FFMPEG_VERSION}.tar.bz2"
fi

cd "ffmpeg-${FFMPEG_VERSION}"
sudo ./configure --enable-version3 --enable-postproc --enable-libvorbis --enable-libvpx
sudo make
sudo checkinstall --pkgname=ffmpeg --pkgversion="5:${FFMPEG_VERSION}" --backup=no --deldoc=yes --default
----(ここまで)

# chmod +x install-ffmpeg.sh
# ./install-ffmpeg.sh
参考:結構インストールに時間かかる
参考 ffmpeg削除するときはdpkg -r ffmpeg

# ffmpeg -version
ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 21 2014 11:48:33 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --enable-version3 --enable-postproc --enable-libvorbis --enable-libvpx
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100

#apt-get install bigbluebutton

#apt-get install bbb-demo

#bbb-conf -enablewebrtc

# apt-get install -y xfonts-intl-japanese-big xfonts-intl-japanese

#bbb-conf --clean
#bbb-conf -check

#apt-get install sysv-rc-conf
# sysv-rc-conf
サービスの確認

#ufw status
# ufw enable
# ufw allow 80/tcp
# ufw allow 1935/tcp
# ufw allow 9123/tcp
# ufw allow 16384:32768/udp

# ufw allow 22/tcp   //bbbインストール後sshのポート解放必要なのであとからやる

最後に
# bbb-conf --clean
# bbb-conf --check
BigBlueButton Server 0.9.0-beta (438)
Kernel version: 3.13.0-32-generic
Distribution: Ubuntu 14.04.1 LTS (64-bit)
Memory: 7983 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
Port test (tunnel): ドメイン(もってなければhogehoge)
Red5: ドメイン(もってなければhogehoge)
useWebrtcIfAvailable: true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
websocket port: 5066
WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
server name: ドメイン(もってなければ適宜)
port: 80
bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
bbb-web host: ドメイン(もってなければhogehoge)

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
api url: ドメイン(もってなければhogehoge)

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
voice conference: FreeSWITCH
capture video: true
capture desktop: true

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
playback host:ドメイン(もってなければhogehoge)


** Potential problems described below **
# Warning: The API demos are installed and accessible from:
#
# http://IPアドレス/
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
# sudo apt-get purge bbb-demo

設定
まずはサーバへの接続確認
ブラウザにて動作確認
http://IPアドレス/

----
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.
Thank you for using nginx.
----
これが出ればオッケー

# bbb-conf -salt
URL: http://IPアドレス/bigbluebutton/
Salt: *********************

# sudo apt-get purge bbb-demo
# bbb-conf --restart
http://IPアドレス
にてアクセスできればオッケー

IPからFQDNに変更する。
# bbb-conf --setip IPアドレス
確認
# bbb-conf --check
以下のIPアドレスはFQDNになってることを確認
BigBlueButton Server 0.9.0-beta (438)
Kernel version: 3.13.0-37-generic
Distribution: Ubuntu 14.04.1 LTS (64-bit)
Memory: 7983 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
Port test (tunnel): hogehoge
Red5: hogehoge
useWebrtcIfAvailable: true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
websocket port: 5066
WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
server name: hogehoge
port: 80
bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
bbb-web host: hogehoge

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
api url: hogehoge

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
voice conference: FreeSWITCH
capture video: true
capture desktop: true

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
playback host: hogehoge


** Potential problems described below **
# Warning: API URL IPs do not match host:
#
# IP from ifconfig: hogehoge
# /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: hogehoge

# Warning: The API demos are installed and accessible from:
#
# http://hogehoge/
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
# sudo apt-get purge bbb-demo

見事完成!