|
@@ -1,6 +1,6 @@
|
1
|
1
|
# Server Installation for Jitsi Meet
|
2
|
2
|
|
3
|
|
-This describes configuring a server `jitmeet.example.com`. You will need to
|
|
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
|
5
|
`YOURSECRET1` and `YOURSECRET2`.
|
6
|
6
|
|
|
@@ -34,23 +34,23 @@ default_archive_policy = "roster"
|
34
|
34
|
```
|
35
|
35
|
- configure your domain by editing the example.com virtual host section section:
|
36
|
36
|
```
|
37
|
|
-VirtualHost "jitmeet.example.com"
|
|
37
|
+VirtualHost "jitsi.example.com"
|
38
|
38
|
authentication = "anonymous"
|
39
|
39
|
ssl = {
|
40
|
|
- key = "/var/lib/prosody/jitmeet.example.com.key";
|
41
|
|
- certificate = "/var/lib/prosody/jitmeet.example.com.crt";
|
|
40
|
+ key = "/var/lib/prosody/jitsi.example.com.key";
|
|
41
|
+ certificate = "/var/lib/prosody/jitsi.example.com.crt";
|
42
|
42
|
}
|
43
|
43
|
```
|
44
|
44
|
- and finally configure components:
|
45
|
45
|
```
|
46
|
|
-Component "conference.jitmeet.example.com" "muc"
|
47
|
|
-Component "jitsi-videobridge.jitmeet.example.com"
|
|
46
|
+Component "conference.jitsi.example.com" "muc"
|
|
47
|
+Component "jitsi-videobridge.jitsi.example.com"
|
48
|
48
|
component_secret = "YOURSECRET1"
|
49
|
49
|
```
|
50
|
50
|
|
51
|
51
|
Generate certs for the domain:
|
52
|
52
|
```sh
|
53
|
|
-prosodyctl cert generate jitmeet.example.com
|
|
53
|
+prosodyctl cert generate jitsi.example.com
|
54
|
54
|
```
|
55
|
55
|
|
56
|
56
|
Restart prosody XMPP server with the new config
|
|
@@ -70,13 +70,13 @@ types_hash_max_size 2048;
|
70
|
70
|
server_names_hash_bucket_size 64;
|
71
|
71
|
```
|
72
|
72
|
|
73
|
|
-Add a new file `jitmeet.example.com` in `/etc/nginx/sites-available` (see also the example config file):
|
|
73
|
+Add a new file `jitsi.example.com` in `/etc/nginx/sites-available` (see also the example config file):
|
74
|
74
|
```
|
75
|
75
|
server {
|
76
|
76
|
listen 80;
|
77
|
|
- server_name jitmeet.example.com;
|
|
77
|
+ server_name jitsi.example.com;
|
78
|
78
|
# set the root
|
79
|
|
- root /srv/jitmeet.example.com;
|
|
79
|
+ root /srv/jitsi.example.com;
|
80
|
80
|
index index.html;
|
81
|
81
|
location ~ ^/([a-zA-Z0-9]+)$ {
|
82
|
82
|
rewrite ^/(.*)$ / break;
|
|
@@ -102,7 +102,7 @@ server {
|
102
|
102
|
Add link for the added configuration
|
103
|
103
|
```sh
|
104
|
104
|
cd /etc/nginx/sites-enabled
|
105
|
|
-ln -s ../sites-available/jitmeet.example.com jitmeet.example.com
|
|
105
|
+ln -s ../sites-available/jitsi.example.com jitsi.example.com
|
106
|
106
|
```
|
107
|
107
|
|
108
|
108
|
## Fix firewall if needed
|
|
@@ -111,7 +111,7 @@ ufw allow 80
|
111
|
111
|
ufw allow 5222
|
112
|
112
|
```
|
113
|
113
|
|
114
|
|
-## Install videobridge
|
|
114
|
+## Install Jitsi Videobridge
|
115
|
115
|
```sh
|
116
|
116
|
wget https://download.jitsi.org/jitsi-videobridge/linux/jitsi-videobridge-linux-{arch-buildnum}.zip
|
117
|
117
|
unzip jitsi-videobridge-linux-{arch-buildnum}.zip
|
|
@@ -122,37 +122,38 @@ Install JRE if missing:
|
122
|
122
|
apt-get install default-jre
|
123
|
123
|
```
|
124
|
124
|
|
125
|
|
-In the user home that will be starting the jitsi video bridge create `.sip-communicator` folder and add the file `sip-communicator.properties` with one line in it:
|
|
125
|
+In the user home that will be starting Jitsi Videobridge create `.sip-communicator` folder and add the file `sip-communicator.properties` with one line in it:
|
126
|
126
|
```
|
127
|
127
|
org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false
|
128
|
128
|
```
|
129
|
129
|
|
130
|
130
|
Start the videobrdige with:
|
131
|
131
|
```sh
|
132
|
|
-./jvb.sh --host=localhost --domain=jitmeet.example.com --port=5347 --secret=YOURSECRET1 &
|
|
132
|
+./jvb.sh --host=localhost --domain=jitsi.example.com --port=5347 --secret=YOURSECRET1 &
|
133
|
133
|
```
|
134
|
134
|
Or autostart it by adding the line in `/etc/rc.local`:
|
135
|
135
|
```sh
|
136
|
|
-/bin/bash /root/jitsi-videobridge-linux-{arch-buildnum}/jvb.sh --host=localhost --domain=jitmeet.example.com --port=5347 --secret=YOURSECRET1 </dev/null >> /var/log/jvb.log 2>&1
|
|
136
|
+/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
|
137
|
137
|
```
|
138
|
138
|
|
139
|
|
-Checkout and configure jitmeet:
|
|
139
|
+## Deploy Jitsi Meet
|
|
140
|
+Checkout and configure Jitsi Meet:
|
140
|
141
|
```sh
|
141
|
142
|
cd /srv
|
142
|
143
|
git clone https://github.com/jitsi/jitsi-meet.git
|
143
|
|
-mv jitsi-meet/ jitmeet.example.com
|
|
144
|
+mv jitsi-meet/ jitsi.example.com
|
144
|
145
|
```
|
145
|
146
|
|
146
|
|
-Edit host names in `/srv/jitmeet.example.com/config.js` (see also the example config file):
|
|
147
|
+Edit host names in `/srv/jitsi.example.com/config.js` (see also the example config file):
|
147
|
148
|
```
|
148
|
149
|
var config = {
|
149
|
150
|
hosts: {
|
150
|
|
- domain: 'jitmeet.example.com',
|
151
|
|
- muc: 'conference.jitmeet.example.com',
|
152
|
|
- bridge: 'jitsi-videobridge.jitmeet.example.com'
|
|
151
|
+ domain: 'jitsi.example.com',
|
|
152
|
+ muc: 'conference.jitsi.example.com',
|
|
153
|
+ bridge: 'jitsi-videobridge.jitsi.example.com'
|
153
|
154
|
},
|
154
|
155
|
useNicks: false,
|
155
|
|
- bosh: '//jitmeet.example.com/http-bind' // FIXME: use xep-0156 for that
|
|
156
|
+ bosh: '//jitsi.example.com/http-bind' // FIXME: use xep-0156 for that
|
156
|
157
|
desktopSharing: 'false', // Desktop sharing method. Can be set to 'ext', 'webrtc' or false to disable.
|
157
|
158
|
//chromeExtensionId: 'diibjkoicjeejcmhdnailmkgecihlobk', // Id of desktop streamer Chrome extension
|
158
|
159
|
//minChromeExtVersion: '0.1' // Required version of Chrome extension
|
|
@@ -188,7 +189,7 @@ wget https://raw.github.com/andyet/otalk-server/master/restund/restund.conf
|
188
|
189
|
|
189
|
190
|
Configure addresses and ports as desired, and the password to be configured in prosody:
|
190
|
191
|
```
|
191
|
|
-realm jitmeet.example.com
|
|
192
|
+realm jitsi.example.com
|
192
|
193
|
# share this with your prosody server
|
193
|
194
|
auth_shared YOURSECRET2
|
194
|
195
|
|
|
@@ -211,7 +212,7 @@ Reload prosody if needed
|
211
|
212
|
```
|
212
|
213
|
prosodyctl reload
|
213
|
214
|
telnet localhost 5582
|
214
|
|
-module:reload("turncredentials", "jitmeet.example.com")
|
|
215
|
+module:reload("turncredentials", "jitsi.example.com")
|
215
|
216
|
quit
|
216
|
217
|
```
|
217
|
218
|
|
|
@@ -228,3 +229,6 @@ org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false
|
228
|
229
|
org.jitsi.videobridge.NAT_HARVESTER_LOCAL_ADDRESS=<Local.IP.Address>
|
229
|
230
|
org.jitsi.videobridge.NAT_HARVESTER_PUBLIC_ADDRESS=<Public.IP.Address>
|
230
|
231
|
```
|
|
232
|
+
|
|
233
|
+# Hold your first conference
|
|
234
|
+You are now all set and ready to have your first meet by going to http://jitsi.example.com
|