Skip to content

Commit

Permalink
rename 2.8 to 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
antobinary committed Sep 26, 2023
1 parent d7ab53a commit 7ad0326
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions bbb-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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."
Expand Down

0 comments on commit 7ad0326

Please sign in to comment.