Talk:CNM Talk

From CNM Wiki
Revision as of 17:20, 8 April 2023 by Gary (talk | contribs) (Created page with "Install & Configure Jitsi on Ubuntu 20.04 • Pre-Instalation apt update -y && apt upgrade -y apt install lsb-release -y apt install gnupg -y apt install curl -y apt install...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Install & Configure Jitsi on Ubuntu 20.04

• Pre-Instalation apt update -y && apt upgrade -y apt install lsb-release -y apt install gnupg -y apt install curl -y apt install ufw -y hostnamectl set-hostname jitsi.bskol.com nano /etc/hosts 127.0.0.1 localhost

1 localhost ip6-localhost ip6-loopback

ff02::1 ip6-allnodes ff02::2 ip6-allrouters

  1. --- BEGIN PVE ---

2a01:4f8:fff0:53::2 jitsi.bskol.com jitsi

  1. --- END PVE ---

ufw allow 80/tcp ufw allow 443/tcp ufw allow 10000/udp ==> For General Network Audio/Video Meetings ufw allow 22/tcp ufw allow 3478/udp ==> For querying the stun server (coturn, optional, needs config.js change to enable it). ufw allow 5349/tcp ==> For fallback network video/audio communications over TCP (when UDP is blocked for example), served by coturn. ufw enable ufw status

• Install Nginx Install NGINX

  1. apt-get install nginx -y
  2. systemctl start nginx
  3. systemctl enable nginx
  4. nginx -v
  5. ufw allow 'Nginx Full'

• Installation Jitsi

apt install -y openjdk-8-jre-headless java -version echo "JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")" | sudo tee -a /etc/profile source /etc/profile apt install -y nginx systemctl start nginx.service systemctl enable nginx.service wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key add - echo "deb https://download.jitsi.org stable/" | sudo tee -a /etc/apt/sources.list.d/jitsi-stable.list apt update apt install -y jitsi-meet

• Install SSL Let's Encrypt

Install Let's Encrypt :::::

/usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh Enter your email and press [ENTER]: igor.irho@gmail.com

• Create a Password Authenticate Users to a Meeting

Create a guest domain :::::

cd /etc/prosody/conf.avail/ nano jitsi1.bskol.com.cfg.lua


VirtualHost "jitsi1.bskol.com" ... authentication = "anonymous" //change anonymous to internal_plain ... add above VirtualHost section, insert a new VirtualHost section.


VirtualHost "guest.jitsi1.bskol.com" authentication = "anonymous" c2s_require_encryption = false modules_enabled = { "bosh";

"pubsub"; "ping"; "speakerstats"; "turncredentials"; "conference_duration"; }


exit

Install Module Storage_memory :::::
  1. enables a temporary memory storage for persistent information, including #user

session data apt install -y mercurial mkdir ~/temp && cd ~/temp hg clone 'https://hg.prosody.im/prosody-modules/' prosody-modules cp prosody-modules/mod_storage_memory/*.lua /usr/lib/prosody/modules/.

Create a Jitsi Anonymous Domain :::::

nano /etc/jitsi/meet/jitsi1.bskol.com-config.js


var config = { ... hosts: { ... domain: 'jitsi1.bskol.com', anonymousdomain: 'guest.video.mydomain.com', ... }, ... }


Configure Jicofo :::::

nano /etc/jitsi/jicofo/sip-communicator.properties


Add a new line with the following configuration. org.jitsi.jicofo.auth.URL=XMPP:jitsi1.bskol.com


Create Jitsi admin users :::::

prosodyctl register adminjitsi jitsi1.bskol.com prosodyctl register administrator jitsi1.bskol.com prosodyctl register jitsi1 jitsi1.bskol.com prosodyctl register jitsibskol jitsi1.bskol.com prosodyctl register jitsimeet jitsi1.bskol.com systemctl restart {prosody,jicofo,jitsi-videobridge2,nginx}

Info: root pw: ssh port: url : Claim Host Jitsi Meet Administrator user : password :