bbb:big:blue_button
                Différences
Ci-dessous, les différences entre deux révisions de la page.
| bbb:big:blue_button [2018/09/07 09:51] – créée ronan | bbb:big:blue_button [2018/09/10 07:27] (Version actuelle) – supprimée ronan | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Installation of Big Blue Button 2.0 on Ubuntu server 16.04 ====== | ||
| - | |||
| - | ===== Network ===== | ||
| - | |||
| - |   # vim / | ||
| - | |||
| - | auto lo | ||
| - | iface lo inet loopback | ||
| - |    | ||
| - | auto ens18 | ||
| - | iface ens18 inet static | ||
| - | address 195.154.50.30 | ||
| - | netmask 255.255.255.255 | ||
| - | post-up ip route add 192.168.60.254 dev ens18 | ||
| - | post-up ip route add 0.0.0.0/0 via 192.168.60.254 | ||
| - | pre-down ip route del 0.0.0.0/0 via 192.168.60.254 | ||
| - | pre-down ip route del 192.168.60.254 dev ens18 | ||
| - | |||
| - |   # vim / | ||
| - | |||
| - | nameserver 9.9.9.9 # or another DNS | ||
| - |   search < | ||
| - | |||
| - | # vim /etc/hosts | ||
| - | |||
| - |   < | ||
| - | |||
| - | # reboot | ||
| - | |||
| - | ===== Installation ===== | ||
| - | |||
| - | ==== Prerequisites ==== | ||
| - | |||
| - | **If KVM** : # apt install qemu-guest-agent | ||
| - | |||
| - | # apt update | ||
| - | # apt upgrade | ||
| - | # locale-gen en_US.UTF-8 | ||
| - | # apt install haveged | ||
| - | |||
| - | ==== Installation automatique ==== | ||
| - | |||
| - |   # wget https:// | ||
| - |   # chmod +x ./ | ||
| - |   # ./ | ||
| - |   # bbb-conf --setip < | ||
| - | |||
| - | === Configuration SSL === | ||
| - | |||
| - | == Nginx == | ||
| - | |||
| - |   # mkdir / | ||
| - |   # cp private-key.key / | ||
| - |   # chmod 0600 / | ||
| - |   # cp certificate.crt / | ||
| - |   # openssl dhparam -out / | ||
| - | |||
| - |   # vim / | ||
| - | |||
| - | Add after " | ||
| - | |||
| - |   listen 443 ssl;   | ||
| - | listen [::]:443 ssl; | ||
| - |    | ||
| - |   ssl_certificate / | ||
| - |   ssl_certificate_key / | ||
| - |   ssl_session_cache shared: | ||
| - |   ssl_session_timeout 10m;   | ||
| - |   ssl_protocols TLSv1 TLSv1.1 TLSv1.2;   | ||
| - |   ssl_ciphers " | ||
| - |    | ||
| - |   ssl_prefer_server_ciphers on;   | ||
| - |   ssl_dhparam / | ||
| - | |||
| - | == FreeSWITCH == | ||
| - | |||
| - |   # vim / | ||
| - | |||
| - | Change " | ||
| - | |||
| - |   # vim / | ||
| - | |||
| - |   proxy_pass https://< | ||
| - | |||
| - | == Load HTTPS connection default == | ||
| - | |||
| - |   # vim / | ||
| - | |||
| - |   bigbluebutton.web.serverURL=https://< | ||
| - | |||
| - |   # vim / | ||
| - | |||
| - |   jnlpUrl=https://< | ||
| - |   jnlpFile=https://< | ||
| - | |||
| - |   # sed -e ' | ||
| - |   # vim / | ||
| - | |||
| - |   playback_protocol: | ||
| - | |||
| - |   # vim / | ||
| - | |||
| - |   String BigBlueButtonURL = " | ||
| - | |||
| - | # bbb-conf --restart | ||
| - | |||
| - | ===== HTML5 client installation ===== | ||
| - | |||
| - | ==== MongoDB and NodeJS ==== | ||
| - | |||
| - |   # apt-key adv --keyserver hkp:// | ||
| - |   # echo "deb [ arch=amd64, | ||
| - | # apt update | ||
| - | # apt install install -y mongodb-org curl | ||
| - |   # curl -sL https:// | ||
| - | # apt install -y nodejs | ||
| - | |||
| - | ==== HTML5 client ==== | ||
| - | |||
| - | # apt install bbb-html5 | ||
| - | |||
| - | To load HTML5 client by default, edit /// | ||
| - | |||
| - |   # Force all attendees to join the meeting using the HTML5 client   | ||
| - |   attendeesJoinViaHTML5Client=true   | ||
| - | |||
| - |   # Force all moderators to join the meeting using the HTML5 client   | ||
| - | moderatorsJoinViaHTML5Client=true | ||
| - | |||
| - | # bbb-conf --restart | ||
| - | |||
| - | If the service " | ||
| - | |||
| - | # systemctl unmask kurento-media-server | ||
| - | # systemctl enable kurento-media-server | ||
| - | # systemctl start kurento-media-server | ||
| - | |||
| - | ===== Greenlight frontend ===== | ||
| - | |||
| - | ==== Docker ==== | ||
| - | |||
| - | # apt install apt-transport-https ca-certificates curl software-properties-common | ||
| - |   # curl -fsSL https:// | ||
| - |   # add-apt-repository "deb [arch=amd64] https:// | ||
| - | # apt update | ||
| - | # apt install docker-ce | ||
| - | |||
| - | ==== Greenlight ==== | ||
| - | |||
| - |   # mkdir ~/ | ||
| - |   # docker run --rm bigbluebutton/ | ||
| - |   # docker run --rm bigbluebutton/ | ||
| - | |||
| - | Write the secret on the " | ||
| - | |||
| - | # bbb-conf --secret | ||
| - | |||
| - | Write the URL and the secret in "// | ||
| - | |||
| - | Check configuration : | ||
| - | |||
| - |   # docker run --rm --env-file env bigbluebutton/ | ||
| - | |||
| - | === Nginx === | ||
| - | |||
| - |   # docker run --rm bigbluebutton/ | ||
| - | # systemctl restart nginx | ||
| - | |||
| - | To make Greenlight the HTTP home page of BBB, add this on bottom of /// | ||
| - | |||
| - | location = / { | ||
| - | return 307 /b; | ||
| - | } | ||
| - | |||
| - | Same, but for HTTPS : | ||
| - | |||
| - | location = / { | ||
| - |           return 301 https:// | ||
| - | } | ||
| - | |||
| - | Rebot : | ||
| - | |||
| - | # systemctl restart nginx | ||
| - | |||
| - | ==== Starting Greenlight ==== | ||
| - | |||
| - | 	# sudo curl -L https:// | ||
| - | 	# chmod +x / | ||
| - | 	# cd ~/ | ||
| - | 	# docker run --rm bigbluebutton/ | ||
| - | # docker-compose up -d | ||
| - | |||
| - | ==== Stopping Greenlight ==== | ||
| - | |||
| - | # docker-compose down | ||
| - | |||
| - | ===== Error 1002 for WebRTC ===== | ||
| - | |||
| - | [[http:// | ||
| - | |||
| - | Edit /// | ||
| - | |||
| - | Remove | ||
| - | |||
| - |   < | ||
| - | |||
| - | Change | ||
| - | |||
| - |   < | ||
| - | |||
| - | by | ||
| - | |||
| - |   < | ||
| - | |||
| - | Change | ||
| - | |||
| - |   < | ||
| - | |||
| - | by | ||
| - | |||
| - |   < | ||
| - | |||
| - | Change | ||
| - | |||
| - |   < | ||
| - | |||
| - | by | ||
| - | |||
| - |   < | ||
| - | |||
| - | Edit /// | ||
| - | |||
| - | Change | ||
| - | |||
| - | 	<param name=" | ||
| - | 	<param name=" | ||
| - | 	<param name=" | ||
| - | 	<param name=" | ||
| - | |||
| - | by | ||
| - | |||
| - | 	<param name=" | ||
| - | 	<param name=" | ||
| - | 	<param name=" | ||
| - | 	<param name=" | ||
| - | |||
| - | Edit /// | ||
| - | |||
| - | 	bbb.sip.app.ip=< | ||
| - | bbb.sip.app.port=5070 | ||
| - | |||
| - | 	freeswitch.ip=< | ||
| - | freeswitch.port=5060 | ||
| - | |||
| - | Edit /// | ||
| - | |||
| - | location /ws { | ||
| - |         	proxy_pass https://< | ||
| - | proxy_http_version 1.1; | ||
| - | 	        proxy_set_header Upgrade $http_upgrade; | ||
| - | 	        proxy_set_header Connection " | ||
| - | proxy_read_timeout 6h; | ||
| - | proxy_send_timeout 6h; | ||
| - | client_body_timeout 6h; | ||
| - | send_timeout 6h; | ||
| - | } | ||
| - | |||
| - | # bbb-conf --restart | ||
| - | |||
| - | ===== Links ===== | ||
| - | |||
| - | [[http:// | ||
| - | [[http:// | ||
| - | |||
| - | ===== Nginx configuration file ===== | ||
| - | |||
| - | server { | ||
| - | listen 443 ssl; | ||
| - | listen [::]:443 ssl; | ||
| - |     listen  | ||
| - | listen [::]:80; | ||
| - |    | ||
| - |     server_name < | ||
| - |    | ||
| - |     ssl_certificate / | ||
| - |     ssl_certificate_key / | ||
| - |     ssl_session_cache shared: | ||
| - | ssl_session_timeout 10m; | ||
| - | ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | ||
| - |     ssl_ciphers " | ||
| - | ssl_prefer_server_ciphers on; | ||
| - |     ssl_dhparam / | ||
| - |    | ||
| - |     access_log  | ||
| - |    | ||
| - |     # Handle RTMPT (RTMP Tunneling).  | ||
| - | # to Red5 on port 5080 | ||
| - |     location ~ (/ | ||
| - |     proxy_pass  | ||
| - |     proxy_redirect  | ||
| - |     proxy_set_header  | ||
| - |    | ||
| - |     client_max_body_size  | ||
| - |     client_body_buffer_size  | ||
| - |    | ||
| - |     proxy_connect_timeout  | ||
| - |     proxy_send_timeout  | ||
| - |     proxy_read_timeout  | ||
| - |    | ||
| - |     proxy_buffering  | ||
| - |     keepalive_requests  | ||
| - | } | ||
| - |    | ||
| - |      # Handle desktop sharing tunneling.  | ||
| - | # requests to Red5 on port 5080. | ||
| - |     | ||
| - |       | ||
| - |       | ||
| - |       | ||
| - |       | ||
| - |       | ||
| - |       | ||
| - |       | ||
| - |       | ||
| - |       | ||
| - |       | ||
| - |       | ||
| - |       | ||
| - |       | ||
| - | } | ||
| - |    | ||
| - | # BigBlueButton landing page. | ||
| - | location / { | ||
| - |       root   / | ||
| - | index index.html index.htm; | ||
| - | expires 1m; | ||
| - | } | ||
| - |    | ||
| - | # Include specific rules for record and playback | ||
| - |     include / | ||
| - |    | ||
| - |     # | ||
| - |    | ||
| - | # Redirect server error pages to the static page /50x.html | ||
| - | # | ||
| - |     error_page  | ||
| - | location = /50x.html { | ||
| - |       root   / | ||
| - | } | ||
| - | } | ||
bbb/big/blue_button.1536313912.txt.gz · Dernière modification : 2018/09/07 09:51 de ronan