Update to install version 2.3

This commit is contained in:
2021-05-28 02:27:57 +02:00
parent 2cac76f6e0
commit 4d6a4575dc
7 changed files with 1702 additions and 442 deletions

View File

@ -1,36 +1,12 @@
# ===================
#
# see:
# - https://docs.bigbluebutton.org/2.2/install.html
# - https://bigbluebutton.org/html5/
#
# Requirements:
#
# - webserver nginx is installed
# - lets encrypt certificates available for $FQDN_HOSTNAME
# - https://docs.bigbluebutton.org/2.3/install.html
#
# ===================
# ---
# 0.) Requirements
# ---
# Install Nginx Webserver
#
cd /usr/local/src/nginx
./install_nginx.sh
# Install update mechanism for lets encrypt certificates
#
cd /usr/local/src/dehydrated-cron
./install_dehydrated.sh
# Create certificate(s)
#
vim /var/lib/dehydrated/domains.txt
/var/lib/dehydrated/cron/dehydrated_cron.sh
FQDN_HOSTNAME="bbb.oopen.de"
ADMIN_EMAIL="ckubu-adm@oopen.de"
# ---
# 1.) Run script bbb-pre-install.sh
@ -43,41 +19,40 @@ vim /var/lib/dehydrated/domains.txt
# 2.) Install BigBlueButton
# ---
apt-get install bigbluebutton
wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-230 -s $FQDN_HOSTNAME -e $ADMIN_EMAIL -a -w
# --
# Adjust /etc/nginx/sites-enabled/bigbluebutton to support
# SSL Protocls
# --
if [[ ! -f "/etc/nginx/sites-available/bigbluebutton.ORIG" ]] ; then
cp -a /etc/nginx/sites-available/bigbluebutton /etc/nginx/sites-available/bigbluebutton.ORIG
fi
vim /etc/nginx/sites-enabled/bigbluebutton
systemctl restart nginx
apt-get update
apt-get upgrade
apt-get install bbb-html5
# You can test your BigBlueButton installation. Open
#
# https://$FQDN_HOSTNAME
#
# enter your name, and click 'Join' to join 'Demo Meeting'. The BigBlueButton client should
# launch in 'Demo Meeting'.
# ---
# 3.) Optional: install Demo API
# 3.) Deinstall bbb-demo
# ---
apt-get install bbb-demo
# Warning: The API demos are installed and accessible from:
#
# https://bbb.oopen.de
#
# and
#
# https://bbb.oopen.de/demo/demo1.jsp
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
# apt-get purge bbb-demo
#
apt purge bbb-demo
# ---
# 4.) Run script bbb-post-install.sh
# ---
/usr/local/src/bigbluebutton/bbb-post-install.sh
# ---
# 5.) Install Greenlight - Run script bbb-greenlight-install.sh
# 4.) Install Greenlight - Run script bbb-greenlight-install.sh
# ---
/usr/local/src/bigbluebutton/bbb-greenlight-install.sh
@ -88,65 +63,3 @@ apt-get install bbb-demo
# --
# =====================================================================================
1. Install Docker on Ubuntu.
# Remove old versions of Docker
#
apt-get remove docker docker-engine docker.io containerd runc
# Install packages to allow apt to use a repository over HTTPS:
#
apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
# Add Dockers official GPG key:
#
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# set up the stable repository.
#
cat <<EOF > /etc/apt/sources.list.d/docker.list
deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable
EOF
# Update package index
#
apt-get update
# Install the latest version of Docker Engine - Community and containerd,
#
apt-get install docker-ce docker-ce-cli containerd.io
# Deinstall apparmor
#
apt-get remove apparmor
# Create the Greenlight directory for its configuration to live in.
#
mkdir ~/greenlight && cd ~/greenlight
# Greenlight will read its environment configuration from the .env file.
# To generate this file and install the Greenlight Docker image, run:
#
docker run --rm bigbluebutton/greenlight:v2 cat ./sample.env > .env
# Generating a Secret KeyAnchor link for: generating a secret key
#
# Greenlight needs a secret key in order to run in production. To generate
# this, run:
#
docker run --rm bigbluebutton/greenlight:v2 bundle exec rake secret