How to install » History » Version 3
Olivier Bitsch, 05/24/2024 09:26 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 | # How to install (legacy 3) |
||
13 | 1 | Olivier Bitsch | |
14 | 2 | Olivier Bitsch | Installation of edumeet package is straight forward: |
15 | |||
16 | 1 | Olivier Bitsch | ~~~ |
17 | echo "deb [trusted=yes] https://projects.iabsis.com/repository/edumeet-pkg/debian . main" > /etc/apt/sources.list.d/edumeet.list |
||
18 | apt update |
||
19 | apt install edumeet |
||
20 | ~~~ |
||
21 | 2 | Olivier Bitsch | |
22 | Then you can configure for nginx, here a sample config file. |
||
23 | |||
24 | ~~~ |
||
25 | map $http_upgrade $connection_upgrade { |
||
26 | default upgrade; |
||
27 | '' close; |
||
28 | } |
||
29 | |||
30 | |||
31 | server { |
||
32 | listen 80; |
||
33 | server_name _; |
||
34 | |||
35 | location / { |
||
36 | root /usr/share/edumeet/public; |
||
37 | try_files $uri $uri/ /index.html; |
||
38 | } |
||
39 | |||
40 | location /api) { |
||
41 | proxy_set_header Host $host; |
||
42 | proxy_pass http://127.0.0.1:8080; |
||
43 | proxy_http_version 1.1; |
||
44 | proxy_set_header X-Forwarded-Proto $scheme; |
||
45 | proxy_set_header X-Forwarded-Port $server_port; |
||
46 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
||
47 | } |
||
48 | |||
49 | location /socket.io { |
||
50 | proxy_pass http://127.0.0.1:8080; |
||
51 | proxy_http_version 1.1; |
||
52 | proxy_set_header Upgrade $http_upgrade; |
||
53 | proxy_set_header Connection "upgrade"; |
||
54 | } |
||
55 | |||
56 | } |
||
57 | ~~~ |
||
58 | |||
59 | > 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. |