Remount tmp before installing BBB (allow packages to run scripts in /tmp)

This commit is contained in:
Tiago Daniel Jacobs 2019-12-09 01:50:43 -03:00
parent 697fd054fb
commit 41e63c71b1

View File

@ -28,6 +28,9 @@ echo "bbb ALL=(ALL:ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/bbb
echo "bbb:bbb" | chpasswd
# Allow to have executable files in /tmp/ folder (tomcat JNA)
mount /tmp -o remount,exec
./bbb-install.sh -d -s "`hostname -f`" -v xenial-220-dev22a -a
sed -i 's/::/0.0.0.0/g' /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml
@ -35,9 +38,6 @@ sed -i 's/::/0.0.0.0/g' /opt/freeswitch/etc/freeswitch/autoload_configs/event_so
cd /usr/local/bigbluebutton/bbb-webrtc-sfu/
npm install --unsafe-perm
# Allow to have executable files in /tmp/ folder (tomcat JNA)
mount /tmp -o remount,exec
# Restart
bbb-conf --restart