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

152
archive/README.install Normal file
View File

@ -0,0 +1,152 @@
# ===================
#
# 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
#
# ===================
# ---
# 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
# ---
# 1.) Run script bbb-pre-install.sh
# ---
/usr/local/src/bigbluebutton/bbb-pre-install.sh
# ---
# 2.) Install BigBlueButton
# ---
apt-get install bigbluebutton
# --
# 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
# ---
# 3.) Optional: install Demo API
# ---
apt-get install 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
# ---
/usr/local/src/bigbluebutton/bbb-greenlight-install.sh
# --
# Installation finished
# --
# =====================================================================================
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