-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6f4f4f3
commit 6809f9e
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash -ex | ||
|
||
# Copyright (c) 2023 BigBlueButton Inc. | ||
# Copyright (c) 2025 BigBlueButton Inc. | ||
# | ||
# This program is free software; you can redistribute it and/or modify it under the | ||
# terms of the GNU Lesser General Public License as published by the Free Software | ||
|
@@ -18,35 +18,35 @@ | |
# https://www.bigbluebutton.org/. | ||
# | ||
# This bbb-install script automates many of the installation and configuration | ||
# steps at https://docs.bigbluebutton.org/3.0/install | ||
# steps at https://docs.bigbluebutton.org/3.1/install | ||
# | ||
# | ||
# Examples | ||
# | ||
# Install BigBlueButton 3.0.x with a SSL certificate from Let's Encrypt using hostname bbb.example.com | ||
# Install BigBlueButton 3.1.x with a SSL certificate from Let's Encrypt using hostname bbb.example.com | ||
# and email address [email protected] and apply a basic firewall | ||
# | ||
# wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v3.0.x-release/bbb-install.sh | bash -s -- -w -v jammy-300 -s bbb.example.com -e [email protected] | ||
# wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v3.1.x-release/bbb-install.sh | bash -s -- -w -v jammy-310 -s bbb.example.com -e [email protected] | ||
# | ||
# Install BigBlueButton with SSL + Greenlight | ||
# | ||
# wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v3.0.x-release/bbb-install.sh | bash -s -- -w -v jammy-300 -s bbb.example.com -e [email protected] -g | ||
# wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v3.1.x-release/bbb-install.sh | bash -s -- -w -v jammy-310 -s bbb.example.com -e [email protected] -g | ||
# | ||
|
||
usage() { | ||
set +x | ||
cat 1>&2 <<HERE | ||
Script for installing a BigBlueButton 3.0 server in under 30 minutes. | ||
Script for installing a BigBlueButton 3.1 server in under 30 minutes. | ||
This script also checks if your server supports https://docs.bigbluebutton.org/administration/install/#minimum-server-requirements | ||
USAGE: | ||
wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v3.0.x-release/bbb-install.sh | bash -s -- [OPTIONS] | ||
wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v3.1.x-release/bbb-install.sh | bash -s -- [OPTIONS] | ||
OPTIONS (install BigBlueButton): | ||
-v <version> Install given version of BigBlueButton (e.g. 'jammy-300') (required) | ||
-v <version> Install given version of BigBlueButton (e.g. 'jammy-310') (required) | ||
-s <hostname> Configure server with <hostname> | ||
-e <email> Email for Let's Encrypt certbot | ||
|
@@ -98,17 +98,17 @@ VARIABLES (configure Greenlight only): | |
EXAMPLES: | ||
Sample options for setup a BigBlueButton 3.0 server | ||
Sample options for setup a BigBlueButton 3.1 server | ||
-v jammy-300 -s bbb.example.com -e [email protected] | ||
-v jammy-310 -s bbb.example.com -e [email protected] | ||
Sample options for setup a BigBlueButton 3.0 server with Greenlight 3 and optionally Keycloak | ||
Sample options for setup a BigBlueButton 3.1 server with Greenlight 3 and optionally Keycloak | ||
-v jammy-300 -s bbb.example.com -e [email protected] -g [-k] | ||
-v jammy-310 -s bbb.example.com -e [email protected] -g [-k] | ||
Sample options for setup a BigBlueButton 3.0 server with LTI framework while managing LTI consumer credentials MY_KEY:MY_SECRET | ||
Sample options for setup a BigBlueButton 3.1 server with LTI framework while managing LTI consumer credentials MY_KEY:MY_SECRET | ||
-v jammy-300 -s bbb.example.com -e [email protected] -t MY_KEY:MY_SECRET | ||
-v jammy-310 -s bbb.example.com -e [email protected] -t MY_KEY:MY_SECRET | ||
SUPPORT: | ||
Community: https://bigbluebutton.org/support | ||
|
@@ -562,7 +562,7 @@ need_ppa() { | |
} | ||
|
||
check_version() { | ||
if ! echo "$1" | grep -Eq "jammy-30"; then err "This script can only install BigBlueButton 3.0 and is meant to be run on Ubuntu 22.04 (jammy) server."; fi | ||
if ! echo "$1" | grep -Eq "jammy-31"; then err "This script can only install BigBlueButton 3.1 and is meant to be run on Ubuntu 22.04 (jammy) server."; fi | ||
DISTRO=${1%%-*} | ||
if ! wget -qS --spider "https://$PACKAGE_REPOSITORY/$1/dists/bigbluebutton-$DISTRO/Release.gpg" > /dev/null 2>&1; then | ||
err "Unable to locate packages for $1 at $PACKAGE_REPOSITORY." | ||
|