2017-10-27 21:01:25 +02:00
|
|
|
#!/bin/bash
|
2018-06-07 13:28:44 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# BlueButton open source conferencing system - http://www.bigbluebutton.org/
|
|
|
|
#
|
2018-07-07 23:39:32 +02:00
|
|
|
# Copyright (c) 2018 BigBlueButton Inc.
|
2018-06-07 13:28:44 +02:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify it under the
|
|
|
|
# terms of the GNU Lesser General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 3.0 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
#
|
|
|
|
# BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
# PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public License along
|
|
|
|
# with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
2017-10-27 21:01:25 +02:00
|
|
|
set -x
|
|
|
|
|
2019-12-09 04:34:03 +01:00
|
|
|
cd "$(dirname "$0")"
|
2017-10-27 21:01:25 +02:00
|
|
|
|
2020-03-27 21:31:52 +01:00
|
|
|
./bbb-install.sh -d -s "`hostname -f`" -v xenial-220 -a
|
2019-12-09 04:34:03 +01:00
|
|
|
sed -i 's/::/0.0.0.0/g' /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml
|
2018-09-24 20:50:14 +02:00
|
|
|
|
2019-12-09 04:34:03 +01:00
|
|
|
# Restart
|
|
|
|
bbb-conf --restart
|
2018-07-08 06:01:41 +02:00
|
|
|
|
2020-04-08 06:36:27 +02:00
|
|
|
# Disable auto start
|
|
|
|
find /etc/systemd/ | grep wants | xargs -r -n 1 basename | grep service | grep -v networking | grep -v tty | xargs -r -n 1 -I __ systemctl disable __
|
|
|
|
systemctl disable tomcat7
|
|
|
|
|
2019-12-09 04:34:03 +01:00
|
|
|
# Update files
|
2018-11-01 12:55:38 +01:00
|
|
|
updatedb
|
2018-11-01 12:32:48 +01:00
|
|
|
|
2019-12-09 04:34:03 +01:00
|
|
|
echo "BBB configuration completed.";
|
|
|
|
exit 0;
|
2017-10-27 21:01:25 +02:00
|
|
|
|