Selaa lähdekoodia

Update manual-install.md

Adds jicofo install instructions.
master
Paweł Domas 10 vuotta sitten
vanhempi
commit
91358476a1
1 muutettua tiedostoa jossa 44 lisäystä ja 8 poistoa
  1. 44
    8
      doc/manual-install.md

+ 44
- 8
doc/manual-install.md Näytä tiedosto

2
 
2
 
3
 This describes configuring a server `jitsi.example.com`.  You will need to
3
 This describes configuring a server `jitsi.example.com`.  You will need to
4
 change references to that to match your host, and generate some passwords for
4
 change references to that to match your host, and generate some passwords for
5
-`YOURSECRET1` and `YOURSECRET2`.
5
+`YOURSECRET1`, `YOURSECRET2`, `YOURSECRET3` and `YOURSECRET4`.
6
 
6
 
7
 There are also some complete [example config files](https://github.com/jitsi/jitsi-meet/tree/master/doc/example-config-files/) available, mentioned in each section.
7
 There are also some complete [example config files](https://github.com/jitsi/jitsi-meet/tree/master/doc/example-config-files/) available, mentioned in each section.
8
 
8
 
36
 - configure your domain by editing the example.com virtual host section section:
36
 - configure your domain by editing the example.com virtual host section section:
37
 ```
37
 ```
38
 VirtualHost "jitsi.example.com"
38
 VirtualHost "jitsi.example.com"
39
-authentication = "anonymous"
40
-ssl = {
41
-    key = "/var/lib/prosody/jitsi.example.com.key";
42
-    certificate = "/var/lib/prosody/jitsi.example.com.crt";
43
-}
39
+    authentication = "anonymous"
40
+    ssl = {
41
+        key = "/var/lib/prosody/jitsi.example.com.key";
42
+        certificate = "/var/lib/prosody/jitsi.example.com.crt";
43
+    }
44
+```
45
+- add domain with authentication for conference focus user:
46
+```
47
+VirtualHost "auth.jitsi.example.com"
48
+    authentication = "internal_plain"
49
+    ssl = {
50
+        key = "/var/lib/prosody/jitsi.example.com.key";
51
+        certificate = "/var/lib/prosody/jitsi.example.com.crt";
52
+    }
53
+```
54
+- add focus user to server admins:
55
+```
56
+admins = { "focus@auth.jitsi.example.com" }
44
 ```
57
 ```
45
 - and finally configure components:
58
 - and finally configure components:
46
 ```
59
 ```
47
 Component "conference.jitsi.example.com" "muc"
60
 Component "conference.jitsi.example.com" "muc"
48
 Component "jitsi-videobridge.jitsi.example.com"
61
 Component "jitsi-videobridge.jitsi.example.com"
49
     component_secret = "YOURSECRET1"
62
     component_secret = "YOURSECRET1"
63
+Component "focus.jitsi.example.com"
64
+    component_secret = "YOURSECRET2"
50
 ```
65
 ```
51
 
66
 
52
 Generate certs for the domain:
67
 Generate certs for the domain:
54
 prosodyctl cert generate jitsi.example.com
69
 prosodyctl cert generate jitsi.example.com
55
 ```
70
 ```
56
 
71
 
72
+Create conference focus user:
73
+```sh
74
+prosodyctl register focus auth.jitsi.example.com YOURSECRET3
75
+```
76
+
57
 Restart prosody XMPP server with the new config
77
 Restart prosody XMPP server with the new config
58
 ```sh
78
 ```sh
59
 prosodyctl restart
79
 prosodyctl restart
137
 /bin/bash /root/jitsi-videobridge-linux-{arch-buildnum}/jvb.sh --host=localhost --domain=jitsi.example.com --port=5347 --secret=YOURSECRET1 </dev/null >> /var/log/jvb.log 2>&1
157
 /bin/bash /root/jitsi-videobridge-linux-{arch-buildnum}/jvb.sh --host=localhost --domain=jitsi.example.com --port=5347 --secret=YOURSECRET1 </dev/null >> /var/log/jvb.log 2>&1
138
 ```
158
 ```
139
 
159
 
160
+## Install Jitsi Conference Focus(jicofo)
161
+Clone source from Github repo:
162
+```sh
163
+git clone https://github.com/jitsi/jicofo.git
164
+```
165
+Build distribution package. Replace {os-name} with one of: 'lin', 'lin64', 'macosx', 'win', 'win64'.
166
+```sh
167
+cd jicofo
168
+ant dist.{os-name}
169
+```
170
+Run jicofo:
171
+```sh
172
+cd dist/{os-name}'
173
+./jicofo.sh --domain=jitsi.exmaple.com --secret=YOURSECRET2 --user_domain=auth.jitsi.example.com --user_name=focus --user_password=YOURSECRET3
174
+```
175
+
140
 ## Deploy Jitsi Meet
176
 ## Deploy Jitsi Meet
141
 Checkout and configure Jitsi Meet:
177
 Checkout and configure Jitsi Meet:
142
 ```sh
178
 ```sh
192
 ```
228
 ```
193
 realm           jitsi.example.com
229
 realm           jitsi.example.com
194
 # share this with your prosody server
230
 # share this with your prosody server
195
-auth_shared     YOURSECRET2
231
+auth_shared     YOURSECRET4
196
 
232
 
197
 # modules
233
 # modules
198
 module_path     /usr/lib/restund/modules
234
 module_path     /usr/lib/restund/modules
201
 
237
 
202
 Configure prosody to use it in `/etc/prosody/prosody.cfg.lua`.  Add to your virtual host:
238
 Configure prosody to use it in `/etc/prosody/prosody.cfg.lua`.  Add to your virtual host:
203
 ```
239
 ```
204
-turncredentials_secret = "YOURSECRET2";
240
+turncredentials_secret = "YOURSECRET4";
205
 turncredentials = {
241
 turncredentials = {
206
     { type = "turn", host = "turn.address.ip.configured", port = 3478, transport = "tcp" }
242
     { type = "turn", host = "turn.address.ip.configured", port = 3478, transport = "tcp" }
207
 }
243
 }

Loading…
Peruuta
Tallenna