add JMS support for Ubuntu 18.04, add prosody repo

This commit is contained in:
2020-11-04 15:18:37 +01:00
parent 045595eb5b
commit 8e3f128075
4 changed files with 8 additions and 1 deletions

View File

@@ -18,6 +18,11 @@ if [[ "${dist}" == *"debian"* ]] && [[ "${dist_ver}" == *"10"* ]]; then
PKGI="${PKGM} install -y --no-install-recommends" PKGI="${PKGM} install -y --no-install-recommends"
PKGLIST="apt" PKGLIST="apt"
shortdist=deb10 shortdist=deb10
elif [[ "${dist}" == *"ubuntu"* ]] && [[ "${dist_ver}" == *"18.04"* ]]; then
PKGM="$APTMODE"
PKGI="${PKGM} install -y --no-install-recommends"
PKGLIST="apt"
shortdist=ubu1804
else else
echo "This os in not supported" echo "This os in not supported"
exit exit

View File

@@ -58,6 +58,7 @@ fi
#start services #start services
systemctl enable prosody jicofo dnsmasq systemctl enable prosody jicofo dnsmasq
systemctl start prosody jicofo dnsmasq systemctl start prosody jicofo dnsmasq
systemctl restart nginx
#Create users #Create users
prosodyctl register jibri auth.$domain $jibsec prosodyctl register jibri auth.$domain $jibsec

View File

@@ -1 +1 @@
ufw ufw lua-sec

View File

@@ -4,6 +4,7 @@ mbranch=main/JMS
#setup repo #setup repo
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=jitsi osrel=$shortdist bash > $OUTPUT 2>&1 curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=jitsi osrel=$shortdist bash > $OUTPUT 2>&1
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=prosody osrel=$shortdist bash > $OUTPUT 2>&1
#preconf jitsi #preconf jitsi
debconf-set-selections <<< "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $domain" debconf-set-selections <<< "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $domain"