quick-installnode
開放端口linux
ufw allow in ssh ufw allow in 80/tcp ufw allow in 443/tcp ufw allow in 10000:20000/udp ufw allow in 4443/tcp ufw allow in 5280/tcp ufw status iptables -L -n
安裝node(自帶npm)nginx
tar -xvf node-v10.8.0-linux-x64.tar.xz mv node-v10.8.0-linux-x64 /usr/local/node ln -s /usr/local/node/bin/node /usr/bin/node ln -s /usr/local/node/bin/npm /usr/bin/npm node -v npm -v
安裝nginxgit
sudo apt-get install nginx
添加軟件庫github
echo "deb https://download.jitsi.org stable/" >> /etc/apt/sources.list
添加官方KEYweb
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key add -
更新包列表npm
sudo apt-get update
安裝Jitsi-meetubuntu
sudo apt-get -y install jitsi-meet
apt-get purge jigasi jitsi-meet jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-web jicofo jitsi-videobridge
配置JicofoVedioBridge,不然穿牆失敗不能通訊。ssh
org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=內網ip org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=外網ip