Deploy bigbluebutton in Windows

Source: Internet
Author: User
Tags imagemagick bigbluebutton

Tag: bigbluebutton, video conferencing, whiteboard, shareshare, red5

1. deploy bigbluebutton, video, shareshare, sip and other applications in red5, where bigbluebutton is required and uses red5 Demo: echo_test to test its availability. bigbluebutton connects to Asterisk or freeswitch during startup, if you need to configure VoIP, configure the corresponding XML file and import

Install the ant and gradle deployment tools in advance.

2. Download activemq and start (run Win32/wrapper.exe). No configuration is required.

Check whether TCP is listening on port 61616.

3. Download The nginx Windows version. The configuration is as follows: the main function of nginx in this system is to redirect to port 5080 or port 8080 Based on the URL.

 

# User nobody; worker_processes 1; # error_log logs/error. Log ; # Error_log logs/error. Log Notice; # error_log logs/error. Log Info; # PID logs/nginx. PID; events {worker_connections 1024;} HTTP {include mime. types; default_type application/octet-stream; # log_format main '$ remote_addr-$ remote_user [$ time_local]" $ Request "'#' $ Status $ body_bytes_sent" $ Http_referer "'#'" $ Http_user_agent "" $ Http_x_forwarded_for "'; # Access_log logs/access. Log Main; sendfile on; # tcp_nopush on; # keepalive_timeout 0; keepalive_timeout 65; # gzip on; server {Listen 80; SERVER_NAME localhost; # charset koi8-r; # access_log logs/host. Access.Log Main; # location/{# Root HTML; # index index.html index.htm; #} location ~ (/ Open /|/ Close /|/Idle/|/send/) {proxy_pass http: // 127.0.0.1: 8088; Proxy_redirect off; proxy_set_header X-forwarded-for $ timeout; limit 10 m; Limit 128 K; proxy_connect_timeout 90; Limit 90; Limit 90; proxy_buffering off;} location/bigbluebutton {proxy_pass http: // 127.0.0.1: 8080; Proxy_redirectDefault ; Proxy_set_header X-forwarded-for $ timeout; limit 10 m; Limit 128 K; proxy_connect_timeout 90; proxy_send_timeout 90; proxy_read_timeout 90; limit 4 K; proxy_buffers 4 32 K; Limit 64 K; proxy_temp_file_write_size 64 K; Include fastcgi_params;} location/{root M:/bigbluebutton/nginx-1.0.5/nginx-1.0.5/html/bigbluebutton- Default ; Index index.html index.htm;} location/client {root M:/bigbluebutton/nginx-1.0.5/nginx-1.0.5/html/bigbluebutton; index index.html index.htm;} location/shareshare {proxy_pass http:// 127.0.0.1: 5080; Proxy_redirect Default ; Proxy_set_header X-forwarded-for $ timeout; limit 10 m; Limit 128 K; proxy_connect_timeout 90; proxy_send_timeout 90; proxy_read_timeout 90; limit 4 K; proxy_buffers 4 32 K; Limit 64 K; proxy_temp_file_write_size 64 K; Include fastcgi_params;} # error_page 404/404 .html; # redirect server error pages to Static Page/50x.html # error_page 500 502 503 504/50 x.html; location =/50x.html {root HTML;} # proxy the PHP scripts to Apache listening on 127.0.0.1: 80 # location ~ \. Php $ {# proxy_pass http: // 127.0.0.1; #}# Pass the PHP scripts to FastCGI server listening on 127.0.0.1: 9000 ## location ~ \. PHP $ {# Root HTML; # fastcgi_pass 127.0.0.1: 9000; # fastcgi_index index. PHP; # fastcgi_param script_filename/scripts $ fastcgi_script_name; # include fastcgi_params; #}# deny access. htaccess files, If Apache's document root # concurs with nginx's one # location ~ /\. HT {# deny all ;#}# another virtual host using mix of IP-, name-, and port-based configuration # server {# listen 8000; # Listen somename: 8080; # SERVER_NAME somename alias another. alias; # location/{# Root HTML; # index index.html index.htm; #}#}# https server # server {# Listen 443; # SERVER_NAME localhost; # SSL on; # ssl_certificate cert. PEM; # ssl_certificate_key cert. key ;# Ssl_session_timeout 5 m; # ssl_protocols SSLv2 SSLv3 tlsv1; # ssl_ciphers high :! Anull :! MD5; # ssl_prefer_server_ciphers on; # location/{# Root HTML; # index index.html index.htm ;#}#}}

Nginx has two directories:

1)bigbluebutton(download www-bigbluebutton.tar.gz)

--- Client (folder)

------

---Index.html

In the conf file, you must configure the config. xml file and change the IP address to the server IP address (note that it cannot be changed to 127.0.0.1)

2)bigbluebutton-default(download www-bigbluebutton-default.tar.gz)

4.0 install MySQL and create a database bigbluebutton_dev

4.1 install bigbluebutton-web in the Tomcat directory,

Rename bigbluebutton

Change the IP address in demo/bbb_api_conf.jsp to the server IP address (note that it cannot be changed to 127.0.0.1)

After nginx: localhost: 80 is connected, enter the user name to go To the Tomcat: localhost: 8080/bigbluebutton/demo/demo3.jsp page, and then jump to nginx: IP: 80/client /..... SWF

