-
jitsi meet 설치 가이드(docker 기반 퀵 가이드)How to Dev 2020. 12. 28. 11:09
jitssi meet 설치 가이드 (도커 기반)
- Jitsi는 웹 플랫폼, Windows, Linux, macOS, iOS 및 Android 용 무료 오픈 소스 다중 플랫폼 음성, 화상 회의 및 인스턴트 메시징 애플리케이션 모음
- 라이선스 : Apache License 2.0
- https://jitsi.github.io/
- 패키지 형태의 jitsi-meet는 우분투 18.04 이상에서 설치 가능
설치 준비 사항
- ubuntu or 리눅스
- docker-ce
- dokcer-compose
퀵 스타트
소스를 다운로드 할수 있는 위치에서
git clone https://github.com/jitsi/docker-jitsi-meet && cd docker-jitsi-meet
.env 파일 생성 및 패스워드 새팅
cp env.example .env ./gen-passwords.sh
config 폴더 생성
mkdir -p ~/.jitsi-meet-cfg/{web/letsencrypt,transcripts,prosody/config,prosody/prosody-plugins-custom,jicofo,jvb,jigasi,jibri}
.env 환경 파일 편집
무료 호스팅 도메인(freenom을 통해 무료 도메인 얻기)
무료 DNS 사용
freenom 오픈소스 소프트웨어를 개발 및 테스트하기 위해서는 일반적으로 로컬 환경 구성하여 테스트 로컬 환경과 외부 IP로 테스트 클라우드 환경과 외부 IP로 테스트 클라우드 환경과 dns로 테스
softmagic.tistory.com
HTTP_PORT=80 HTTPS_PORT=443 TZ=your-timezione # Asia/Seoul PUBLIC_URL=https://your-server-domain # https://meet.example.com ENABLE_LETSENCRYPT=1 LETSENCRYPT_DOMAIN=your-server-domain # meet.example.com LETSENCRYPT_EMAIL=me@email.com
(옵션) 방화벽 설정
sudo ufw status sudo ufw enable sudo ufw allow in ssh sudo ufw allow in 80/tcp sudo ufw allow in 443/tcp sudo ufw allow in 22/tcp sudo ufw allow in 3478/udp sudo ufw allow in 5349/tcp sudo ufw allow in 10000:20000/udp sudo ufw status sudo ufw disable
(옵션) 그라파나 대시보드를 위한 docker-compose.yaml 변경
그라파나 대시보드
도커 기반의 jitsi-meet 그라파나 대시보드 구성
이전 포스트에서 도커기반의 jitsi-meet를 설치 후 그라파나 대시보드 구성 softmagic.tistory.com/92 [ jitsi meet 설치 가이드(docker 기반 퀵 가이드) jitssi meet 설치 가이드 (도커 기반) Jitsi는 웹 플랫폼..
softmagic.tistory.com
- vi docker-compose.yml
jvb: image: jitsi/jvb:latest restart: ${RESTART_POLICY} ports: - '${JVB_PORT}:${JVB_PORT}/udp' - '${JVB_TCP_PORT}:${JVB_TCP_PORT}' - 8080:8080 # 8080 포트 추가
- vi .env
# A comma separated list of APIs to enable when the JVB is started [default: none] # See https://github.com/jitsi/jitsi-videobridge/blob/master/doc/rest.md for more information JVB_ENABLE_APIS=rest,colibri
(옵션) 구글/MS 캘린더 연결 연결
구글 캘린더 API 사용 설정
.env 환경 수정ENABLE_CALENDAR=true GOOGLE_API_APP_CLIENT_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
(옵션) 구글/vosk speech to text
- 구글 환경 설정
JIGASI_TRANSCRIBER_ADVERTISE_URL=true # Credentials for connect to Cloud Google API from Jigasi # Please read https://cloud.google.com/text-to-speech/docs/quickstart-protocol # section "Before you begin" paragraph 1 to 5 # Copy the values from the json to the related env vars GC_PROJECT_ID= GC_PRIVATE_KEY_ID= GC_PRIVATE_KEY= GC_CLIENT_EMAIL= GC_CLIENT_ID= GC_CLIENT_CERT_URL=
도커 컴포즈 실행(기본 도커 컨테이너)
# 기본 docker-compose up # 문서 공유 및 편집 docker-compose -f docker-compose.yml -f etherpad.yml up # jisi 포함 docker-compose -f docker-compose.yml -f jigasi.yml -f jibri.yml up
회의 생성 화면
오류 및 해결
ERROR: Please load snd-aloop module on the docker host.
# install the module apt update && apt install linux-image-extra-virtual # configure 5 capture/playback interfaces echo "options snd-aloop enable=1,1,1,1,1 index=0,1,2,3,4" > /etc/modprobe.d/alsa-loopback.conf # setup autoload the module echo "snd-aloop" >> /etc/modules # check that the module is loaded lsmod | grep snd_aloop
ubuntu 16.04 AWS에서의 jitsi-meet 설치시
-
커넬 버전 확인
uname -r # 커넬 변경 이력 grep -A200 submenu /boot/grub/grub.cfg |grep menuentry
-
grup 파일 편집
vi /etc/default/grub or nano /etc/default/grub
-
grup 파일 편집
GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=0 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet" GRUB_CMDLINE_LINUX="find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US" # GRUB_DEFAULT=1>2 변경 GRUB_DEFAULT=1>2 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=0 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""
-
저장 후
update-grub reboot now
ubuntu 18.04 이상 AWS에서의 jitsi-meet 설치시
- 커넬 버전 확인
uname -r # 커넬 변경 이력 grep -A200 submenu /boot/grub/grub.cfg |grep menuentry
- grup 파일 편집
vi /etc/default/grub or nano /etc/default/grub
- grup 파일 편집
GRUB_DEFAULT="gnulinux-advanced-1b28661d-dff9-40d3-970a-8798394d54f6>gnulinux-4.15.0-128-generic-advanced-1b28661d-dff9-40d3-970a-8798394d54f6" GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=0 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""
- 저장 후
update-grub reboot now
'How to Dev' 카테고리의 다른 글
소프트웨어 엔지니어 로드맵 (0) 2020.12.29 도커 기반의 jitsi-meet 그라파나 대시보드 구성 (0) 2020.12.28 마크다운(Markdown) 문서를 MS 워드로 변환 (0) 2020.12.28 Ubuntu 18 네트워크 설정이 사라진 경우 (0) 2020.09.18 Docker 기반의 NextCloud(넥스트클라우드) 설치 (0) 2020.06.16