· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Red5 Install/Big Blue Button

Red5Install/BigBlueButton


* http://code.google.com/p/bigbluebutton/wiki/InstallationBigBlueButtonDebian
  • aptitude install bbb-freeswitch-config bigbluebutton

Restarting nginx: [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to [::]:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to [::]:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to [::]:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to [::]:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to [::]:80 failed (98: Address already in use)
[emerg]: still could not bind()
nginx.

* flash player ¸¦ ¼³Ä¡ÇØ¾ß ÇÔ.
  • gnash ¿¡¼­´Â µ¿ÀÛÇÏÁö ¾ÊÀ½
  • flashplugin-nonfree ¸¦ ¼³Ä¡Çϸé gnash °¡ Áö¿öÁ®¾ß ÇÔ.
    • Á¦´ë·Î µÇÁö ¾Ê´Â °æ¿ì°¡ ÀÖÀ½.

bbb client


* http://127.0.0.1
  • index.html Àº /var/www/bigbluebutton-default ¿¡ ÀÖ´Â °ÍÀ» ¾²°í,
  • swf ´Â /var/www/bigbluebutton/client ¿¡ ÀÖ´Â °ÍÀ» »ç¿ëÇÑ´Ù?

* dev/source/bigbluebutton/bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers
  • ApiController.groovy
  def index = {^M
    log.debug CONTROLLER_NAME + "#index"^M
    response.addHeader("Cache-Control", "no-cache")^M
    withFormat {        ^M
      xml {^M
        render(contentType:"text/xml") {^M
          response() {^M
            returncode(RESP_CODE_SUCCESS)^M
            version(paramsProcessorUtil.getApiVersion())^M
          }^M
        }^M
      }^M
    }^M
  }^M

* /var/log/bigbluebutton/bbb-web.log
2011-08-23 16:47:15,586 DEBUG [grails.app.controller.org.bigbluebutton.web.controllers.ApiController] - ApiController#index

* /var/www/bigbluebutton
root@enk:/var/www/bigbluebutton# ls
client	index.html

  • /var/www/bigbluebutton/client
root@enk:/var/www/bigbluebutton/client# ls
AC_OETags.js		  VideoconfModule.swf
BigBlueButton.html	  ViewersModule.swf
BigBlueButton.swf	  WhiteboardModule.swf
BreakoutModule.swf	  bbb-deskshare-applet-0.71.jar
ChatModule.swf		  bbb.gif
DeskShareModule.swf	  conf
DeskshareStandalone.html  favicon.ico
DeskshareStandalone.swf   history
DynamicInfoModule.swf	  locale
ListenersModule.swf	  org
PhoneModule.swf		  playerProductInstall.swf
PresentModule.swf	  swfobject



log


* bbb-conf --clean bbb-conf --check bbb-conf --setip 127.0.0.1 http://127.0.0.1 join logout ok
  • /var/log/bigbluebutton/bbb-web.log
    • char ¼ö 5512, 5636, 11511, 11511, 15674, 16149, 16966
    • line ¼ö 36, 37, 76, 76, 100, 103, 108
  • /var/log/nginx/bigbluebutton.access.log
    • char ¼ö 224, 336, 448, 670, 5267, 5267, 5733
    • line ¼ö 2 , 3, 4, 5, 22, 22, 24
  • /var/log/tomcat6/catalina.2011-08-23.log
    • char ¼ö 965, 965, 7792, 7792, 7792, 7792, 7792
    • line ¼ö 16, 16, 68, 68, 68, 68, 68
  • /var/log/tomcat6/catalina.out
    • char ¼ö 6607, 6733, 19748, 19748, 24170, 24651, 25595
    • line ¼ö 54, 55, 151, 151, 184, 187, 196
  • /var/log/tomcat6/localhost.2011-08-23.log
    • char ¼ö 451, 451, 1257, 1257, 1257, 1257, 1257
    • line ¼ö 6, 6, 18, 18, 18, 18, 18

tomcat


* /var/lib/tomcat6
drwxr-xr-x 3 tomcat6 tomcat6 4096 2011-08-15 00:41 common
lrwxrwxrwx 1 root    root      12 2011-08-15 00:41 conf -> /etc/tomcat6
lrwxrwxrwx 1 root    root      17 2011-08-15 00:41 logs -> ../../log/tomcat6
drwxr-xr-x 3 tomcat6 tomcat6 4096 2011-08-15 00:41 server
drwxr-xr-x 3 tomcat6 tomcat6 4096 2011-08-15 00:41 shared
drwxrwxr-x 7 tomcat6 tomcat6 4096 2011-08-20 00:34 webapps
lrwxrwxrwx 1 root    root      19 2011-08-15 00:41 work -> ../../cache/tomcat6

* /etc/tomcats/server.xml

<Server port="8005" shutdown="SHUTDOWN">
  <Service name="Catalina">
    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               URIEncoding="UTF-8"
               redirectPort="8443" />
    <Engine name="Catalina" defaultHost="localhost">
      <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true"
            xmlValidation="false" xmlNamespaceAware="false">
      </Host>
    </Engine>
  </Service>
</Server>

* Server
  • A Server element represents the entire Catalina servlet container.
  • the single outermost element in the conf/server.xml

* Service
  • A Service element represents the combination of one or more Connector components
  • One or more Service elements may be nested inside a Server element.

* Connector
  • There are two different types of connectors.
    • allow browsers to connect directly to the Tomcat
    • allow browsers to connect to the Tomcat through a Web Server
  • org.apache.coyote.tomcat4.CoyoteConnector
  • org.apache.catalina.connector.http.HttpConnector

* Context
  • The Context element represents a web application
    • run within a particular virtual host.
    • based on a Web Application Archive (WAR) file
    • based on a corresponding directory containing the corresponding unpacked contents
The web application used to process each HTTP request is selected by Catalina based on matching the longest possible prefix of the Request URI against the context path of each defined Context. Once selected, that Context will select an appropriate servlet to process the incoming request, according to the servlet mappings defined in the web application deployment descriptor file (which MUST be located at /WEB-INF/web.xml within the web app's directory hierarchy).
  • nested within a Host element in conf/server.xml
  • individual files (with a ".xml" extension) in the appBase directory for a Host.
    • Host name="localhost" appBase="webapps"
* Engine
The Engine element represents the entire request processing machinery associated with a particular Catalina Service. It receives and processes all requests from one or more Connectors, and returns the completed response to the Connector for ultimate transmission back to the client.

Exactly one Engine element MUST be nested inside a Service element, following all of the corresponding Connector elements associated with this Service.

* Host
The Host element represents a virtual host, which is an association of a network name for a server (such as "www.mycompany.com" with the particular server on which Catalina is running. In order to be effective, this name must be registered in the Domain Name Service (DNS) server that manages the Internet domain you belong to - contact your Network Administrator for more information.

One or more Host elements are nested inside an Engine element. Inside the Host element, you can nest Context elements for the web applications associated with this virtual host. Exactly one of the Hosts associated with each Engine MUST have a name matching the defaultHost attribute of that Engine.

* ¾îµð¿¡¼­ appBase ÀÎ webapps °¡ /var/lib/tomcat6/webapps ÀÎ °ÍÀ» Á¤ÇØÁִ°¡?



ID
Password
Join
Like winter snow on summer lawn, time past is time gone.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2011-08-28 20:35:32
Processing time 0.0056 sec