README.install-20.04: fqhn must not be part of '/etc/hosts' file.
This commit is contained in:
		| @@ -59,6 +59,19 @@ git clone https://git.oopen.de/install/bigbluebutton /usr/local/src/ | |||||||
| wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v2.7.x-release/bbb-install.sh \ | wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v2.7.x-release/bbb-install.sh \ | ||||||
|    | bash -s -- -w -v focal-270 -s ${FQDN_HOSTNAME} -e ${ADMIN_EMAIL} -g |    | bash -s -- -w -v focal-270 -s ${FQDN_HOSTNAME} -e ${ADMIN_EMAIL} -g | ||||||
|  |  | ||||||
|  |  | ||||||
|  | # !! Note !! | ||||||
|  | # | ||||||
|  | # If the FQHN of the BigBlueButton service is part of the '/etc/hosts' file,  | ||||||
|  | # then BigBlueButton will not work properly, at least not if the FQHN points  | ||||||
|  | # to a 127 IP address (e.g. 127.0.1.1). | ||||||
|  | # | ||||||
|  | sed -i -E "/^[[:space:]]*127.0.1.1[[:space:]]+${FQDN_HOSTNAME}/d" /etc/hosts | ||||||
|  | if [[ -f "/etc/cloud/templates/hosts.debian.tmpl" ]] ; then | ||||||
|  |    sed -i -E "/^127.0.1.1/d" /etc/cloud/templates/hosts.debian.tmpl | ||||||
|  | fi | ||||||
|  |  | ||||||
|  |  | ||||||
| # --- | # --- | ||||||
| # Install BigBlueButton (incl. Greenligth)  by running script 'bbb-install.sh' lacally | # Install BigBlueButton (incl. Greenligth)  by running script 'bbb-install.sh' lacally | ||||||
| # --- | # --- | ||||||
| @@ -77,6 +90,11 @@ git clone https://github.com/bigbluebutton/bbb-install.git /usr/local/src/bbb/ | |||||||
| # | # | ||||||
| /usr/local/src/bbb/bbb-install.sh -w -v focal-270 -s ${FQDN_HOSTNAME} -e ${ADMIN_EMAIL} -g | /usr/local/src/bbb/bbb-install.sh -w -v focal-270 -s ${FQDN_HOSTNAME} -e ${ADMIN_EMAIL} -g | ||||||
|  |  | ||||||
|  | sed -i -E "/^[[:space:]]*127.0.1.1[[:space:]]+${FQDN_HOSTNAME}/d" /etc/hosts | ||||||
|  | if [[ -f "/etc/cloud/templates/hosts.debian.tmpl" ]] ; then | ||||||
|  |    sed -i -E "/^127.0.1.1/d" /etc/cloud/templates/hosts.debian.tmpl | ||||||
|  | fi | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| # -- | # -- | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user