Skip to content

Commit 647fa38

Browse files
authored
Merge pull request #782 from bigbluebutton/ubuntu24
WIP: preparing to support Ubuntu 24.04 in BBB 4.0
2 parents 9ae77a2 + 1173e51 commit 647fa38

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

bbb-install.sh

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,30 @@
2323
#
2424
# Examples
2525
#
26-
# Install BigBlueButton 3.0.x with a SSL certificate from Let's Encrypt using hostname bbb.example.com
26+
# Install BigBlueButton 4.0.x with a SSL certificate from Let's Encrypt using hostname bbb.example.com
2727
# and email address [email protected] and apply a basic firewall
2828
#
29-
# 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]
29+
# wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v4.0.x-release/bbb-install.sh | bash -s -- -w -v noble-400 -s bbb.example.com -e [email protected]
3030
#
3131
# Install BigBlueButton with SSL + Greenlight
3232
#
33-
# 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
33+
# wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v4.0.x-release/bbb-install.sh | bash -s -- -w -v noble-400 -s bbb.example.com -e [email protected] -g
3434
#
3535

3636
usage() {
3737
set +x
3838
cat 1>&2 <<HERE
3939
40-
Script for installing a BigBlueButton 3.0 server in under 30 minutes.
40+
Script for installing a BigBlueButton 4.0 server in under 30 minutes.
4141
4242
This script also checks if your server supports https://docs.bigbluebutton.org/administration/install/#minimum-server-requirements
4343
4444
USAGE:
45-
wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v3.0.x-release/bbb-install.sh | bash -s -- [OPTIONS]
45+
wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v4.0.x-release/bbb-install.sh | bash -s -- [OPTIONS]
4646
4747
OPTIONS (install BigBlueButton):
4848
49-
-v <version> Install given version of BigBlueButton (e.g. 'jammy-300') (required)
49+
-v <version> Install given version of BigBlueButton (e.g. 'noble-400') (required)
5050
5151
-s <hostname> Configure server with <hostname>
5252
-e <email> Email for Let's Encrypt certbot
@@ -98,17 +98,17 @@ VARIABLES (configure Greenlight only):
9898
9999
EXAMPLES:
100100
101-
Sample options for setup a BigBlueButton 3.0 server
101+
Sample options for setup a BigBlueButton 4.0 server
102102
103-
-v jammy-300 -s bbb.example.com -e [email protected]
103+
-v noble-400 -s bbb.example.com -e [email protected]
104104
105-
Sample options for setup a BigBlueButton 3.0 server with Greenlight 3 and optionally Keycloak
105+
Sample options for setup a BigBlueButton 4.0 server with Greenlight 3 and optionally Keycloak
106106
107-
-v jammy-300 -s bbb.example.com -e [email protected] -g [-k]
107+
-v noble-400 -s bbb.example.com -e [email protected] -g [-k]
108108
109-
Sample options for setup a BigBlueButton 3.0 server with LTI framework while managing LTI consumer credentials MY_KEY:MY_SECRET
109+
Sample options for setup a BigBlueButton 4.0 server with LTI framework while managing LTI consumer credentials MY_KEY:MY_SECRET
110110
111-
-v jammy-300 -s bbb.example.com -e [email protected] -t MY_KEY:MY_SECRET
111+
-v noble-400 -s bbb.example.com -e [email protected] -t MY_KEY:MY_SECRET
112112
113113
SUPPORT:
114114
Community: https://bigbluebutton.org/support
@@ -250,7 +250,7 @@ main() {
250250
# Check if we're installing coturn (need an e-mail address for Let's Encrypt)
251251
if [ -z "$VERSION" ] && [ -n "$COTURN" ]; then
252252
if [ -z "$EMAIL" ]; then err "Installing coturn needs an e-mail address for Let's Encrypt"; fi
253-
check_ubuntu 22.04
253+
check_ubuntu 24.04
254254

255255
install_coturn
256256
exit 0
@@ -277,16 +277,14 @@ main() {
277277
# need_pkg xmlstarlet
278278
get_IP "$HOST"
279279

280-
if [ "$DISTRO" == "jammy" ]; then
280+
if [ "$DISTRO" == "noble" ]; then
281281
need_pkg ca-certificates
282282

283-
need_ppa rmescandon-ubuntu-yq-jammy.list ppa:rmescandon/yq CC86BB64 # Edit yaml files with yq
283+
need_ppa rmescandon-ubuntu-yq-noble.list ppa:rmescandon/yq CC86BB64 # Edit yaml files with yq
284284
#need_ppa ppa:rmescandon/yq
285285
need_pkg yq
286286
yq --version
287287

288-
#need_ppa libreoffice-ubuntu-ppa-jammy.list ppa:libreoffice/ppa 1378B444 # Latest version of libreoffice
289-
290288
need_ppa bigbluebutton-ubuntu-support-focal.list ppa:bigbluebutton/support 2E1B01D0E95B94BC # Needed for libopusenc0
291289
need_ppa martin-uni-mainz-ubuntu-coturn-focal.list ppa:martin-uni-mainz/coturn 4B77C2225D3BBDB3 # Coturn
292290

@@ -562,7 +560,7 @@ need_ppa() {
562560
}
563561

564562
check_version() {
565-
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
563+
if ! echo "$1" | grep -Eq "noble-40"; then err "This script can only install BigBlueButton 4.0 and is meant to be run on Ubuntu 24.04 (noble) server."; fi
566564
DISTRO=${1%%-*}
567565
if ! wget -qS --spider "https://$PACKAGE_REPOSITORY/$1/dists/bigbluebutton-$DISTRO/Release.gpg" > /dev/null 2>&1; then
568566
err "Unable to locate packages for $1 at $PACKAGE_REPOSITORY."

0 commit comments

Comments
 (0)