add JMS support for Ubuntu 18.04, add prosody repo
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
ufw
|
ufw lua-sec
|
||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user