Skip to content

Instantly share code, notes, and snippets.

@zufardhiyaulhaq
Last active February 15, 2019 10:18
Show Gist options
  • Save zufardhiyaulhaq/ed1c5049e765466d10fe77145458afcb to your computer and use it in GitHub Desktop.
Save zufardhiyaulhaq/ed1c5049e765466d10fe77145458afcb to your computer and use it in GitHub Desktop.

Server Requirement

  • Ubuntu 16.04 64-bit OS
  • 4 GB of memory with swap enabled (8 GB of memory is better)
  • Quad-core 2.6 GHZ CPU (or faster)
  • TCP ports 80, 443,and 1935 are accessible
  • TCP port 7443 is accessible if you intend to configure SSL (recommended), otherwise port
  • 5066 is accessible
  • UDP ports 16384 - 32768 are accessible
  • Port 80 is not in use by another application
  • 500G of free disk space (or more) for recordings
  • 100 Mbits/sec bandwidth (symmetrical)
  • Dedicated (bare metal) hardware (not virtualized)

Instalasi BigBlueButton###

  1. Instal Nginx

    sudo apt-get install nginx
    
  2. Tambahkan repo multiverse

    Uncomment di /etc/apt/repo.list.

    # deb http://archive.ubuntu.com/ubuntu xenial multiverse
    
  3. Update server

    sudo apt-get update
    
    sudo apt-get upgrade
    
  4. Instal apt-get key untuk repositori BigBlueButton

    wget https://ubuntu.bigbluebutton.org/repo/bigbluebutton.asc -O- | sudo apt-key add -
    
  5. Tambahkan repositori BigBlueButton

    echo "deb https://ubuntu.bigbluebutton.org/xenial-110/ bigbluebutton-xenial main" | sudo tee /etc/apt/sources.list.d/bigbluebutton.list
    
  6. Update repositori

    sudo apt-get update
    
  7. Instal BigBlueButon

    sudo apt-get install bigbluebutton
    
  8. Restart BigBlueButton

    sudo bbb-conf --restart
    
  9. Cek Konfigurasi BigBlueButton

    bbb-conf --check
    

Konfigurasi BigBlueButton

  1. Assign hostname

    sudo bbb-conf --setip $HOSTNAME
    
  2. Instal contoh halaman login dengan API demo

    sudo apt-get install bbb-demo
    

    Contoh halaman login ada di direktori /var/lib/tomcat7/webapps/demo/.

  3. Instal SSL

Konfigurasi Halaman Login

  1. Lokasi berkas halaman login

    /var/lib/tomcat7/webapps/demo/kelas.jsp
    

    kelas.jsp adalah modifikasi dari berkas demo3.jsp di direktori yang sama.

  2. Mengubah password user moderator

    meeting.put("moderatorPW", 	"$MODERATOR_PASSWORD");
    
  3. Mengubah password user penonton

    meeting.put("viewerPW", 	"$VIEWER_PASSWORD");
    
  4. Menambah sesi baru

    ...
    meeting = new HashMap<String, String>();
    allMeetings.put( "$SESSION_NAME", meeting );
        meeting.put("welcomeMsg", 	welcome);
        meeting.put("moderatorPW", 	"$MODERATOR_PASSWORD");
        meeting.put("viewerPW", 	"$VIEWER_PASSWORD");
        meeting.put("voiceBridge", 	"$VOICE_BRIDGE");
        meeting.put("logoutURL", 	"/");
    ...
    

    Voice Bridge untuk satu sesi dibedakan dengan sesi yang lain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment