본문 바로가기

프로그래밍/Ops

jitsi on AWS

jitsi on AWS

  1. install docker
    sudo yum -y upgrade
    

sudo yum -y install docker

docker -v

sudo service docker start



2. install docker-compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

docker-compose -v



3. jitsi docker

git clone https://github.com/jitsi/docker-jitsi-meet && cd docker-jitsi-meet

cp env.example .env

./gen-passwords.sh

mkdir -p ~/.jitsi-meet-cfg/{web/letsencrypt,transcripts,prosody/config,prosody/prosody-plugins-custom,jicofo,jvb,jigasi,jibri}

sudo docker-compose up -d


4. firewall
8000/TCP
8443/TCP
4443/TCP
10000/UDP

5. access
http://ec2-13-124-98-172.ap-northeast-2.compute.amazonaws.com:8000
  // 접속된다
  // 오디오, 비디오 안됨
http://ec2-13-124-98-172.ap-northeast-2.compute.amazonaws.com:8443
  // 접속된다