-
Notifications
You must be signed in to change notification settings - Fork 540
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
d7ab53a
commit 7ad0326
Showing
1 changed file
with
14 additions
and
14 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 |
---|---|---|
|
@@ -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/2.8/install | ||
# steps at https://docs.bigbluebutton.org/3.0/install | ||
# | ||
# | ||
# Examples | ||
# | ||
# Install BigBlueButton 2.8.x with a SSL certificate from Let's Encrypt using hostname bbb.example.com | ||
# Install BigBlueButton 3.0.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/v2.8.x-release/bbb-install.sh | bash -s -- -w -v jammy-280 -s bbb.example.com -e [email protected] | ||
# 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] | ||
# | ||
# Install BigBlueButton with SSL + Greenlight | ||
# | ||
# wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v2.8.x-release/bbb-install.sh | bash -s -- -w -v jammy-280 -s bbb.example.com -e [email protected] -g | ||
# 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 | ||
# | ||
|
||
usage() { | ||
set +x | ||
cat 1>&2 <<HERE | ||
Script for installing a BigBlueButton 2.8 server in under 30 minutes. | ||
Script for installing a BigBlueButton 3.0 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/v2.8.x-release/bbb-install.sh | bash -s -- [OPTIONS] | ||
wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v3.0.x-release/bbb-install.sh | bash -s -- [OPTIONS] | ||
OPTIONS (install BigBlueButton): | ||
-v <version> Install given version of BigBlueButton (e.g. 'jammy-280') (required) | ||
-v <version> Install given version of BigBlueButton (e.g. 'jammy-300') (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 2.8 server | ||
Sample options for setup a BigBlueButton 3.0 server | ||
-v jammy-280 -s bbb.example.com -e [email protected] | ||
-v jammy-300 -s bbb.example.com -e [email protected] | ||
Sample options for setup a BigBlueButton 2.8 server with Greenlight 3 and optionally Keycloak | ||
Sample options for setup a BigBlueButton 3.0 server with Greenlight 3 and optionally Keycloak | ||
-v jammy-280 -s bbb.example.com -e [email protected] -g [-k] | ||
-v jammy-300 -s bbb.example.com -e [email protected] -g [-k] | ||
Sample options for setup a BigBlueButton 2.8 server with LTI framework while managing LTI consumer credentials MY_KEY:MY_SECRET | ||
Sample options for setup a BigBlueButton 3.0 server with LTI framework while managing LTI consumer credentials MY_KEY:MY_SECRET | ||
-v jammy-280 -s bbb.example.com -e [email protected] -t MY_KEY:MY_SECRET | ||
-v jammy-300 -s bbb.example.com -e [email protected] -t MY_KEY:MY_SECRET | ||
SUPPORT: | ||
Community: https://bigbluebutton.org/support | ||
|
@@ -570,7 +570,7 @@ need_ppa() { | |
} | ||
|
||
check_version() { | ||
if ! echo "$1" | grep -Eq "jammy-28"; then err "This script can only install BigBlueButton 2.8 and is meant to be run on Ubuntu 22.04 (jammy) server."; fi | ||
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 | ||
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." | ||
|