How to install » History » Version 4
Olivier Bitsch, 05/24/2024 09:27 AM
| 1 | 3 | Olivier Bitsch | # How to install (new 4) |
|---|---|---|---|
| 2 | |||
| 3 | |||
| 4 | Installation of edumeet package is straight forward, note that media node can be installed on separate server. |
||
| 5 | |||
| 6 | ~~~ |
||
| 7 | echo "deb [trusted=yes] https://projects.iabsis.com/repository/edumeet-pkg/debian . main" > /etc/apt/sources.list.d/edumeet.list |
||
| 8 | apt update |
||
| 9 | apt install edumeet-media-node edumeet-room-server edumeet-client |
||
| 10 | ~~~ |
||
| 11 | |||
| 12 | 4 | Olivier Bitsch | Coturn package might be required as well. All configuration needs to be done into /etc/edumeet/ folder. |
| 13 | |||
| 14 | 3 | Olivier Bitsch | # How to install (legacy 3) |
| 15 | 1 | Olivier Bitsch | |
| 16 | 2 | Olivier Bitsch | Installation of edumeet package is straight forward: |
| 17 | |||
| 18 | 1 | Olivier Bitsch | ~~~ |
| 19 | echo "deb [trusted=yes] https://projects.iabsis.com/repository/edumeet-pkg/debian . main" > /etc/apt/sources.list.d/edumeet.list |
||
| 20 | apt update |
||
| 21 | apt install edumeet |
||
| 22 | ~~~ |
||
| 23 | 2 | Olivier Bitsch | |
| 24 | Then you can configure for nginx, here a sample config file. |
||
| 25 | |||
| 26 | ~~~ |
||
| 27 | map $http_upgrade $connection_upgrade { |
||
| 28 | default upgrade; |
||
| 29 | '' close; |
||
| 30 | } |
||
| 31 | |||
| 32 | |||
| 33 | server { |
||
| 34 | listen 80; |
||
| 35 | server_name _; |
||
| 36 | |||
| 37 | location / { |
||
| 38 | root /usr/share/edumeet/public; |
||
| 39 | try_files $uri $uri/ /index.html; |
||
| 40 | } |
||
| 41 | |||
| 42 | location /api) { |
||
| 43 | proxy_set_header Host $host; |
||
| 44 | proxy_pass http://127.0.0.1:8080; |
||
| 45 | proxy_http_version 1.1; |
||
| 46 | proxy_set_header X-Forwarded-Proto $scheme; |
||
| 47 | proxy_set_header X-Forwarded-Port $server_port; |
||
| 48 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
||
| 49 | } |
||
| 50 | |||
| 51 | location /socket.io { |
||
| 52 | proxy_pass http://127.0.0.1:8080; |
||
| 53 | proxy_http_version 1.1; |
||
| 54 | proxy_set_header Upgrade $http_upgrade; |
||
| 55 | proxy_set_header Connection "upgrade"; |
||
| 56 | } |
||
| 57 | |||
| 58 | } |
||
| 59 | ~~~ |
||
| 60 | |||
| 61 | > Don't forgot to replace `server_name _;` by your domain if you are not behind a reverse proxy and install `python3-certbot-nginx` to issue certificate then. |