Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
communication-install-scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fabrizio bianchi
communication-install-scripts
Commits
8b3d367a
Commit
8b3d367a
authored
4 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Generalize hostname
parent
47047bed
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
BigBlueButton.sh
+7
-5
7 additions, 5 deletions
BigBlueButton.sh
with
7 additions
and
5 deletions
BigBlueButton.sh
+
7
−
5
View file @
8b3d367a
...
@@ -18,6 +18,8 @@
...
@@ -18,6 +18,8 @@
# This script has been tested on Trisquel 8
# This script has been tested on Trisquel 8
HOSTNAME
=
bbb.foo.bar
# Basic setup
# Basic setup
apt-get
install
--no-install-recommends
language-pack-en certbot wget equivs apt-transport-https software-properties-common python3-certbot-nginx apache2-utils
apt-get
install
--no-install-recommends
language-pack-en certbot wget equivs apt-transport-https software-properties-common python3-certbot-nginx apache2-utils
...
@@ -65,15 +67,15 @@ sed 's|.*node main.js|PORT=3000 /usr/bin/node main.js|' -i /usr/share/meteor/bun
...
@@ -65,15 +67,15 @@ sed 's|.*node main.js|PORT=3000 /usr/bin/node main.js|' -i /usr/share/meteor/bun
###### Configure SSL
###### Configure SSL
certbot
--webroot
-w
/var/www/bigbluebutton-default/
-m
sysadmin@
gnu.org
certonly
--agree-tos
-d
classroom.fsf.org
-n
certbot
--webroot
-w
/var/www/bigbluebutton-default/
-m
sysadmin@
$HOSTNAME
certonly
--agree-tos
-d
$HOSTNAME
-n
cat
<<
EOF
|sed '/server_name.*
$/
r /dev/stdin' -i /etc/nginx/sites-available/bigbluebutton
cat
<<
EOF
|sed '/server_name.*
$/
r /dev/stdin' -i /etc/nginx/sites-available/bigbluebutton
listen 443 ssl;
listen 443 ssl;
listen [::]:443 ssl;
listen [::]:443 ssl;
ssl_certificate /etc/letsencrypt/live/
classroom.fsf.org
/fullchain.pem;
ssl_certificate /etc/letsencrypt/live/
$HOSTNAME
/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/
classroom.fsf.org
/privkey.pem;
ssl_certificate_key /etc/letsencrypt/live/
$HOSTNAME
/privkey.pem;
ssl_session_cache shared:SSL:10m;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
ssl_session_timeout 10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
...
@@ -97,7 +99,7 @@ sed 's/JoinViaHTML5Client=false/JoinViaHTML5Client=true/' -i /usr/share/bbb-web/
...
@@ -97,7 +99,7 @@ sed 's/JoinViaHTML5Client=false/JoinViaHTML5Client=true/' -i /usr/share/bbb-web/
# Fix integration issue with Canvas
# Fix integration issue with Canvas
sed
's/5,6/5,20/'
-i
/opt/freeswitch/conf/dialplan/default/bbb_echo_test.xml /opt/freeswitch/conf/dialplan/default/bbb_conference.xml
sed
's/5,6/5,20/'
-i
/opt/freeswitch/conf/dialplan/default/bbb_echo_test.xml /opt/freeswitch/conf/dialplan/default/bbb_conference.xml
bbb-conf
--setip
classroom.fsf.org
bbb-conf
--setip
$HOSTNAME
service nginx restart
service nginx restart
apt-get
install
ufw
apt-get
install
ufw
...
@@ -116,7 +118,7 @@ htpasswd -c /etc/nginx/htpasswd username
...
@@ -116,7 +118,7 @@ htpasswd -c /etc/nginx/htpasswd username
cat
<<
EOF
|sed '/fastcgi_params;
$/
r /dev/stdin' -i /etc/bigbluebutton/nginx/demo.nginx
cat
<<
EOF
|sed '/fastcgi_params;
$/
r /dev/stdin' -i /etc/bigbluebutton/nginx/demo.nginx
auth_basic "Private server. Contact sysadmin@
fsf.org
if you need a BigBlueButton instance for your classroom";
auth_basic "Private server. Contact sysadmin@
$HOSTNAME
if you need a BigBlueButton instance for your classroom";
auth_basic_user_file /etc/nginx/htpasswd;
auth_basic_user_file /etc/nginx/htpasswd;
EOF
EOF
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment