Adjust README.install-20.04.

This commit is contained in:
Christoph 2025-01-13 00:47:12 +01:00
parent fa08736b4f
commit 1bea4a728a
2 changed files with 14 additions and 53 deletions

View File

@ -15,25 +15,21 @@ ADMIN_EMAIL="agr@vvn-bda.de"
# 1 Pre-installation checks # 1 Pre-installation checks
# === # ===
# see: https://docs.bigbluebutton.org/administration/install/#pre-installation-checks
# --- # ---
# 1.) Run script bbb-pre-install.sh # Run script bbb-pre-install.sh
# --- # ---
# check that the locale of the server is en_US.UTF-8. # The script does:
# #
cat /etc/default/locale # - installs missing debian packages
# - checks the locale parameter and sets it to 'en_US.UTF-8' if necessary
# If you don't see LANG="en_US.UTF-8", enter the following commands to set the local to en_US.UTF-8.
# #
apt-get install -y language-pack-en # - Installs the latest version of Docker if necessary
update-locale LANG=en_US.UTF-8 #
/usr/local/src/bigbluebutton/bbb-pre-install.sh
# ---
# More checks see: https://docs.bigbluebutton.org/administration/install/#pre-installation-checks
# ---
# === # ===
@ -84,42 +80,6 @@ wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v2.7.x-rel
wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-230 -s $FQDN_HOSTNAME -e $ADMIN_EMAIL -a -w wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-230 -s $FQDN_HOSTNAME -e $ADMIN_EMAIL -a -w
# 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.) Deinstall 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.) Install Greenlight - Run script bbb-greenlight-install.sh
# ---
/usr/local/src/bigbluebutton/bbb-greenlight-install.sh
# -- # --
# Installation finished # Installation finished
# -- # --

View File

@ -327,7 +327,6 @@ echo ""
_error=false _error=false
: > $log_file : > $log_file
blank_line
echononl "Check if needed packages are installed.." echononl "Check if needed packages are installed.."
for _pkg in $NEEDED_DEBIAN_PACKAGES ; do for _pkg in $NEEDED_DEBIAN_PACKAGES ; do
if aptitude search "$_pkg" | grep " $_pkg " | grep -e "^i" >> "$log_file" 2>&1 ; then if aptitude search "$_pkg" | grep " $_pkg " | grep -e "^i" >> "$log_file" 2>&1 ; then
@ -488,8 +487,12 @@ else
fi fi
blank_line
info "The settings in the \033[1etc/default/locale\033[m file are correct." info "The settings in the \033[1etc/default/locale\033[m file are correct."
blank_line
echononl "Set system environment to 'en_US.UTF-8'.." echononl "Set system environment to 'en_US.UTF-8'.."
if $(systemctl show-environment | grep -Eq "LANG=\"?en_US.UTF-8\"?") ; then if $(systemctl show-environment | grep -Eq "LANG=\"?en_US.UTF-8\"?") ; then
@ -514,8 +517,6 @@ else
fi fi
fi fi
blank_line
# --- # ---
@ -524,14 +525,14 @@ blank_line
echo "" echo ""
echo -e " \033[1m---\033[m" echo -e " \033[1m---\033[m"
echo -e " \033[32m\Install latest version of docker033[m" echo -e " \033[32mInstall latest version of docker\033[m"
echo -e " \033[1m---\033[m" echo -e " \033[1m---\033[m"
echo "" echo ""
:> "$log_file" :> "$log_file"
if ! $(grep -Eq "^\s*deb\s+.*https://download.docker.com/linux/ubuntu\s+$DIST_CODENAME\s+stable" /etc/apt/sources.list) \ if ! $(grep -Eq "^\s*deb\s+.*https://download.docker.com/linux/ubuntu\s+$DIST_CODENAME\s+stable" /etc/apt/sources.list) \
&& ! $(grep -r -Eq "^\s*deb\s+.*https://download.docker.com/linux/ubuntu\s+$DIST_CODENAME\s+stable" /etc/apt/sources.list.d/*) && ! $(grep -r -Eq "^\s*deb\s+.*https://download.docker.com/linux/ubuntu\s+$DIST_CODENAME\s+stable" /etc/apt/sources.list.d/*)
then then
echononl "Add GPG key for official Docker repository.." echononl "Add GPG key for official Docker repository.."
curl -fsSL https://download.docker.com/linux/ubuntu/gpg 2> "$log_file" | apt-key add - >> "$log_file" 2>&1 curl -fsSL https://download.docker.com/linux/ubuntu/gpg 2> "$log_file" | apt-key add - >> "$log_file" 2>&1