Last active
August 5, 2021 03:59
-
-
Save rohitcoder/85d6d06c2176695edcf756318ec27cc2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#add dns for meet.mydomain.com to point to public ip for vm | |
# Open ports on network security group | |
# 80/tcp | |
# 443/tcp | |
# 4443/tcp | |
# 10000/udp | |
sudo hostnamectl set-hostname meet.mydomain.com | |
sudo nano /etc/hosts | |
#manually append | |
#127.0.0.1 meet.mydomain.com | |
wget https://prosody.im/files/prosody-debian-packages.key -O- | sudo apt-key add - | |
echo deb http://packages.prosody.im/debian $(lsb_release -sc) main | sudo tee -a /etc/apt/sources.list | |
sudo apt-get -y update | |
sudo apt-get -y install prosody | |
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key add - | |
sudo sh -c "echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list" | |
sudo apt-get -y update | |
sudo apt-get -y install jitsi-meet | |
#manually type | |
#meet.mydomain.com | |
#choose self-signed cert for now | |
sudo add-apt-repository ppa:certbot/certbot | |
sudo apt -y install certbot | |
sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh | |
#enter [email protected] | |
sudo apt-get -y install jitsi-meet-tokens | |
#enter app id | |
#enter app secret | |
sudo nano /etc/prosody/prosody.cfg.lua | |
#c2s_require_encryption=false | |
sudo nano /etc/prosody/conf.avail/meet.mydomain.com.cfg.lua | |
#authentication="token" | |
#app_id="myappid" | |
#app_secret="myappsecret" | |
#allow_empty_token=false | |
#further down remove comment from -- "token_verifification" | |
#Fix permissions on localhost key | |
sudo chown root:prosody /etc/prosody/certs/localhost.key | |
sudo chmod 644 /etc/prosody/certs/localhost.key | |
sudo apt-get -y install lua5.2 liblua5.2 luarocks | |
sudo luarocks install basexx | |
sudo apt-get install libssl1.0-dev | |
sudo luarocks install luacrypto | |
sudo luarocks download lua-cjson | |
sudo luarocks unpack lua-cjson-2.1.0.6-1.src.rock | |
cd lua-cjson-2.1.0.6-1/lua-cjson/ | |
sudo nano lua_cjson.c | |
#line 743: change to | |
# len = lua_rawlen(l, -1); | |
sudo nano Makefile | |
#change | |
# LUA_INCLUDE_DIR = /usr/include/lua5.2 | |
sudo luarocks make | |
cd ../../ | |
sudo luarocks install luajwtjitsi | |
#install again | |
sudo apt-get install -y jitsi-meet jitsi-meet-tokens | |
sudo rm /var/log/prosody/prosody.err | |
sudo systemctl restart prosody.service | |
sudo systemctl restart jicofo.service | |
sudo systemctl restart jitsi-videobridge2.service | |
sudo cat /var/log/prosody/prosody.err | |
For more details => https://github.com/jitsi/lib-jitsi-meet/issues/1082#issuecomment-616948457 |
For setting up multiple videobrdiges https://dev.to/danny899/how-to-configure-jitsi-meet-with-multiple-videobridge-nodes-2a4k
Note
To update Existing installation run these commands
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key add -
sudo sh -c "echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list"
sudo apt-get -y update
sudo apt-get -y install jitsi-meet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use this JWT Payload on jwt.io