· 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
It is better to wear out than to rust out.


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.0026 sec