Configure the web-INF/class/bigbluebutton. properties file. Note that no space exists in all paths. My configuration is as follows: (it is best to download pdftk.exe and put it in the swftools path)

#

# These are the default properites for bigbluebutton Web Application

Datasource. url = JDBC: mysql: // localhost/bigbluebutton_dev

Datasource. Username = root

Datasource. Password = jjjddd

Datasource. driverclassname = com. MySQL. JDBC. Driver

#----------------------------------------------------

# Directory where bigbluebutton stores uploaded slides

Presentationdir = I:/upload

#----------------------------------------------------

# Directory where swftools (ipv2swf, ipv2swf, png2swf) are located

Swftoolsdir = I:/swftools/

#----------------------------------------------------

# Directory where ImageMagick's convert executable is located

Imagemagickdir = I:/ImageMagick-6.7.1-Q16/

#----------------------------------------------------

# Use fullpath to ghostscript executable since the exec names are different

# For each platform.

Ghostscriptexec = E:/program files/GS/gs9.01/bin/gswin32c.exe

#----------------------------------------------------

# Fonts directory passed into ipv2swf to support highlighting of texts

# In the SWF slides.

Fontsdir = C:/Windows/Fonts

#----------------------------------------------------

# This is a workaround for a problem converting PDF files, referenced

# Http://groups.google.com/group/comp.lang.postscript/browse_thread/thread/c2e264ca76534ce0? PLI = 1

Notesmarkworkaround =/etc/bigbluebutton/notesmark. Ps

#----------------------------------------------------

# These will be copied in cases where the conversion process

# Fails to generate a slide from the uploaded presentation

Blk_slide =/var/bigbluebutton/blank/blank-slide.swf

Blank_thumbnail =/var/bigbluebutton/blank/blank-thumb.png

#----------------------------------------------------

# Number of minutes the conversion shocould take. If it takes

# More than this time, cancel the conversion process.

Maxconversiontime = 5

#----------------------------------------------------

# Maximum number of pages allowed for an uploaded presentation (default 100 ).

Maxnumpages = 100

#----------------------------------------------------

# Default dial access number

Defaultdialaccessnumber = 613-555-1234

#----------------------------------------------------

# Default welcome message to display when the participant ant joins the Web

# Conference. This is only used for the old scheduling which will be

# Removed in the future. Use the API to create a conference.

Defaultwelcomemessage = <br> welcome to this bigbluebutton demo server. <br> for help using bigbluebutton <a href = "Event: http://www.bigbluebutton.org/content/videos"> <u> check out these videos </u> </a>. <br>

#----------------------------------------------------

# Inject values into grails service beans

Beans. presentationservice. presentationdir =$ {presentationdir}

Beans. dynamicconferenceservice. serviceenabled = true

Beans. dynamicconferenceservice. apiversion = 0.7

Beans. dynamicconferenceservice. minuteselapsedbeforemeetingexpiration = 60

Beans. dynamicconferenceservice. securitysalt = 8cb12ea1f9bd7c59c118d7ac76239899

Beans. dynamicconferenceservice. defaultwelcomemessage =$ {defaultwelcomemessage}

Beans. dynamicconferenceservice. defaultdialaccessnumber =$ {defadialaccessnumber}

#----------------------------------------------------

# This URL is where the BBB client is accessible. When a user sucessfully

# Enters a name and password, she is redirected here to load the client.

Bigbluebutton. Web. serverurl = http: // 118.229.139.43

#----------------------------------------------------

# Assign URL where the logged-out maid will be redirected after sign-out.

# If commented-out, it returns to bigbluebutton. Web. serverurl

# Bigbluebutton. Web. logouturl = http: // 118.229.139.43

#------------------------------------------------------

# Setting to enable the old scheduling mechanic. This is temporary

# As we will be moving to use the API later.

#

Beans. schedulingservice. schedulingserviceenabled = false

#------------------------------------------------------

# These properties are used to test the conversion process.

# Conference name folder in $ {presentationdir} (see abve)

Beans. presentationservice. testconferencemock = Conference-Mock-Default

Beans. dynamicconferenceservice. testconferencemock = Conference-Mock-Default

# Conference room folder in $ {presentationdir}/$ {testconferencemock}

Beans. presentationservice. testroommock = Conference-Mock-Default

# Uploaded presentation name

Beans. presentationservice. testpresentationname = appkonference

# Uploaded presentation file

Beans.presentationservice.testuploadedpresentation=appkonference.txt

# Test voicebridge number

Beans. dynamicconferenceservice. testvoicebridge = 99999

5. Install openoffices

Run after installation (OpenOffice.org 3.0 \ Program ):

 
Soffice.exe-Headless-nologo-norestore-accept = socket, host = localhost, Port = 8100; URP; StarOffice. servicemanager

Check whether port 8100 is Enabled:

 
Netstat-ANP TCP

 

 
TCP 127.0.0.1: 8100 0.0.0.0: 0 listening

6. Open tomcat, activemq, red5, and nginx. The bigbluebutton application of red5 depends on activemq, so activate activemq first.

 

 

Enter http: // localhost/in the browser/

Good luck!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.