Skip to content

Commit

Permalink
Merge pull request #655 from ffdixon/check-ipv6
Browse files Browse the repository at this point in the history
Check for IPV6
  • Loading branch information
ffdixon authored Jun 13, 2023
2 parents f8c209a + 95aac01 commit 906d214
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions bbb-install-2.6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ usage() {
set +x
cat 1>&2 <<HERE
Script for installing a BigBlueButton 2.6 server in under 30 minutes. It also supports upgrading a BigBlueButton server to version 2.6 (from version 2.5.0+ or an earlier 2.6.x version)
Script for installing a BigBlueButton 2.6 server in under 30 minutes. It also supports upgrading a BigBlueButton server to version 2.6 (from version 2.5.0+ or an earlier 2.6.x version).
This script also supports installation of a coturn (TURN) server on a separate server.
This script also checks your server supports https://docs.bigbluebutton.org/administration/install/#minimum-server-requirements
USAGE:
wget -qO- https://ubuntu.bigbluebutton.org/bbb-install-2.6.sh | bash -s -- [OPTIONS]
Expand All @@ -51,14 +51,12 @@ OPTIONS (install BigBlueButton):
-s <hostname> Configure server with <hostname>
-e <email> Email for Let's Encrypt certbot
-x Use Let's Encrypt certbot with manual dns challenges
-x Use Let's Encrypt certbot with manual DNS challenges
-g Install Greenlight version 3
-k Install Keycloak version 20
-t <key>:<secret> Install BigBlueButton LTI framework tools and add/update LTI consumer credentials <key>:<secret>
-c <hostname>:<secret> Configure with coturn server at <hostname> using <secret> (instead of built-in TURN server)
-c <hostname>:<secret> Configure with external coturn server at <hostname> using <secret> (instead of built-in TURN server)
-m <link_path> Create a Symbolic link from /var/bigbluebutton to <link_path>
Expand Down Expand Up @@ -113,7 +111,7 @@ Sample options for setup a BigBlueButton 2.6 server with LTI framework while man
SUPPORT:
Community: https://bigbluebutton.org/support
Docs: https://github.com/bigbluebutton/bbb-install
https://docs.bigbluebutton.org/administration/install/#minimum-server-requirements
HERE
}

Expand Down Expand Up @@ -269,6 +267,7 @@ main() {

check_mem
check_cpus
check_ipv6

need_pkg software-properties-common # needed for add-apt-repository
sudo add-apt-repository universe
Expand Down Expand Up @@ -434,6 +433,15 @@ check_mem() {
fi
}

check_ipv6() {
if [ ! -f /proc/net/if_inet6 ]; then
echo "Your server does not support IPV6"
if [ "$SKIP_MIN_SERVER_REQUIREMENTS_CHECK" != true ]; then
exit 1
fi
fi
}

check_cpus() {
if [ "$(nproc --all)" -lt 4 ]; then
echo "Your server needs to have (at least) 4 CPUs (8 recommended for production)."
Expand Down

0 comments on commit 906d214

Please sign in to comment.