Преглед изворни кода

Update manual-install.md

Adds jicofo install instructions.
j8
Paweł Domas пре 10 година
родитељ
комит
91358476a1
1 измењених фајлова са 44 додато и 8 уклоњено
  1. 44
    8
      doc/manual-install.md

+ 44
- 8
doc/manual-install.md Прегледај датотеку

@@ -2,7 +2,7 @@
2 2
 
3 3
 This describes configuring a server `jitsi.example.com`.  You will need to
4 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 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,17 +36,32 @@ default_archive_policy = "roster"
36 36
 - configure your domain by editing the example.com virtual host section section:
37 37
 ```
38 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 58
 - and finally configure components:
46 59
 ```
47 60
 Component "conference.jitsi.example.com" "muc"
48 61
 Component "jitsi-videobridge.jitsi.example.com"
49 62
     component_secret = "YOURSECRET1"
63
+Component "focus.jitsi.example.com"
64
+    component_secret = "YOURSECRET2"
50 65
 ```
51 66
 
52 67
 Generate certs for the domain:
@@ -54,6 +69,11 @@ Generate certs for the domain:
54 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 77
 Restart prosody XMPP server with the new config
58 78
 ```sh
59 79
 prosodyctl restart
@@ -137,6 +157,22 @@ Or autostart it by adding the line in `/etc/rc.local`:
137 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 176
 ## Deploy Jitsi Meet
141 177
 Checkout and configure Jitsi Meet:
142 178
 ```sh
@@ -192,7 +228,7 @@ Configure addresses and ports as desired, and the password to be configured in p
192 228
 ```
193 229
 realm           jitsi.example.com
194 230
 # share this with your prosody server
195
-auth_shared     YOURSECRET2
231
+auth_shared     YOURSECRET4
196 232
 
197 233
 # modules
198 234
 module_path     /usr/lib/restund/modules
@@ -201,7 +237,7 @@ turn_relay_addr [turn ip address]
201 237
 
202 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 241
 turncredentials = {
206 242
     { type = "turn", host = "turn.address.ip.configured", port = 3478, transport = "tcp" }
207 243
 }

Loading…
Откажи
Сачувај