From 599cdefb02f60021a0699c12e6aa36e7346ea2e4 Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 29 Apr 2020 20:34:38 +0200 Subject: [PATCH] Upgrade documentations.. --- README.accounts | 66 ++++++++++++++++++++++++++++++++++++ README.install | 35 +++++++++++++++++++ examples/nginx/bigbluebutton | 6 ++++ 3 files changed, 107 insertions(+) create mode 100644 README.accounts diff --git a/README.accounts b/README.accounts new file mode 100644 index 0000000..2f9ddea --- /dev/null +++ b/README.accounts @@ -0,0 +1,66 @@ +# ================= +# Creating Accounts +# ================= + +# see: https://docs.bigbluebutton.org/greenlight/gl-admin.html#creating-accounts + +# The following examples assume you have Greenlight installed in +# the /usr/local/greenlight directory. Before running the commands, +# change into the /usr/local/greenlight directory. +# +cd /usr/local/greenlight + +# ----- +# Creating a User Account +# ----- + +# To create an User account with specified values, in the Greenlight +# directory, run the following command: +# +# docker exec greenlight-v2 bundle exec rake user:create["","","","user"] +# +# Example: +# +# docker exec greenlight-v2 bundle exec rake user:create["Maex","mx@so36.net","e6i/U-2NRpLa","user"] +# +docker exec greenlight-v2 bundle exec rake user:create["","","","user"] + +# Once the command has finished it will print the account’s email and password. + + +# ----- +# Creating an Administrator Account +# ----- + +# To create an Administrator account with the default values, in the +# Greenlight directory, run the following command: +# +docker exec greenlight-v2 bundle exec rake admin:create + +# If you would like to configure the name, email, or password of the +# Administrator account, replace the previous command with this: +# +# docker exec greenlight-v2 bundle exec rake user:create["","","","admin"] +# +# Example: +# +# docker exec greenlight-v2 bundle exec rake user:create["Christoph","ckubu@oopen.de","","admin"] +# +docker exec greenlight-v2 bundle exec rake user:create["","","","admin"] + +# Once the command has finished it will print the account’s email and password. + + +# ============== +# Managing Users +# ============== + +# see: https://docs.bigbluebutton.org/greenlight/gl-admin.html#managing-users + +# ----- +# Accessing the Administrator Panel +# ----- + +# Greenlight has an administrator account that gives you the ability to manage +# users on the server. + diff --git a/README.install b/README.install index ff053cc..c9f7c30 100644 --- a/README.install +++ b/README.install @@ -1,5 +1,9 @@ # =================== # +# see: +# - https://docs.bigbluebutton.org/2.2/install.html +# - https://bigbluebutton.org/html5/ +# # Requirements: # # - webserver nginx is installed @@ -8,6 +12,26 @@ # =================== +# --- +# 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 # --- @@ -26,8 +50,15 @@ apt-get install bigbluebutton # 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 @@ -52,6 +83,10 @@ apt-get install bbb-demo /usr/local/src/bigbluebutton/bbb-greenlight-install.sh +# -- +# Installation finished +# -- + # ===================================================================================== 1. Install Docker on Ubuntu. diff --git a/examples/nginx/bigbluebutton b/examples/nginx/bigbluebutton index 4b32ea1..ee52cd6 100644 --- a/examples/nginx/bigbluebutton +++ b/examples/nginx/bigbluebutton @@ -107,5 +107,11 @@ server { location = /50x.html { root /var/www/nginx-default; } + + # BigBlueButton landing page. + location = / { + return 307 /b; + } + }